I have nanoBSD

> uname -a
FreeBSD embeddedx86.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #1: Tue May
22 11:04:12 PDT 2012     root@P9X79.tddhome:/usr/obj/nanobsd.TS5700
/i386.i386/usr/src/sys/TS5700  i386


gcc 4.2.1 is installed, but, missing libgcc.a.  libcompiler_rt.a is present.

> gcc -I../../include -c lcd_dio.c
gcc -I../../include  -o lcd_dio lcd_dio.o
/usr/bin/ld: cannot find -lgcc
*** Error code 1

If I link libgcc.a to libcompiler_rt.a the build works.

How do I get either
 1. gcc to use libcompiler_rt.a
 -or-
 2. the nanoBSD build to create or link to libgcc.a

Tom Dean
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to