This is the mail archive of the crossgcc@sources.redhat.com 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] |
HI Jan Thanks, it worked ! Is there a way that the linker can be setup take care of this implicitly? Also, can I build the ARM toolchain with newlib and uclibc? and choose to use either one? Ram >From: Vermeulen Jan <Jan.Vermeulen@siemens.atea.be> >To: 'Ramapriya Rangachar' <ramapriya1@hotmail.com>, >crossgcc@sources.redhat.com >Subject: RE: Building CrossGCC for ARM ... >Date: Fri, 22 Mar 2002 08:30:14 +0100 > >Hi, > > > > Error: > > -------------------------------------------------------------- > > -------------------- > > Administrator@VVISWANA-W2K /cygdrive/c/User/Ram/Code/gcctest > > $ arm-elf-gcc -v -g Hello.c -o Hello.exe > ><snip> > > >/cygdrive/c/DOCUME~1/rram/LOCALS~1/Temp/ccUX6iCB.o: In function > > `main': > >/cygdrive/c/User/Ram/Code/gcctest/Hello.c:14: undefined reference > > to `pow' > >collect2: ld returned 1 exit status > >Try this >$ arm-elf-gcc -v -g Hello.c -o Hello.exe -lm > >(if you use math functions, you need to link to the math library) > >Jan > >------ >Want more information? See the CrossGCC FAQ, >http://www.objsw.com/CrossGCC/ >Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com > _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |