This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Problem with gcc and ld


Hi, 
I'm using a EVB7045F and the GNU gcc compiler. 

I have some problems with gcc and ld.
The first problem is that when I try to link a file that contain float numbers with ld then appears the next error message: 

"C:\WINDOWS\Escritorio\P4>ld -lm -lc vects.o start2.o hwinit.o convad.o -Tmio2.lnk
convad.o(.text+0xac):convad.c: undefined reference to `___ashiftrt_r4_6'
convad.o(.text+0xb4):convad.c: undefined reference to `___floatsisf'
convad.o(.text+0xc0):convad.c: undefined reference to `___mulsf3'

If I link directly with gcc this problem disappears.
But if I use gcc for link, then appears the second problem.
When I make a ouput file in motorola srec format (.mot), gcc produce a invalid file.mot.
When I try to open file.mot with Flash Development Toolkit, then the program hang up. 
 

BEGIN:VCARD
VERSION:2.1
N:Polo;Ramiro
FN:Ramiro Polo
EMAIL;PREF;INTERNET:rapocol@etsii.upv.es
REV:20020103T103800Z
END:VCARD

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