Problems compiling GCC on Solaris 2.5.1

Problems compiling GCC on Solaris 2.5.1

Post by Zachariah Bau » Sun, 10 Nov 1996 04:00:00



As the subject says, I'm having problems compiling gcc 2.7.2.1 on
Solaris 2.5.1.  I could go into detail as to what's the problem, but
there are many problems!!!

I'm using the SparcCompiler C++ 4.1.  I basically ran "configure" and
then typed "make".  It went for a little while, but then failed with
many many problems, some in various header files that came with
SparcCompiler.

I *really* don't want to use SparcCompiler.

Is there some trick that I'm not doing to get it to compile?

Better, can I get gcc binaries for Solaris 2.5.1?

Any help would be much apprectiated.

 
 
 

Problems compiling GCC on Solaris 2.5.1

Post by Candace or Eduard Martinesc » Sun, 10 Nov 1996 04:00:00




Quote:> As the subject says, I'm having problems compiling gcc 2.7.2.1 on
> Solaris 2.5.1.  I could go into detail as to what's the problem, but
> there are many problems!!!
...
> Any help would be much apprectiated.

You  need to run configure (like you did), then type 'make bootstrap'.

If you read the 'INSTALL' document, it should describe this.

                Ed

 
 
 

Problems compiling GCC on Solaris 2.5.1

Post by Casper H.S. Dik - Network Security Engine » Fri, 15 Nov 1996 04:00:00



>As the subject says, I'm having problems compiling gcc 2.7.2.1 on
>Solaris 2.5.1.  I could go into detail as to what's the problem, but
>there are many problems!!!
>I'm using the SparcCompiler C++ 4.1.  I basically ran "configure" and
>then typed "make".  It went for a little while, but then failed with
>many many problems, some in various header files that came with
>SparcCompiler.

Are you using the C++ compiler to compile gcc?

That won't work.

Do you have a working C compiler?

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

Problems compiling GCC on Solaris 2.5.1

Post by Mark A. Steve » Sat, 23 Nov 1996 04:00:00





>>As the subject says, I'm having problems compiling gcc 2.7.2.1 on
>>Solaris 2.5.1.  I could go into detail as to what's the problem, but
>>there are many problems!!!

>>I'm using the SparcCompiler C++ 4.1.  I basically ran "configure" and
>>then typed "make".  It went for a little while, but then failed with
>>many many problems, some in various header files that came with
>>SparcCompiler.

>Are you using the C++ compiler to compile gcc?

>That won't work.

>Do you have a working C compiler?

>Casper
>--
>Expressed in this posting are my opinions.  They are in no way related
>to opinions held by my employer, Sun Microsystems.
>Statements on Sun products included here are not gospel and may
>be fiction rather than truth.

A place to look for a working compiler is:

ftp://ftp.quintus.com/pub/GNU/2.5/sparc/

I used the files in there to build a compiler for 2.5.1 for gcc 2.7.2.
--
Mark A. Stevens                      Phone:    708-235-2204

Educational Computing Network        WWW:      http://www.ECNet.Net/users/xmas/
Governors State University           VMSHARE:  ECE/MARK

 
 
 

1. Problems compiling X under Solaris 2.4 with GCC 2.6.3

I'm trying to build X11R6 under Solaris 2.4 with GCC 2.6.3.  We are
trying to avoid any dependencies upon Sun's Sparcworks compiling
environment and therefore have not installed any of the Sparcworks
software.  We are also trying not to have any dependencies on
LD_LIBRARY_PATH.

We are getting a lot of warnings and errors compiling X, due to header
and c files not being found.  Some examples are attached at the end of
this message.

Someone must have successfully built X11R6 under this environment.
Could someone please clue me in to what is going on?  Surely Solaris
can't suck this badly.

We're in a crisis here, a prompt reply would be greatly appreciated.

-Paul

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

errors (just a few of the many):

makedepend  -- -I../../X11  -I/usr/local/X11R6/include  -Dsun -DSVR4     -DSVR4 -DCPP_PROGRAM="\"/usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/cpp\""  -- imake.c
makedepend: warning:  imake.c: 146: #error ISA not supported

makedepend: warning:  OpenDis.c, line 32: cannot find include file "X11/Xtrans.h"
        not in X11/Xtrans.h
        not in /usr/local/X11R6/include/X11/Xtrans.h
        not in ../../include/extensions/X11/Xtrans.h
        not in ../../lib/xtrans/X11/Xtrans.h
        not in /usr/include/X11/Xtrans.h

gcc -fpcc-struct-return -c -O2     -I/usr/local/X11R6/include  -Dsun -DSVR4   -DXTHREADS  -D_REENTRANT      -fpic ChActPGb.c
*unknown*: Assembler messages:
*unknown*:0: Can't open PIC for reading: No such file or directory

etc.....

2. KSpread

3. gcc 3.2 bootstrap compile problems on solaris 2.8

4. Announce Spgmr08-0.7

5. problem about compile GCC on Solaris 2.5 x86

6. startx : fbdevScreenInit: unable to set screen params (Paramhtre invalide.) ??

7. problem with gcc compiled vcrplus on solaris:libc_psr.so.1

8. Using Linux as a server

9. help!: sfio compile problems, Solaris 2.6, gcc 2.7.2.3

10. Solaris 2.6 gcc compile problems

11. Problem with cc-gcc compiling mod_jk in Solaris 9

12. Problem compiling gcc 2.3.3 under solaris 2.x

13. Problems to compile X11R5 (solaris 2.1) with gcc version cygnus-2.0.2