public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Molton <spyro@armlinux.org>
To: gcc@gcc.gnu.org
Subject: BUG in gcc 2.95.3 cross compiler compile?
Date: Fri, 07 Dec 2001 19:24:00 -0000	[thread overview]
Message-ID: <20011208031528.043a608f.spyro@armlinux.org> (raw)

I am trying to compile a cross-compiler from i686-pc-linux-gnu to
armv2-unknown-linux using the following configure command:

../gcc-2.95.3/configure --host=i686-pc-linux-gnu
--target=armv2-unknown-linux --enable-languages=c
--prefix=/home/ian/projects/armlinux/tools-armv2/

however, it fails make with:

for name in _eh; \
do \
  echo ${name}; \
  /home/ian/projects/armlinux/build-gcc/gcc/xgcc
-B/home/ian/projects/armlinux/build-gcc/gcc/
-B/home/ian/projects/armlinux/tools-armv2//armv2-unknown-linux/bin/
-I/home/ian/projects/armlinux/tools-armv2//armv2-unknown-linux/include -O2 
-DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include  -fomit-frame-pointer -fPIC
-g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   
-fexceptions -I. -I../../gcc-2.95.3/gcc -I../../gcc-2.95.3/gcc/config
-I../../gcc-2.95.3/gcc/../include -c \
      -DL${name} ../../gcc-2.95.3/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  armv2-unknown-linux-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_eh
In file included from gthr-default.h:1,
                 from ../../gcc-2.95.3/gcc/gthr.h:98,
                 from ../../gcc-2.95.3/gcc/libgcc2.c:3034:
../../gcc-2.95.3/gcc/gthr-posix.h:37: pthread.h: No such file or directory

Now, I didnt enable threads, and I have built this version of gcc as a
cross compiler on a different machine successfully.

any ideas?

                 reply	other threads:[~2001-12-08  3:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011208031528.043a608f.spyro@armlinux.org \
    --to=spyro@armlinux.org \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).