How to solve this problem with GNU compiler?

Status
Not open for further replies.

ltg

Member level 4
Joined
Feb 24, 2002
Messages
76
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
533
Hi,

I got a Nios development kit from Altera a couple days ago. I tried to compile a tutorial in User's Guide for Altera Nios (GNUPro Toolkit):
nios-elf-gcc -Tsim.ld -g hello.c -o hello.exe

then I got following massage:
/cygdrive/c/altera/excalibur/sopc_builder/bin/nios-gnupro/bin/../lib/gcc-lib/nios-elf/2.9-nios-010801-20030313/../../../../nios-elf/bin/ld: cannot open linker script file sim.ld: No such file or directory
collect2: ld returned 1 exit status

Can any of you please tell me how to solve this problem? Thanks a lot!
Best Regards,
ltg
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…