public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Stage1 gengenrtl fails on sparc RH 4.2
@ 1998-02-08 12:07 Jeff Johnson
  1998-02-08 13:45 ` H.J. Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jeff Johnson @ 1998-02-08 12:07 UTC (permalink / raw)
  To: egcs

Hi --

Running sparc-redhat-linux-gnu with binutils-2.8.1.0.20.

Top of stack (2/8/98 ~9 am) egcs through remote CVS.

Configuration:
../egcs/configure \
	--prefix=/usr \
	--local-prefix=/usr/local \
	--gxx-include-dir=/usr/include/g++ \
	--with-gnu-ld \
	--with-gnu-as \
	--enable-haifa \
	--enable-shared \
	--enable-threads \
	sparc-redhat-linux

stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H -DHAIFA  -o gengenrtl \
 gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` 
./gengenrtl tmp-genrtl.h tmp-genrtl.c
make[2]: ./gengenrtl: Command not found
make[2]: *** [stamp-genrtl] Error 127
make[2]: Leaving directory `/K/h/jbj/src/egcs-sparc-redhat-linux/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/K/h/jbj/src/egcs-sparc-redhat-linux/gcc'
[1]+  Exit 2                  make bootstrap-lean 1>&mklog
make: *** [bootstrap-lean] Error 2

bash$ file gengenrtl
gengenrtl: ELF 32-bit MSB executable, SPARC, version 1, dynamically linked, not stripped

No idea how to proceed here. Doing the commands manually gives same
result.

Any help appreciated.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@jbj.org
Gaithersburg, MD

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Stage1 gengenrtl fails on sparc RH 4.2
@ 1998-02-10  9:57 Jeff Johnson
  1998-02-10 12:11 ` Ian Lance Taylor
  1998-02-10 14:45 ` H.J. Lu
  0 siblings, 2 replies; 7+ messages in thread
From: Jeff Johnson @ 1998-02-10  9:57 UTC (permalink / raw)
  To: egcs

Hi --

> Running sparc-redhat-linux-gnu with binutils-2.8.1.0.20.
> 

Wishful thinking here, platform is actually sparc-redhat-linux-gnulibc1.

> Top of stack (2/8/98 ~9 am) egcs through remote CVS.
> 
> Configuration:
> ../egcs/configure \
> 	--prefix=/usr \
> 	--local-prefix=/usr/local \
> 	--gxx-include-dir=/usr/include/g++ \
> 	--with-gnu-ld \
> 	--with-gnu-as \
> 	--enable-haifa \
> 	--enable-shared \
> 	--enable-threads \
> 	sparc-redhat-linux
> 

As pointed out by H.J. Lu & Ian Lance Taylor, the configure requires
either explicit "sparc-redhat-linux-gnulibc1" or implicit omission of
target. The explicit variant worked for me.

However, that means that the configure script is too stupid to correctly
figure out what library is present ...

There's also another minor bugture/featlet:

make[1]: Leaving directory `/K/h/jbj/src/egcs-sparc-redhat-linux/libraries/libg++'
Configuring in libraries/libf2c
configure: error: --local-prefix=/usr/local: invalid option; use --help to show usage
make: *** [configure-target-libf2c] Error 1

Manually configuring libf2c w/o --local-prefix worked for me.

Thanks for the help.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@jbj.org
Gaithersburg, MD

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

end of thread, other threads:[~1998-02-10 14:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-08 12:07 Stage1 gengenrtl fails on sparc RH 4.2 Jeff Johnson
1998-02-08 13:45 ` H.J. Lu
1998-02-08 13:45 ` Jeffrey A Law
1998-02-08 13:45 ` Ian Lance Taylor
1998-02-10  9:57 Jeff Johnson
1998-02-10 12:11 ` Ian Lance Taylor
1998-02-10 14:45 ` H.J. Lu

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