George M. Gallant wrote:
> I tried to build sdcc at work today on Solaris 8. It failed to complete
> the configure process complaining about g++ and ucsim. Generic
> gcc is installed and I was able to build the gputils tool set. I commented
> out the references to ucsim and the suceeded with "make". Upon doing
> a "make install" the system rebuilt everthing. I then went to to
> devivce/lib/pic16 and did another configure and build. The resultant code
> were .rel & .sym files, not the pic .o's. I forced a -mpic16 and tried to
> rebuild the libraries. Now I get segmentation faults.
> I have built sdcc on Linux many times without these problems. Has anyone
> else experienced simoliar problems?
I tried it on Solaris8/Sparc.
The configure process will complete successfully, if you invoke it this way
$ LD_LIBRARY_PATH=/usr/local/lib ./configure
assuming your gcc is in /usr/local/lib, I think this have something to
do with the gcc vs g++ thing about standard c++ libraries, will try to
make a patch if I have the time.
Proceeding to make, then stop because the solaris8 yacc compiler could
not process SDCC.y (it was complaining about the except 6 line, after I
removed the -o option that was not supported from the makefile), maybe
will try with bison from sunfreeware.com later.
Phuah Yee Keat