Re: Question about C++ package.

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

 



On Thu, 2015-07-09 at 17:22 +0200, Jakub Jelinek wrote:
> On Thu, Jul 09, 2015 at 04:18:19PM +0100, Russel Winder wrote:
> > 
[…]
> /usr/lib/gcc/x86_64-redhat-linux/5.1.1/libstdc++.a is just a symlink.
> You need to install libstdc++-static package if you want to link 
> statically
> against -lstdc++ (similarly to pretty much any other library package in 
> Fedora).
> 
> If you install libstdc++-static.x86_64, you'll be able to link against 64
> -bit
> libstdc++.a, if you install libstdc++-static.i686, you'll be able to link
> against 32-bit libstdc++.a (with -m32), if you install both, then against
> both.
> As always, static linking is not recommended (which is why you need the
> extra *-static packages in Fedora).

So there is a bug here, that the 32-bit static package gets installed with
the shared objected package?

I installed the package you suggested which does indeed have the needed
archive. Thus I was missing something for 64-bit, but I believe there is
inconsistency regarding the 32-bit archive.

-- 
Russel.
=============================================================================
Dr Russel Winder     t:+44 20 7585 2200   voip:sip:
russel.winder@xxxxxxxxx
41 Buckmaster Road   m:+44 7770 465 077   xmpp:russel@xxxxxxxxxxxxx
London SW11 1EN, UK  w: www.russel.org.uk skype:russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux