public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Building 3.4.3 on Irix 6.5?
@ 2005-03-18 12:42 Christian Convey
  2005-03-18 18:37 ` Eljay Love-Jensen
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Convey @ 2005-03-18 12:42 UTC (permalink / raw)
  To: gcc-help

Hi guys,

I'm having trouble installing GCC 3.4.3 after I build it.  Any ideas?  Here's 
what I did:

I downloaded and untarred these files:
    gcc-core-3.4.3.tar.gz
    gcc-g++-3.4.3.tar.gz

I then ran these commands:
   cd gcc-3.4.3/
   ./configure --help
   ./configure --prefix=/usr/people/cjc/big/packages/gcc-3.4.3
   make
   make install

I think "make install" can't find "install-sh", but I can't figure out why, 
because I can run this:
    ~/big/packages/gcc-3.4.3$ ls -l install-sh
    -rwxrwx---    1 cjc         7122 Mar 17 19:00 install-sh

Below is the output from "make install". Thanks for any suggestions:




/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3 
/usr/people/cjc/big/packages/gcc-3.4.3
make[1]: Entering directory `/disk5/cjc/packages/gcc-3.4.3/gcc'
/bin/sh ./mkinstalldirs 
/usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3
/bin/sh ./mkinstalldirs 
/usr/people/cjc/big/packages/gcc-3.4.3/libexec/gcc/mips-sgi-irix6.5/3.4.3
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/bin
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/include
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/info
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/lib
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/man/man1
/bin/sh ./mkinstalldirs /usr/people/cjc/big/packages/gcc-3.4.3/man/man7
rm -f /usr/people/cjc/big/packages/gcc-3.4.3/bin/g++
./install-sh -c g++ /usr/people/cjc/big/packages/gcc-3.4.3/bin/g++
make[1]: ./install-sh: Command not found
make[1]: [c++.install-common] Error 127 (ignored)
chmod a+x /usr/people/cjc/big/packages/gcc-3.4.3/bin/g++
Cannot access /usr/people/cjc/big/packages/gcc-3.4.3/bin/g++: No such file or 
directory
make[1]: [c++.install-common] Error 1 (ignored)
rm -f /usr/people/cjc/big/packages/gcc-3.4.3/bin/c++
( cd /usr/people/cjc/big/packages/gcc-3.4.3/bin && \
       ln g++ c++ )
g++ - No such file or directory
make[1]: [c++.install-common] Error 2 (ignored)
if [ -f cc1plus ] ; then \
   if [ -f g++-cross ] ; then \
     if [ -d 
/usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3/../../../../mips-sgi-irix6.5/bin/. 
] ; then \
       rm -f 
/usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3/../../../../mips-sgi-irix6.5/bin/g++; 
\
       ./install-sh -c g++-cross 
/usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3/../../../../mips-sgi-irix6.5/bin/g++; 
\
       rm -f 
/usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3/../../../../mips-sgi-irix6.5/bin/c++; 
\
       ( cd 
/usr/people/cjc/big/packages/gcc-3.4.3/lib/gcc/mips-sgi-irix6.5/3.4.3/../../../../mips-sgi-irix6.5/bin 
&& \
         ln g++ c++ ); \
     else true; fi; \
   else \
     rm -f /usr/people/cjc/big/packages/gcc-3.4.3/bin/mips-sgi-irix6.5-g++; \
     ( cd /usr/people/cjc/big/packages/gcc-3.4.3/bin && \
       ln g++ mips-sgi-irix6.5-g++ ); \
     rm -f /usr/people/cjc/big/packages/gcc-3.4.3/bin/mips-sgi-irix6.5-c++; \
     ( cd /usr/people/cjc/big/packages/gcc-3.4.3/bin && \
       ln c++ mips-sgi-irix6.5-c++ ); \
   fi ; \
fi
g++ - No such file or directory
c++ - No such file or directory
make[1]: [c++.install-common] Error 2 (ignored)
for file in cc1  cc1plus; do \
   if [ -f $file ] ; then \
     rm -f 
/usr/people/cjc/big/packages/gcc-3.4.3/libexec/gcc/mips-sgi-irix6.5/3.4.3/$file; \
     ./install-sh -c $file 
/usr/people/cjc/big/packages/gcc-3.4.3/libexec/gcc/mips-sgi-irix6.5/3.4.3/$file; \
   else true; \
   fi; \
done
/bin/sh: ./install-sh:  not found
/bin/sh: ./install-sh:  not found
make[1]: *** [install-common] Error 127
make[1]: Leaving directory `/disk5/cjc/packages/gcc-3.4.3/gcc'
make: *** [install-gcc] Error 2

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

* Re: Building 3.4.3 on Irix 6.5?
  2005-03-18 12:42 Building 3.4.3 on Irix 6.5? Christian Convey
@ 2005-03-18 18:37 ` Eljay Love-Jensen
  0 siblings, 0 replies; 2+ messages in thread
From: Eljay Love-Jensen @ 2005-03-18 18:37 UTC (permalink / raw)
  To: Christian Convey, gcc-help

Hi Christian,

Try running these commands instead.

(I'm assuming you've already unpacked the two GZ files into /home/conveycj/gcc-3.4.3/ directory)

mkdir /home/conveycj/gcc-3.4.3-build
cd /home/conveycj/gcc-3.4.3-build
/home/conveycj/gcc-3.4.3/configure \
 --prefix=/usr/people/cjc/big/packages/gcc-3.4.3 \
 --enable-languages=c,c++
make
make install

- - - - - - - - - - - - - - - - - - - - - - - - - - - -

For Solaris, here's what I use...
# Already unpacked GCC's GZ files to /home/eljay/gcc-3.4.3
mkdir /home/eljay/gcc-3.4.3-build
mkdir /home/eljay/gcc343
PATH=/export/share/gcc-3.2/bin:/bin:/usr/bin

# CONFIGURE
/home/eljay/gcc-3.4.3/configure \
 --prefix=/home/eljay/gcc34 \
 --enable-languages=c,c++ \
 --with-gnu-as \
 --with-as=/export/share/gcc-3.2/bin/as \
 --with-gnu-ld \
 --with-ld=/export/share/gcc-3.2/bin/ld \
 --enable-threads \
 --enable-shared \
 --disable-symvers \
 --disable-__cxa_atexit

make -j 4 CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean

# INSTALL
mkdir /home/eljay/gcc34
make install

- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Caution, there may be some unintentional line-wraps.

HTH,
--Eljay

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

end of thread, other threads:[~2005-03-18 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-18 12:42 Building 3.4.3 on Irix 6.5? Christian Convey
2005-03-18 18:37 ` Eljay Love-Jensen

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