public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* I can't 'make' gcc-3.4.2 on Solaris 9 Sparc
@ 2004-11-22  4:26 M M
  2004-11-22  9:15 ` Eric Botcazou
  0 siblings, 1 reply; 2+ messages in thread
From: M M @ 2004-11-22  4:26 UTC (permalink / raw)
  To: gcc

Hi,

My 'make' attempts are failing. - error msg below.
The problem may well be in how I ran the configure script. I ran it without 
any parameters.
I've read http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2* - but 
frankly it's a little complicated for me......

Could someone please tell me exactly how I should run the configure script?, 
or what and how I should set any environment variables?

#uname -a
SunOS corrib 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Blade-100

In many places in the make output, there are warnings like:
".... warning: enum type mismatch: ...."

The last piece of output from the make command is:

"/export/tmp/pkgs/gcc-3.4.2/gcc/f/proj.h", line 37: #error: "You have to use 
gcc 2.x to build g77."
cc: acomp failed for /export/tmp/pkgs/gcc-3.4.2/gcc/f/bad.c
make[1]: *** [f/bad.o] Error 2
make[1]: Leaving directory `/export/tmp/pkgs/gcc-3.4.2/objdir/gcc'
*** Error code 2
make: Fatal error: Command failed for target `all-gcc'


By the way- GNU make is installed.

thank you in advance.


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

* Re: I can't 'make' gcc-3.4.2 on Solaris 9 Sparc
  2004-11-22  4:26 I can't 'make' gcc-3.4.2 on Solaris 9 Sparc M M
@ 2004-11-22  9:15 ` Eric Botcazou
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Botcazou @ 2004-11-22  9:15 UTC (permalink / raw)
  To: gcc; +Cc: M M

> Could someone please tell me exactly how I should run the configure
> script?, or what and how I should set any environment variables?

No environment variable needed except CONFIG_SHELL.

mkdir $(objdir)
cd $(objdir)
CONFIG_SHELL=/bin/ksh
export CONFIG_SHELL
$(srcdir)/configure
gmake bootstrap

$(srcdir) should be an absolute path.

-- 
Eric Botcazou

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

end of thread, other threads:[~2004-11-22  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-22  4:26 I can't 'make' gcc-3.4.2 on Solaris 9 Sparc M M
2004-11-22  9:15 ` Eric Botcazou

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