Consider double foo (unsigned int a) { return a; }
int main (void) { return 0; } When I compile and link this like so m68k-elf-gcc -Wl,-T,sim.ld -o test test.c I get undefined reference to `__floatunsidf' Inspection of m5200/libgcc.a reveals that it does not contain __floatunsidf. -- Summary: [m68k] undefined reference to `__floatunsidf' Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: link-failure Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kazu at gcc dot gnu dot org GCC target triplet: m68k-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25138