From owner-freebsd-questions Wed Nov 12 23:15:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA23643 for questions-outgoing; Wed, 12 Nov 1997 23:15:21 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from zippy.dyn.ml.org (libya-238.ppp.hooked.net [206.169.227.238]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA23633 for ; Wed, 12 Nov 1997 23:15:18 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.8.7/8.8.7) with SMTP id XAA09906 for ; Wed, 12 Nov 1997 23:16:05 -0800 (PST) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Wed, 12 Nov 1997 23:16:05 -0800 (PST) From: Alex X-Sender: garbanzo@zippy.dyn.ml.org To: questions@freebsd.org Subject: pgcc as a cross compiler... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi. I got a hold of the pgcc port, and ran make;make install on it, however I'm at a loss as to how to call it from gcc. The info and manpages for gcc claim that one can call different versions of gcc using the -btargettype and -Vversion command line switches. However running gcc -bpentium-unknown-freebsd -V2.7.2p -mpentium -o test test.c bombs out, adding the -v switch shows that gcc isn't calling the pgcc. Is the gcc that comes with FreeBSD setup to support this kind of setup, or am I doing something horribly wrong? - alex