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]

Re: newlib on powerpc-eabi with soft-float



>However, the linker now complains about a whole load of unresolved symbols:

I don't claim to be an expert(I don't even play one on TV :-).
The symbols missing are indeed functions to perform floating point
operations.  To find out more, there are two things you can do:

1) change your link line to add '-v' which will cause the compiler
   front end to dump the exact line that is passed to the linker
   (which should tell you where its looking for libgcc.a and libc.a)

2) change your link line to add '-Wl,-Map,test.map' to genereate a
   linker map file in test.map.  By looking through that, you'll find
   what symbols are causeing what files to be link in(look for the
   LOAD lines).

>This problem only occurs when I try to run gcc on my RS/6000 AIX box. When
>I run gcc (configured and compiled exactly the same) on a Windows/Cygwin
>machine, I don;t get any unresolved symbol problems at all.

I don't know.  the above two suggestions will give you more
information to figure it out.

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)

------
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]