public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* problem building gcc on ia64-hpux machine
@ 2007-12-11 17:39 edu m
  2007-12-11 19:47 ` Brian Dessent
  2007-12-12 16:47 ` Listaccount
  0 siblings, 2 replies; 5+ messages in thread
From: edu m @ 2007-12-11 17:39 UTC (permalink / raw)
  To: gcc-help

I want to build gcc-4.3 on a ia64-hpu11.23.
I've dowload binutils and do this for configure:

../gcc/configure --prefix=`pwd` --enable-languages=c
--with-mpfr=/home/ulc/es/mas/pardeiro/src/mpfr-2.3.0/
--with-gmp=/home/ulc/es/mas/pardeiro/src/gmp-4.2.2/
--with-as=/home/ulc/es/mas/pardeiro/src/binutils-2.18/ia64-hp-hpux11.23/bin/as

When do make obtain this error:

config.status: creating mkheaders.almost
config.status: creating config.h
Make: line 51: syntax error.  Stop.

*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

why???

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

* Re: problem building gcc on ia64-hpux machine
  2007-12-11 17:39 problem building gcc on ia64-hpux machine edu m
@ 2007-12-11 19:47 ` Brian Dessent
  2007-12-12 10:35   ` edu m
  2007-12-12 16:47 ` Listaccount
  1 sibling, 1 reply; 5+ messages in thread
From: Brian Dessent @ 2007-12-11 19:47 UTC (permalink / raw)
  To: edu m; +Cc: gcc-help

edu m wrote:

> Make: line 51: syntax error.  Stop.
> 
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> 
> why???

It looks like you're not using GNU make. 
<http://gcc.gnu.org/install/prerequisites.html>

Brian

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

* Re: problem building gcc on ia64-hpux machine
  2007-12-11 19:47 ` Brian Dessent
@ 2007-12-12 10:35   ` edu m
  2007-12-26 17:30     ` Rask Ingemann Lambertsen
  0 siblings, 1 reply; 5+ messages in thread
From: edu m @ 2007-12-12 10:35 UTC (permalink / raw)
  To: gcc-help

2007/12/11, Brian Dessent <brian@dessent.net>:
> edu m wrote:
>
> > Make: line 51: syntax error.  Stop.
> >
> > *** Error exit code 1
> >
> > Stop.
> > *** Error exit code 1
> >
> > Stop.
> > *** Error exit code 1
> >
> > Stop.
> >
> > why???
>
> It looks like you're not using GNU make.
> <http://gcc.gnu.org/install/prerequisites.html>
>
> Brian
>
That isn't the mistake, I'm using GNU make.

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

* Re: problem building gcc on ia64-hpux machine
  2007-12-11 17:39 problem building gcc on ia64-hpux machine edu m
  2007-12-11 19:47 ` Brian Dessent
@ 2007-12-12 16:47 ` Listaccount
  1 sibling, 0 replies; 5+ messages in thread
From: Listaccount @ 2007-12-12 16:47 UTC (permalink / raw)
  To: gcc-help

Zitat von edu m <daknhro@gmail.com>:

> I want to build gcc-4.3 on a ia64-hpu11.23.
> I've dowload binutils and do this for configure:
>
> ../gcc/configure --prefix=`pwd` --enable-languages=c
> --with-mpfr=/home/ulc/es/mas/pardeiro/src/mpfr-2.3.0/
> --with-gmp=/home/ulc/es/mas/pardeiro/src/gmp-4.2.2/
> --with-as=/home/ulc/es/mas/pardeiro/src/binutils-2.18/ia64-hp-hpux11.23/bin/as
>
> When do make obtain this error:
>
> config.status: creating mkheaders.almost
> config.status: creating config.h
> Make: line 51: syntax error.  Stop.
>
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
>
> why???
>

I'm not the expert to tell you "why" but after struggling for some  
hours on the same OS i can tell you how it works for me compiling  
gcc-4.2.2 :

../configure --prefix=/opt/gcc-4.2.2 --with-gnu-as  
--with-as=/usr/local/bin/gnu-as --without-gnu-ld  
--with-ld=/usr/ccs/bin/ld --disable-nls --enable-threads=posix  
--enable-languages=c,c++

We also do "export LANG=C" before configure to prevent trouble and you  
should use the GNU sed/awk or you may get "stack growth error" at some  
point of the build. For the binutils on Itanium we have to use "export  
LEXLIB=" "" to prevent errors at link stage.
We have finally managed to get gcc compile on Solaris 7, Solaris 9,  
AIX 5.3, HPUX 11.11 (PA) and HPUX 11.23 (IA64).
The last one was the worst BTW.

BTW : Does anyone have experince how good GCC is on optimizing for Itanium??

Regards

Andreas


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

* Re: problem building gcc on ia64-hpux machine
  2007-12-12 10:35   ` edu m
@ 2007-12-26 17:30     ` Rask Ingemann Lambertsen
  0 siblings, 0 replies; 5+ messages in thread
From: Rask Ingemann Lambertsen @ 2007-12-26 17:30 UTC (permalink / raw)
  To: edu m; +Cc: gcc-help

On Wed, Dec 12, 2007 at 11:35:51AM +0100, edu m wrote:
> 2007/12/11, Brian Dessent <brian@dessent.net>:
> > edu m wrote:
> >
> > > Make: line 51: syntax error.  Stop.

> > It looks like you're not using GNU make.
> > <http://gcc.gnu.org/install/prerequisites.html>
> >
> That isn't the mistake, I'm using GNU make.

   That error message is not a GNU Make one, is it?

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

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

end of thread, other threads:[~2007-12-26 17:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-11 17:39 problem building gcc on ia64-hpux machine edu m
2007-12-11 19:47 ` Brian Dessent
2007-12-12 10:35   ` edu m
2007-12-26 17:30     ` Rask Ingemann Lambertsen
2007-12-12 16:47 ` Listaccount

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