Article View: gnu.gcc.help
Article #41620Re: problem cross-compiling GCC 2.7.2
From: Irene Barg
Date: Wed, 28 Feb 1996 00:00
Date: Wed, 28 Feb 1996 00:00
23 lines
1379 bytes
1379 bytes
Verloove,
>configure --build=mips-sgi-irix5.3 --target=powerpc-ibm-aix4.1.0.0 --host=powerpc-ibm-aix4.1.0.0
The "build" machine is the system which you are useing, the "host" machine
is the system where you want to run the resulting compiler (normally the
build machine), and the "target" machine is the system for which you want
the compiler to gnenerate code.
You should omit the "--host" option above.
>gcc: installation problem, cannot exec `cpp': No such file or directory
Try setting the following environment variable:
setenv GCC_EXEC_PREFIX ${HOME}/lib/gcc-lib/
Replace ${HOME} with your correct path.
These may or may not help. Building a cross-compiler is tricky, carefully
read the section on cross-compiling in the INSTALL file.
--irene
Technical Details
Message-ID:
<4h2fld$krk@news.ccit.arizona.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4h1gl7$lpg@rc1.vub.ac.be>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,523ec770e99cba1d X-Google-Attributes: gid11318c,public From: Irene Barg <ibarg@as.arizona.edu> Subject: Re: problem cross-compiling GCC 2.7.2 Date: 1996/02/28 Message-ID: <4h2fld$krk@news.ccit.arizona.edu> X-Deja-AN: 141538004 references: <4h1gl7$lpg@rc1.vub.ac.be> to: overloov@vub.ac.be content-type: text/plain; charset=us-ascii organization: University of Arizona, MMT Observatory x-url: news:4h1gl7$lpg@rc1.vub.ac.be mime-version: 1.0 newsgroups: gnu.gcc.help x-mailer: Mozilla 1.1N (X11; I; SunOS 5.4 sun4c)