public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Cross compiling gcc from i386-linux to alpha-dec-osf4
@ 2003-09-01 11:08 Gerrit Bruchhäuser
  0 siblings, 0 replies; only message in thread
From: Gerrit Bruchhäuser @ 2003-09-01 11:08 UTC (permalink / raw)
  To: gcc-help

Hello,

I am trying to compile gcc as cross-compiler which should run on a
i386-linux box and compile/link objects for alpha-dec-osf4.

/usr/alpha-dec-osf4/
    include/
    lib/

These directories contain all native include files as well as all
the libraries from the OSF system.


/usr/src/packages/SOURCE/gcc-3.3.1/
    Contains the gcc sources


I did the follwowing steps then:
    cd /usr/src/packages/SOURCE/
    mkdir objdir
    cd objdir
    ../gcc-3.3.1/configure --prefix=/usr/local/gcc/alpha-dec-osf4 
--program-suffix=-alpha-dec-osf4 --srcdir=../gcc-3.3.1
    make


But 'gcc' was not been created.
I tried 'make gcc' then and got the following errors:

---
gbruchha:/usr/src/packages/SOURCES/objdir/gcc # make gcc
gcc -g    ../../gcc-3.3.1/gcc/gcc.c   -o gcc
../../gcc-3.3.1/gcc/gcc.c:73: config.h: Datei oder Verzeichnis nicht 
gefunden
In file included from ../../gcc-3.3.1/gcc/gcc.c:74:
../../gcc-3.3.1/gcc/system.h:105: safe-ctype.h: Datei oder Verzeichnis 
nicht gefunden
In file included from ../../gcc-3.3.1/gcc/gcc.c:74:
../../gcc-3.3.1/gcc/system.h:491: libiberty.h: Datei oder Verzeichnis 
nicht gefunden
../../gcc-3.3.1/gcc/gcc.c:144: configargs.h: Datei oder Verzeichnis 
nicht gefunden
../../gcc-3.3.1/gcc/gcc.c:740: multilib.h: Datei oder Verzeichnis nicht 
gefunden
../../gcc-3.3.1/gcc/gcc.c:866: specs.h: Datei oder Verzeichnis nicht 
gefunden
make: *** [gcc] Fehler 1
---


What did I do wrong way?
Many thanks in advance!

Gerrit

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-01 11:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-01 11:08 Cross compiling gcc from i386-linux to alpha-dec-osf4 Gerrit Bruchhäuser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).