[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc: installation problem, cannot exec `cpp0'

On Mon, May 21, 2001 at 05:42:07PM -0400, B. Douglas Hilton wrote:
> Hi there,
> Here's how you use it, first prepend /usr/i386-gnu/bin to your path, then run it.
> example:
> $ cd /usr/src/myprogram
> $ vi myprog.c
> $ export PATH=/usr/i386-gnu/bin:$PATH
> $ gcc -o myprog myprog.c
> This goes for everything, just issue
> $ export PATH=/usr/i386-gnu/bin:$PATH
> before running configure, make, etc. Then it will make Hurd binaries.

Note that for GNU programs which use autoconf and co properly, it is better
to do:

../configure --build i386-linux --host i386-gnu

because this leaves the possibility to build programs for the build platform
(like code generators etc).  Sometimes this is mandatory (ncurses, bash,
glibc, ...)


`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org

Reply to: