Hi, I think line 40 in the files AT917S64-ROM/RAM.ld should be .text : { *Cstartup.o (.text) }>FLASH =0 instead of .text : { *cstartup.o (.text) }>FLASH =0 Otherwise the object file CStartup.o has to appear first when invoking the linker. Rasmus
Rasmus Pedersen wrote: > Hi, > > I think line 40 in the files AT917S64-ROM/RAM.ld should be > .text : { *Cstartup.o (.text) }>FLASH =0 > instead of > .text : { *cstartup.o (.text) }>FLASH =0 > Otherwise the object file CStartup.o has to appear first when invoking > the linker. > Rasmus Since the Windows file system is not case sensitive I am struggling to see the difference - however if you were to use these scripts on Linux you would indeed have a problem.
Rasmus Pedersen wrote: > I think line 40 in the files AT917S64-ROM/RAM.ld should be > .text : { *Cstartup.o (.text) }>FLASH =0 > instead of > .text : { *cstartup.o (.text) }>FLASH =0 > Otherwise the object file CStartup.o has to appear first when invoking > the linker. > Rasmus Thanks for the report. As Clifford already mentioned the problem should only exist with an OS which handles filenames case-sensitive. But since the examples from my collection should be usable on all OSs which can host the GNU arm-elf toolchain I have modified the linker-scripts. The updated versions are available on http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/index_at91.html Martin Thomas
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.