public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* PLEASE HELP: Solaris 8 Build Fails
@ 2001-11-03  4:09 Bauer, Rich
  2001-11-03 16:46 ` Rupert Wood
  0 siblings, 1 reply; 2+ messages in thread
From: Bauer, Rich @ 2001-11-03  4:09 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

How do I fix the following ?

# make
true "AR_FLAGS=rc"  "CC_FOR_BUILD=gcc"  "CFLAGS=-g -O2"  "CXXFLAGS=-g -O2"
"CFL
AGS_FOR_BUILD="  "CFLAGS_FOR_TARGET=-g -O2"  "INSTALL=/bin/sh
/opt/ftp/gcc-3.0/i
nstall-sh -c"  "INSTALL_DATA=/bin/sh /opt/ftp/gcc-3.0/install-sh -c -m 644"
"IN
STALL_PROGRAM=/bin/sh /opt/ftp/gcc-3.0/install-sh -c"
"INSTALL_SCRIPT=/bin/sh /
opt/ftp/gcc-3.0/install-sh -c"  "LDFLAGS="  "LIBCFLAGS=-g -O2"
"LIBCFLAGS_FOR_T
ARGET=-g -O2"  "MAKE=make"  "MAKEINFO=makeinfo "  "PICFLAG="
"PICFLAG_FOR_TARGE
T="  "SHELL=/bin/sh"  "EXPECT=expect"  "RUNTEST=runtest"  "RUNTESTFLAGS="
"exec
_prefix=/usr/local"  "infodir=/usr/local/info"  "libdir=/usr/local/lib"
"prefix
=/usr/local"  "tooldir=/usr/local/sparc-sun-solaris2.8"  "AR=ar"  "AS=as"
"CC=g
cc"  "CXX=c++"  "LD=ld"  "LIBCFLAGS=-g -O2"  "NM=nm"  "PICFLAG="
"RANLIB=true"
 "DESTDIR=" DO=all multi-do
HEADERS="gansidecl.h sparc/sol2-sld.h defaults.h" DEFINES=""
TARGET_CPU_DEFAULT=
"" \
TARGET_CPU_DEFAULT="TARGET_CPU_sparc" \
/bin/sh ../../gcc-3.0/gcc/mkconfig.sh ../../gcc-3.0/gcc/tm.h
../../gcc-3.0/gcc/tm.h is unchanged
../../gcc-3.0/gcc/mkconfig.sh: cs-../../gcc-3.0/gcc/tm.h: cannot create
*** Error code 1
make: Fatal error: Command failed for target `cs-tm.h'
Current working directory /opt/ftp/objdir/gcc
*** Error code 1
make: Fatal error: Command failed for target `all-gcc'  

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

* RE: PLEASE HELP: Solaris 8 Build Fails
  2001-11-03  4:09 PLEASE HELP: Solaris 8 Build Fails Bauer, Rich
@ 2001-11-03 16:46 ` Rupert Wood
  0 siblings, 0 replies; 2+ messages in thread
From: Rupert Wood @ 2001-11-03 16:46 UTC (permalink / raw)
  To: 'Bauer, Rich'; +Cc: gcc-help

Rich Bauer wrote:

(It looks like you're building gcc-3.0; note that gcc-3.02 has now been
released.)

> # make
:
> /bin/sh ../../gcc-3.0/gcc/mkconfig.sh ../../gcc-3.0/gcc/tm.h

This shouldn't happen; certainly in Makefile.in and Makefile here,
there's no path preceding the 'tm.h'. You might want to check your
makefile; grep for mkconfig.sh. If there's no leading path there either,
i.e. it's just:

        $(SHELL) $(srcdir)/mkconfig.sh tm.h

then Sun make's VPATH support is introducing the extra path where it
doesn't belong.

I'm pretty sure that Sun bundle the latest version of GNU make with
Solaris 2.8 as 'gmake' - if not, download, build and install it. Either
way, you should be typing 'gmake bootstrap' and not just 'gmake' or
'make'.

On the other hand, I'm sure I used to build GCC-3.0 snapshots with Sun
make without problems. That's still my best guess, though - hope it
helps.

Rup.

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

end of thread, other threads:[~2001-11-14  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-03  4:09 PLEASE HELP: Solaris 8 Build Fails Bauer, Rich
2001-11-03 16:46 ` Rupert Wood

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