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] |
Nivrutti wrote: > I have build a tool for SH-hms series. > But, after compiling it gives error. > fake: undefined reference to '_set_fpscr' > Collect2: ld returned 1 exit status. > then compilation is terminated. Your 'libgcc.a's for sh3e and sh4 should provide this routine. It has been a part of the GCC-helper library for SH for some time. Please tell your GCC-version. Upgrading it gives the necessary routine in the libgcc.a's or you can try to upgrade only the 'gcc/config/sh/lib1funcs.asm' which has the routine in newer incarnations. Also the 't-sh' there must be fixed by adding the routine name. For instance the egcs-1.1.2 (2.91.66 from 990314) didn't have it, while the ecos-1.2.1 GCC-sources (gcc-2.9-990319) had it and the 'crt0.S' for SH3e in newlib-1.8.1/1.8.2 needed it... If your host is Win32 or Solaris, Hitachi provides quite new (Oct - Nov 2000) prebuilt SH-tools via its: http://semiconductor.hitachi.com/repository/tools/Gnutool.html so you can perhaps avoid the recompiling... BTW, the 'sh-elf' tools can still produce COFF ('hms') with '-oformat', if that is an issue... Cheers, Kai ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |