From owner-freebsd-questions Tue May 21 8:19:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from underfoot.windborne.net (blackfoot.windborne.net [65.174.117.130]) by hub.freebsd.org (Postfix) with ESMTP id 4EA9337B40E for ; Tue, 21 May 2002 08:19:42 -0700 (PDT) Received: from jane.inside (jane.inside [192.168.11.20]) by underfoot.windborne.net (Postfix) with ESMTP id A457513216 for ; Tue, 21 May 2002 11:19:40 -0400 (EDT) Subject: /usr/bin/gcc and ports/gcc From: Branson Matheson To: freebsd-questions@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.1 Date: 21 May 2002 12:19:40 -0300 Message-Id: <1021994380.32991.51.camel@jane.inside> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 = ) !~ /Company Opinion/; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message