* GCC version 3.3.2
@ 2004-01-13 21:17 Liz Brosch
2004-01-13 21:38 ` Eljay Love-Jensen
2004-01-14 19:08 ` Alexandre Oliva
0 siblings, 2 replies; 3+ messages in thread
From: Liz Brosch @ 2004-01-13 21:17 UTC (permalink / raw)
To: gcc-help
I am running out of options to fix my problem building gcc on my solaris
8 box so I thought I would send an email to this address.
I am building gcc version 3.3.2 on my solaris 8 box and it fails at the
"make install"
I installed gnu binutils and my configure for gcc looks like this:
./configure
--with-gcc-version-trigger=/usr/local/builds/gcc-3.3.2/gcc/version.c
--host=sparc-sun-solaris2.8 --prefix=/usr/local/gcc-3.3.2 --with-gnu-as
--with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld
--norecursion
My env looks like this:
-->env
_=/usr/bin/env
MANPATH=/usr/man:/usr/local/man:/opt/VRTS/man
HZ=
PATH=/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ccs/bin:/usr/local/bin:/opt/VRTS/bin:/usr/ucb:/usr/bin/X11:/sbin:/usr/openwin/bin
EDITOR=vi
LOGNAME=root
PS1=[$user@$hostname:$PWD]
-->
SHELL=/bin/ksh
HOME=/
TERM=xterm
PWD=/usr/local/builds/gcc-3.3.2
hostname=sunqa
TZ=US/Eastern
user=root
I am using gnu make that is located in /usr/local/bin and all of the gnu
binutils are also located there.
Here is my error on "make install"
................
creating libg2c.la
(cd .libs && rm -f libg2c.la && ln -s ../libg2c.la libg2c.la)
make[4]: Leaving directory
`/usr/local/builds/gcc-3.3.2/sparc-sun-solaris2.8/sparcv9/libf2c'
: make ; exec true CC='/usr/local/builds/gcc-3.3.2/gcc/xgcc
-B/usr/local/builds/gcc-3.3.2/gcc/
-B/usr/local/gcc-3.3.2/sparc-sun-solaris2.8/bin/
-B/usr/local/gcc-3.3.2/sparc-sun-solaris2.8/lib/ -isystem
/usr/local/gcc-3.3.2/sparc-sun-solaris2.8/include'
LD='/usr/local/bin/ld' LIBTOOL='/bin/sh ./libtool' WARN_CFLAGS='-W
-Wall' CFLAGS='-O2 -g -O2 -m64' CPPFLAGS='' DESTDIR='' AR='ar'
RANLIB='true' prefix='/usr/local/gcc-3.3.2'
exec_prefix='/usr/local/gcc-3.3.2' libdir='/usr/local/gcc-3.3.2/lib'
libsubdir='/usr/local/gcc-3.3.2/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2'
tooldir='/usr/local/gcc-3.3.2/sparc-sun-solaris2.8' multi-do DO="all-unilib"
/bin/sh ./../../../mkinstalldirs /usr/local/gcc-3.3.2/lib/sparcv9
/bin/sh ./libtool --mode=install ./../../install-sh -c libg2c.la
/usr/local/gcc-3.3.2/lib/sparcv9
./../../install-sh -c .libs/libg2c.so.0.0.0
/usr/local/gcc-3.3.2/lib/sparcv9/libg2c.so.0.0.0
./libtool: ./../../install-sh: not found
make[3]: *** [install] Error 1
make[3]: Leaving directory
`/usr/local/builds/gcc-3.3.2/sparc-sun-solaris2.8/sparcv9/libf2c'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory
`/usr/local/builds/gcc-3.3.2/sparc-sun-solaris2.8/libf2c'
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/usr/local/builds/gcc-3.3.2/sparc-sun-solaris2.8/libf2c'
make: *** [install-target-libf2c] Error 2
I have searched for two days on this error and cannot find anything
relevant.
Can someone help me?
Thanks.
Liz Brosch
Thomson-ISI
Systems Engineer
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GCC version 3.3.2
2004-01-13 21:17 GCC version 3.3.2 Liz Brosch
@ 2004-01-13 21:38 ` Eljay Love-Jensen
2004-01-14 19:08 ` Alexandre Oliva
1 sibling, 0 replies; 3+ messages in thread
From: Eljay Love-Jensen @ 2004-01-13 21:38 UTC (permalink / raw)
To: Liz Brosch, gcc-help
Hi Liz,
Here's my build script for GCC 3.3.1 on Solaris 8:
--- Eljay's Uber GCC33 Build Script (Bash) ---
# CLEAN
test -d ../gcc33 && rm -rf ../gcc33
rm -rf gcc libiberty sparc-sun-solaris2.8 Makefile mh-frag config.cache config.status
# CONFIGURE
PATH=/net/hither/export/share/gcc-3.2/bin:/bin:/usr/bin \
../gcc-3.3.1/configure \
--prefix=/export/home3/eljay/gcc33 \
--enable-languages=c,c++ \
--with-gnu-as \
--with-as=/net/hither/export/share/gcc-3.2/bin/as \
--with-gnu-ld \
--with-ld=/net/hither/export/share/gcc-3.2/bin/ld \
--enable-threads \
--enable-shared \
--enable-clocale=gnu \
--disable-__cxa_atexit
# Linux only, not for Solaris: --enable-__cxa_atexit
# BUILD
PATH=/net/hither/export/share/gcc-3.2/bin:/bin:/usr/bin make -j 4 CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean
# INSTALL
mkdir ../gcc33
make install
--- end-of-script ---
Note, I'm building for myself, not for general use. So you'll notice that the target directory is ../gcc33, just off of my home directory.
I also use ~/gcc-3.3.1 for the source. And ~/gcc-3.3.1-build (the current working directory, with the aforementioned uber script) for the build location.
I've also took the trouble to fix the wide character support problem on Solaris. I don't know if that has been fixed for GCC 3.3.2 ... but it is a known issue and if not 3.3.2 then by 3.4 I'm betting.
Caution: there may be spurious line-breaks introduced by the mail protocol. Especially the # BUILD section ... that's one long line there.
And a final caution: GCC is very sensitive (and smart and savvy) to the Solaris in which it is compiled upon. It patches many of the Solaris "stock" header files, and holds them in a GCC special cache location. If you patch your Solaris 8, those system files may change... which in turn means you REALLY should re-build GCC. Just to be safe.
HTH,
--Eljay
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GCC version 3.3.2
2004-01-13 21:17 GCC version 3.3.2 Liz Brosch
2004-01-13 21:38 ` Eljay Love-Jensen
@ 2004-01-14 19:08 ` Alexandre Oliva
1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2004-01-14 19:08 UTC (permalink / raw)
To: Liz Brosch; +Cc: gcc-help
On Jan 13, 2004, Liz Brosch <elizabeth.brosch@isinet.com> wrote:
> ./configure
You seem to have missed the bits about building inside the source tree
not being recommended, in the installation instructions.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Happy GNU Year! oliva@{lsd.ic.unicamp.br, gnu.org}
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist Professional serial bug killer
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-14 19:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-13 21:17 GCC version 3.3.2 Liz Brosch
2004-01-13 21:38 ` Eljay Love-Jensen
2004-01-14 19:08 ` Alexandre Oliva
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).