Date: 21 May 2002 12:19:40 -0300 From: Branson Matheson <branson@windborne.net> To: freebsd-questions@freebsd.org Subject: /usr/bin/gcc and ports/gcc Message-ID: <1021994380.32991.51.camel@jane.inside>
next in thread | raw e-mail | index | archive | help
The GCC included with the ports collection appears to be broken with
respect to pthreads. gcc ... -pthread gives an error.
gcc -g -o fwb_iptables iptables.o policy.o nat.o -L
../compiler-framework -lfwcompiler -L/usr/local/lib -lxml2 -lz
-L/usr/local/lib -liconv -lm -L/usr/local/lib -L/usr/local/lib
-lgthread12 -lglib12 -pthread
gcc: unrecognized option `-pthread'
if I put /usr/bin in the path first.. so the system gcc is used.. it
compiles fine.
Am i missing somehting .. or is the port broken?
--
- branson
-------------------------------------------------------------------------------
Branson Matheson " If you are falling off of a mountain,
Systems Consultant You may as well try to fly."
Windborne, Inc. - Delenn, Minbari Ambassador
( $statements = <BRANSON> ) !~ /Company Opinion/;
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1021994380.32991.51.camel>
