This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

CVS compilation problems on Solaris 8



Hi,

Wanted to check out the CVS version of gcc and try it out.  Works fine
at home on a Linux/x86 box.  But when it comes to Solaris 8/SPARC at work,
I always get the following errors during a build:

make[4]: Entering directory `/source/Solaris/Sparc/INCOMING/GCC_CVS/objdir/sparc-sun-solaris2.8/sparcv9/libiberty'
make[4]: *** No rule to make target `all'.  Stop.
make[4]: Leaving directory `/source/Solaris/Sparc/INCOMING/GCC_CVS/objdir/sparc-sun-solaris2.8/sparcv9/libiberty'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/source/Solaris/Sparc/INCOMING/GCC_CVS/objdir/sparc-sun-solaris2.8/libiberty'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/source/Solaris/Sparc/INCOMING/GCC_CVS/objdir/sparc-sun-solaris2.8/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/source/Solaris/Sparc/INCOMING/GCC_CVS/objdir'
make: *** [bootstrap] Error 2


I've read the FAQ and platform-specific install notes, so I am aware that
64-bit support is not yet ready.  That's fine.  However, I see these same 
errors above when compiling on an old SparcStation running Solaris 8 in 
32-bit mode.

On the gcc-testresults list, I see a few who have compiled the daily CVS 
versions for Solaris 2.51, 2.6 or 7, but not 8.  

So my questions are: 

                    1) Am I missing something as far as compiling it
                       under Solaris 8?  Perhaps a configure flag of
                       some type to specify the target?  As you can see
                       from the above, the target gets recognized currently
                       as sparc-sun-solaris2.8

                    2) On SparcLinux I can do a 'sparc32 bash' to start
                       a 32-bit session to compile kernels for 32-bit 
                       machines.  Is there an equivalent mechanism on 
                       a running Solaris machine that might help to compile
                       gcc?


A little bit more about my environment: 

   I've tried compiling on various SPARCs running Solaris 8, some in 64-bit
mode (E3400/U10s), and some in 32-bit mode (SS20).

   My configure line is a:

$SRCDIR/configure --prefix=/usr/local/gcc_cvs --with-gnu-as --with-gnu-ld --enab
le-threads

   The compiler currently on our system is EGCS 1.1.2



Thanks in advance,

-Robb


-- 
- Robert S. Dubinski, Comp. Systems Tech for MSCS Dept, Marquette University -
-  Email me: tech@mscs.mu.edu  Home page at: http://www.mscs.mu.edu/~tech    -
-  I can use GPG-encrypted email.  My 1024-bit public key is at my website   -
-  GPG Key fingerprint = 6612 1A01 7A93 D79B 4C89  336E 592B DB76 61FB C156  -

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]