public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jim Hollenback" <jholly@cup.hp.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] gcc 3.0.2 questions
Date: Mon, 12 Nov 2001 23:23:51 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590698805477@msgid-missing> (raw)

Before I go digging around in a bunch of code thought I would ask.

I'm attempting to build gcc3.0.2 for cross compiling. Specifically
to run on a IA-32 system for building IA-64 bits. During the
configure stage it seems configure and then trys to configure fastjar.
Is this for java? Anyhow it fails with

checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking size of char... configure: error: can not run test program while cross
compiling
Configure in /usr/src/gnu/build-gcc/fastjar failed, exiting.

Is there anyway if disabling this?

Being the curious type I went ahead and tried to compile. Ended up with

rm -f obstack.c
ln -s ../../gcc-3.0.2/gcc/../libiberty/obstack.c obstack.c
gcc -c -DCROSS_COMPILE -DIN_GCC    -O2 -W -Wall -Wwrite-strings -Wstrict-pro
pes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONF
 -DGENERATOR_FILE    -I. -I. -I../../gcc-3.0.2/gcc -I../../gcc-3.0.2/gcc/. -
../gcc-3.0.2/gcc/config -I../../gcc-3.0.2/gcc/../include \
        obstack.c -o obstack.o
gcc -DCROSS_COMPILE -DIN_GCC    -O2 -W -Wall -Wwrite-strings -Wstrict-protot
 -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_
GENERATOR_FILE  -o gengenrtl \
 gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in
 echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;;
 ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `
./gengenrtl -h >tmp-genrtl.h
make[1]: *** [s-genrtl] Error 4
make[1]: Leaving directory `/usr/src/gnu/build-gcc/gcc'
make: *** [all-gcc] Error 2

Is this related to the fastjar failure.


TIA,
Jim


             reply	other threads:[~2001-11-12 23:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-12 23:23 Jim Hollenback [this message]
2001-11-13  0:16 ` [Linux-ia64] gcc 3.0.2 questions Boehm, Hans
2001-11-19 22:13 ` Jim Wilson

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=marc-linux-ia64-105590698805477@msgid-missing \
    --to=jholly@cup.hp.com \
    --cc=linux-ia64@vger.kernel.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