Newbie problems with arm-elf-ld

Guest #1172030
Rate this post
useful
not useful
Hi, I'm a complete newcomer to the WinARM tools and would appreciate
some help getting my environment set up properly.  I'm trying to get
HelloWorld to compile and link but am having problems with the link step
(using WinARM 4.1.0 on XP sp2).  FYI, I'm a BREW developer and am
basically just following the steps of this BREW WinARM tutorial:
http://brew.wardco.com/.

This is my link step:

arm-elf-ld --no-warn-mismatch --emit-relocs -o helloworld.elf -L
"C:\WinARM\lib\gcc\arm-elf\4.1.0\" AEEAppGen.o AEEModGen.o helloworld.o

The error I get is:

arm-elf-ld: no input files.

If I eliminate the "-L" directive, it sees the input files just fine and
gives: "Helloworld.o: undefined reference to 'memcpy'" - as it should
with no library to link against.

My compilation command, btw, is:
arm-elf-gcc -c -DDDYNAMIC_APP  -mcpu=arm7tdmi -mapcs-frame
-mthumb-interwork -mlittle-endian -fshort-enums -fno-builtin
-fno-keep-inline-functions -I../../inc helloworld.c
../../src/AEEAppGen.c ../../src/AEEModGen.c

This is clearly a case of me not understanding something basic about the
process, but I'll be damned if I can figure out what it is.  I'd really
appreciate it if someone could point me in the right direction.  Thanks!

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now