This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem linking with static libraries for arm-elf


Apostol Terziev wrote:
> Here is what happens when I try to link to libsys.a:
> 
> arm-elf-gcc ./src/main.o -nostartfiles -nodefaultlibs -nostdlib -static
> -LC:\cygwin\home\Administrator\soft\arm-elf\lib
> -LC:\cygwin\home\Administrator\soft\arm-elf\lib -LC:\Program
> Files\ARMor\eclipse\gcc\lib\gcc\arm-elf\4.0.2 -Xlinker -Tlpc2100.ld
> -Xlinker -static -otest.elf
> lpc210x.ld:299: undefined symbol `endless_loop' referenced in expression

I don't see -lsys or libsys.a anywhere in your command line, is that
correct? :)


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]