3 msgNeed help with optimization options
2 msgstrict aliasing rule and examples
4 msgAnother question. How can I dump gimple IR afte...

running library built in gcc 3.4 on another lin...
\ Yi Pan (26 Feb 2008)
. \ Andrew Haley (26 Feb 2008)
. . \ Tim Prince (27 Feb 2008)
. . . \ Andrew Haley (27 Feb 2008)

1 msgHow to instrument an initcall?
1 msgconst array warning question
3 msgg++ 4.2.x x86: code generation for __sync_lock_...
1 msgHow to traverse through all type declarations i...
2 msgdata base calls
11 msgmay be undefined operation warning
2 msgnon virtual dtor warning
3 msggcc-3.4.3 and libstdc++.so.(5|6)
1 msgMigrating from gcc 2.95.3 to 3.4.5 in vxWorks o...
5 msgTarget specific behaviour
4 msgFunction Lookup
6 msginlined functions and ABI guarantees
2 msgCannot compile GCC on Ubuntu 7.10 x86_64
3 msgC main 32/64 bit prologues differ
4 msgForce generation of an uncalled method?
5 msggcc 3.2
Subject:Re: running library built in gcc 3.4 on another linux box with gcc 2.96
Group:Gcc-help
From:Andrew Haley
Date:27 Feb 2008


Tim Prince wrote:
> Andrew Haley wrote:
>> Yi Pan wrote:
>>
>>> I'm trying to run libraries that are built by gcc 3.4 on another linux
>>> box which only has 2.96.
>>>
>>> Could you please let me know how to check which gcc3.4 libraries I
>>> need, so I can copy these gcc3.4 libraries to the gcc 2.96 linux box?
>> Use the command 'ldd'.
>>
>>> OR it there a better way to do this?
>>>
>>> The reason is because our client doesn't what to install the whole gcc
>>> 3.4 on their box--so I'm trying a find a way that we can deliver our
>>> library with a few gcc library files to them and they can run our
>>> libraries right away.
>> It would make much more sense simply to rebuild on the older gcc version.
>
> Maybe with static link?

Maybe, but that's ridden with so many problems that we really shouldn't
advise non-experts to do it. It's safer to package the libraries with
the executable.

Andrew.



© 2004-2008 readlist.com