From: "U. George" <gatgul@voicenet.com>
To: dev@porting.openoffice.org
Cc: axp-list@redhat.com
Subject: Re: [porting-dev] So it Compiles, what does ./setup create?
Date: Fri, 04 Apr 2003 20:12:32 -0500 [thread overview]
Message-ID: <3E8E2D80.90706@voicenet.com> (raw)
In-Reply-To: 1049501910.14199.3.camel@gandalf.foskey.org
It appears that you are unfamiliar with RH7.2 & ALPHA.
The standard for gcc & g++ compilers on this last ( ie RH is not
making any more ALPHA iso's ) release:
1) gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-102)
2) gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-102) ( very
interesting for g++ -v )
g++3 yields:
1) gcc version 3.0.4 (Red Hat Linux 7.2 3.0.4-1)
One has to manually ( as I did ) install the g++3 compiler in order to
begin building the OO src. My impression is that the g++3 is not a
really supported product for the RH7.2/ALPHA release ( ergo its somewhat
experimental ). This also goes with the gcc3 compiler. You take your
poison -- I gotta take g++3, its not necessarily so with the "C" component.
Time will tell if I can present a mix of gcc & g++3 objects to the
linker ( whats another day in the life of this build ;-} ). I might
agree if the mix was with g++ & g++3 that these objects will cause no
end of grief, but I'd still like to believe that "C" is still "simple &
stupid" enough to mix gcc & gcc3 at whim.
Ken Foskey wrote:
> On Sat, 2003-04-05 at 02:10, U. George wrote:
>
>>Well ( from LinuxAlphaEnv.Set.sh )
>>CC="gcc"
>>CXX="g++3"
>>LINK="gcc"
>>
>>Now i use LINK="gcc3" . I dont think the gcc compiler (should) care
>>about much of anything. The libs used for linking is something all
>>together different. I can be wrong, but i'll see ( albeit not so soon! )
>
>
> Most of my early problems were with mixing compilers like this. STLport
> compiled with gcc and linked with gcc-3.0 caused me no end of grief. I
> beleive these have all been solved but check your logs.
>
> You need to be consistent with your compiler versions. The libraries
> include pathes are different with versions therefore you will pull
> incorrect library versions.
>
> Finally if you link with g++ then you run on a platform without you
> particular release of the compiler setup will fail. It will work fine
> for your testing and if that is strategy number 1 then work with this
> and park the problem to be solved later.
>
>
>
next prev parent reply other threads:[~2003-04-05 1:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.NEB.4.21.0303301139480.1556-100000@polonius.bigw.org>
[not found] ` <3E878A9A.1000708@voicenet.com>
[not found] ` <200303302058.02273.kevin.hendricks@sympatico.ca>
2003-04-02 11:34 ` [porting-dev] So it Compiles, what does ./setup create? U. George
[not found] ` <200304020756.41030.kevin.hendricks@sympatico.ca>
2003-04-02 13:43 ` U. George
[not found] ` <200304021912.40641.kevin.hendricks@sympatico.ca>
[not found] ` <3E8B997E.1000401@voicenet.com>
[not found] ` <200304022152.34067.kevin.hendricks@sympatico.ca>
2003-04-03 3:15 ` U. George
[not found] ` <3E8DA95D.5060308@voicenet.com>
[not found] ` <200304041058.46442.kevin.hendricks@sympatico.ca>
[not found] ` <3E8DAE64.8000300@voicenet.com>
[not found] ` <1049501910.14199.3.camel@gandalf.foskey.org>
2003-04-05 1:12 ` U. George [this message]
2003-04-05 3:30 ` Kelledin
2003-04-05 10:36 ` U. George
2003-04-05 21:37 ` Kelledin
2003-04-05 21:19 ` U. George
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox