help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling with Sun Studio


From: John Swensen
Subject: Re: compiling with Sun Studio
Date: Thu, 30 Aug 2007 07:53:48 -0400
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)

John W. Eaton wrote:
On 29-Aug-2007, John Swensen wrote:

| I'm not sure why there is a libgcc_s.so in the /opt/csw/lib directory. | I think it is because the CSW package system installs 2 compilers: GCC3 | and GCC4. It puts GCC3 in both /opt/csw/bin and in /opt/csw/gcc3/bin, | and GCC4 in /opt/csw/gcc4/bin. So this libgcc_s.so probably corresponds | to GCC3.

That installation looks a bit screwed up.

jwe


I went back and checked the CSW packages again, just to make sure that we hadn't don't some sort of "non-standard" installation of GCC. Sure enough, the CSW packages found at http://www.blastwave.org/packages.php install it in exactly this manner.

I did a diff on the output of nm for both the old and new version of libgcc_s.so. There are very few differences in symbol names (of course a lot of the addressed within the shared library are different, but this shouldn't matter). One of the interesting differences is that there is a set of absolute symbols in the file that look like GCC version numbers. Both files have
00000000 A GCC_3.0
00000000 A GCC_3.3
00000000 A GCC_3.3.1
00000000 A GCC_3.4
00000000 A GCC_3.4.2

The newer libgcc_s.so also has
00000000 A GCC_4.0.0

So, I don't know if I can simply move the old one out of the way and make a symlink to the newer one. I hate doing hacks like this, but don't know how else to proceed.

John Swensen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]