trouble linking C library

Aaron J. Grier aaron@frye.com
Fri Apr 14 14:31:00 GMT 2000


On Fri, Apr 14, 2000 at 01:57:26PM -0700, Joseph Taylor wrote:

> As I now try to link in the C Standard Library (libc.a built from
> newlib), the linker reports numerous "undefined reference to
> <symbol>", where <symbol> is such names as
> 
> __truncxfdf2
[snip]
> ... and so on.

you also need to link in libgcc.a.

-- 
  Aaron J. Grier   |   Frye Electronics, Tigard, OR   |   aaron@frye.com
  "The simplistic anthropomorphism which asserts that source code has a
   life separate from its creator or maintainer is the product of one
   too many viewings of Tron."  -- paraphrasing of anonymous post on /.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list