public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: gcc-3.4.0
@ 2004-06-21  7:59 Delaspre Ludovic-rc149c
  0 siblings, 0 replies; 2+ messages in thread
From: Delaspre Ludovic-rc149c @ 2004-06-21  7:59 UTC (permalink / raw)
  To: gcc-help

I Have the same error with this configuration

--program-prefix=arm-linux-
--with-cpu=arm1136jfs
--with-sysroot=/local/linux_baseport/src/rootdisk/fs
--with-headers=/local/linux_baseport/src/linux-2.6.0/include/linux
--target=arm-linux

-----Original Message-----
From: Xing Hai [mailto:Xing_Hai@nmss.com]
Sent: dimanche 20 juin 2004 15:31
To: gcc-help@gcc.gnu.org
Subject: gcc-3.4.0


I had a problem to build a cross_compiler for m68k (actually for coldfire).
The error was that could not find some header files, such as stdio.h,
string.h, sys/types.h, while compiler was parsing tsystem.h in gcc
directory.
My current environment has gcc-3.1.1 package.
After download and unzip I did
1. mkdir objdir
2. cd objdir
3. ../gcc-3.4.0/configure \
        --host=sparc-sun-solaris2* \
        --target=m68k-*-elf \
        --prefix=/home/tools/coldfire \
        --program-suffix=-m68k \
        --with-local-prefix=/home/tools/coldfire \
        --with-gnu-as \
        --with-gnu-ld \
        --enable-target-optspace \
        --enable-languages=c,c++ \
        --with-headers=/home/tools/coldfire/sys \
        --with-libs=/home/tools/coldfire/sys \
        --with-newlib
4. make all install
Is there something wrong?
Thanks,
Xing Hai
NMS
200 Schulz Drive
Red Bank, NJ 07701
(732) 936-2155

^ permalink raw reply	[flat|nested] 2+ messages in thread

* gcc-3.4.0
@ 2004-06-20 13:30 Xing Hai
  0 siblings, 0 replies; 2+ messages in thread
From: Xing Hai @ 2004-06-20 13:30 UTC (permalink / raw)
  To: gcc-help





I had a problem to build a cross_compiler for m68k (actually for coldfire).
The error was that could not find some header files, such as stdio.h,
string.h, sys/types.h, while compiler was parsing tsystem.h in gcc
directory.

My current environment has gcc-3.1.1 package.

After download and unzip I did

1. mkdir objdir
2. cd objdir
3. ../gcc-3.4.0/configure \
        --host=sparc-sun-solaris2* \
        --target=m68k-*-elf \
        --prefix=/home/tools/coldfire \
        --program-suffix=-m68k \
        --with-local-prefix=/home/tools/coldfire \
        --with-gnu-as \
        --with-gnu-ld \
        --enable-target-optspace \
        --enable-languages=c,c++ \
        --with-headers=/home/tools/coldfire/sys \
        --with-libs=/home/tools/coldfire/sys \
        --with-newlib
4. make all install

Is there something wrong?


Thanks,

Xing Hai
NMS
200 Schulz Drive
Red Bank, NJ 07701
(732) 936-2155


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-21  7:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-21  7:59 gcc-3.4.0 Delaspre Ludovic-rc149c
  -- strict thread matches above, loose matches on Subject: below --
2004-06-20 13:30 gcc-3.4.0 Xing Hai

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).