* Problem with gcc and ld
@ 2002-01-03 2:39 Ramiro
0 siblings, 0 replies; only message in thread
From: Ramiro @ 2002-01-03 2:39 UTC (permalink / raw)
To: help-gcc
[-- Attachment #1.1: Type: text/plain, Size: 837 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 1976 bytes --]
[-- Attachment #2: Ramiro Polo.vcf --]
[-- Type: text/x-vcard, Size: 125 bytes --]
BEGIN:VCARD
VERSION:2.1
N:Polo;Ramiro
FN:Ramiro Polo
EMAIL;PREF;INTERNET:rapocol@etsii.upv.es
REV:20020103T103800Z
END:VCARD
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-03 10:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-03 2:39 Problem with gcc and ld Ramiro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).