public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc 2.95.3 compile problem
@ 2001-04-24 23:24 Hsieh.AB
  2001-04-25 10:56 ` Rod Stewart
  0 siblings, 1 reply; 2+ messages in thread
From: Hsieh.AB @ 2001-04-24 23:24 UTC (permalink / raw)
  To: gcc; +Cc: Hsieh.AB

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]

Title: gcc 2.95.3 compile problem





HI,


        I has a problem when I build the gcc v2.95.3 source code in x86 host system with OS is slackware 7.1 to a cross compile of strong ARM, following is my action:

1. get gcc 2.95.3 source code from gcc.gnu.org/gcc/gcc-core-2.95.3.tar.gz and I put it in /arm directory
2. In /arm directory I uncompress gcc-core-2.95.3.tar.gz ( tar zxvf gcc-core-2.95.3.tar.gz) and create a new directory gcc-2.95

3. My srcdir=/arm/gcc-2.95.3 & objdir=/arm/gcc-2.95.3-obj
4. cd /arm/gcc-2.95.3-obj
5. ../gcc-2.95.3/configure --target=arm-linux --prefix=/usr and is OK
6.make all and follow message will happen for about some minutes.
.................................................
................................................
../..gcc-2.95.3/gcc/libgcc2.c:41 stdlib.h  : No such file or directory
../..gcc-2.95.3/gcc/libgcc2.c:42 unistd.h  : No such file or directory
make[3] : ***[ libgcc2.a] Error 3
make[3] : Leaving directory '/arm/gcc-2.85.3-obj/gcc'
make[2] : ***[ stmp-multilib-sub] Error 2
make[2] : Leaving directory '/arm/gcc-2.85.3-obj/gcc'
make[1] : ***[stmp-multilib] Error 1
make[1] : Leaving directory '/arm/gcc-2.85.3-obj/gcc'
make: *** [all-gcc] Error2


I hope you can take a little time to give me a help.


        Thank !!!
04/25/2001 CST 14:17
An-Bang Hsieh   




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

* Re: gcc 2.95.3 compile problem
  2001-04-24 23:24 gcc 2.95.3 compile problem Hsieh.AB
@ 2001-04-25 10:56 ` Rod Stewart
  0 siblings, 0 replies; 2+ messages in thread
From: Rod Stewart @ 2001-04-25 10:56 UTC (permalink / raw)
  To: Hsieh.AB; +Cc: gcc

On Wed, 25 Apr 2001 Hsieh.AB@inventec.com wrote:

> 	I has a problem when I build the gcc v2.95.3 source code in x86 host
> system with OS is slackware 7.1 to a cross compile of strong ARM, following
> is my action:
>
> ../..gcc-2.95.3/gcc/libgcc2.c:41 stdlib.h  : No such file or directory
> ../..gcc-2.95.3/gcc/libgcc2.c:42 unistd.h  : No such file or directory
> make[3] : ***[ libgcc2.a] Error 3
> make[3] : Leaving directory '/arm/gcc-2.85.3-obj/gcc'

You need to install either glibc or newlib header files.  That is what it
is looking for above...

-Rms

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

end of thread, other threads:[~2001-04-25 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-24 23:24 gcc 2.95.3 compile problem Hsieh.AB
2001-04-25 10:56 ` Rod Stewart

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