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]
Other format: [Raw text]

Compile on Solaris9, gcc 3.3.2


Hi,
   This is a little embarassing.  I thought I was building the 64bit version.  
But it didn't.  I kept running into, "mksh: Fatal error in reader: = missing 
from replacement macro reference" and rebuilt bootstrap at least four times.  I 
looked and looked, but couldn't understand the error message.  I tried different 
linkers, assemblers, and fooling with the configure switches.  I finally decided 
that the message meant nothing and that everything is probably OK.  So, after 
the third build, which I went back and did plain generic and ignored the errors, 
I ran a make install.  It seems to be good, but I think I'm going to rebuild it 
with all the 64bit switches turned on.  
   Before the make install, I tried downloading Dejagnu, expect, tcl/tk and 
running the test suites.  They did a lot of complaining.  I had to move tcl & tk 
header files by hand. (I hope what I did was right!?)  In the end, I got nothing 
that I could tell was usable.  The only output I got was from a test I stopped 
about halfway through.  I felt it was probably unreliable, and didn't keep the 
output.  
   Overall, it is good stuff.  99% of it worked perfectly.  The problem with 
someone like myself is that I have no idea how to troubleshoot that last 1% and 
mostly guessed at what I was doing. 
                                 Terry
   root@lehi#./config.guess
sparc-sun-solaris2.9
root@lehi#gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs
Configured with: /export/home/local/gcc-3.3.2/configure 
Thread model: posix
gcc version 3.3.2
root@lehi#which gcc
/usr/local/bin/gcc
root@lehi#file /usr/local/bin/gcc
/usr/local/bin/gcc:     ELF 32-bit MSB executable SPARC Version 1, dynamically 
linked, not stripped
root@lehi#

"CXX=/opt/gcc/gcc/g++ -B/opt/gcc/gcc/ -nostdinc++ -nostdinc++ 
-I/opt/gcc/sparc-sun-solaris2.9/sparcv9/libstdc++-v3/include/sparc-sun-solaris2.
9 -I/opt/gcc/sparc-sun-solaris2.9/sparcv9/libstdc++-v3/include 
-I/export/home/local/gcc-3.3.2/libstdc++-v3/libsupc++ 
-I/export/home/local/gcc-3.3.2/libstdc++-v3/libio 
-I/export/home/local/gcc-3.3.2/libstdc++-v3/include/backward 
-I/export/home/local/gcc-3.3.2/libstdc++-v3/testsuite 
-L/opt/gcc/sparc-sun-solaris2.9/sparcv9/libstdc++-v3/src 
-L/opt/gcc/sparc-sun-solaris2.9/sparcv9/libstdc++-v3/src/.libs 
-B/usr/local/sparc-sun-solaris2.9/bin/ -B/usr/local/sparc-sun-solaris2.9/lib/ 
-isystem /usr/local/sparc-sun-solaris2.9/include  -m64"  
"LD=/usr/ccs/bin/ld"  
"LIBCFLAGS=-O2 -g  -m64"  
"NM=nm"  
"PICFLAG="  
"RANLIB=true"  
"DESTDIR=" 
DO=all multi-do
mksh: Fatal error in reader: = missing from replacement macro reference
Current working directory /opt/gcc/sparc-sun-solaris2.9/libjava
*** Error code 1
make: Fatal error: Command failed for target `all-target-libjava'
Current working directory /opt/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'
root@lehi#


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