public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] libSDL and stdc++ under gentoo-uclibc
@ 2005-04-20 19:48 james osburn
  2005-04-20 21:53 ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: james osburn @ 2005-04-20 19:48 UTC (permalink / raw
  To: gentoo-embedded

i have seen you post there before.
anyway i am using the uclibc stage3 to build bootable
cd. that is i download/untar stage3 and the portage snapshot
to a directory, then chroot inside of that directory
make my system.
what i have noticed is that the SDL libraries
link libstdc++ whereas when i buld SDL on
a mandrake or gentoo glibc based system they do not.
the other issue is that a project that uses c sources
requires me to link libstdc++.
what am i doing wrong?
thanks
jim


-- 
gentoo-embedded@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-embedded] libSDL and stdc++ under gentoo-uclibc
  2005-04-20 19:48 [gentoo-embedded] libSDL and stdc++ under gentoo-uclibc james osburn
@ 2005-04-20 21:53 ` Mike Frysinger
  2005-04-20 22:21   ` james osburn
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2005-04-20 21:53 UTC (permalink / raw
  To: gentoo-embedded

On Wednesday 20 April 2005 03:48 pm, james osburn wrote:
> what i have noticed is that the SDL libraries
> link libstdc++ whereas when i buld SDL on
> a mandrake or gentoo glibc based system they do not.

actually, they do:
$ readelf -d /usr/lib/libSDL-1.2.so.0.7.1 | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]

it's an issue of USE flags / libtool ... i never really cared to track down 
exactly how libstdc++ was being pulled in for SDL, so i never have :P
-mike
-- 
gentoo-embedded@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-embedded] libSDL and stdc++ under gentoo-uclibc
  2005-04-20 21:53 ` Mike Frysinger
@ 2005-04-20 22:21   ` james osburn
  0 siblings, 0 replies; 3+ messages in thread
From: james osburn @ 2005-04-20 22:21 UTC (permalink / raw
  To: gentoo-embedded

thanks for taking the time to post back.

i was going to say it seems to really gum up the works.
it prevents me from be able to compile "c" sources
everything must be compiled as "c++"
any ideas what i would need to do to
fix the issue.
jim


<html><DIV></DIV></html>



>From: Mike Frysinger <vapier@gentoo.org>
>Reply-To: gentoo-embedded@lists.gentoo.org
>To: gentoo-embedded@lists.gentoo.org
>Subject: Re: [gentoo-embedded] libSDL and stdc++ under gentoo-uclibc
>Date: Wed, 20 Apr 2005 17:53:51 -0400
>
>On Wednesday 20 April 2005 03:48 pm, james osburn wrote:
> > what i have noticed is that the SDL libraries
> > link libstdc++ whereas when i buld SDL on
> > a mandrake or gentoo glibc based system they do not.
>
>actually, they do:
>$ readelf -d /usr/lib/libSDL-1.2.so.0.7.1 | grep NEEDED
>  0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
>
>it's an issue of USE flags / libtool ... i never really cared to track down
>exactly how libstdc++ was being pulled in for SDL, so i never have :P
>-mike
>--
>gentoo-embedded@gentoo.org mailing list
>


-- 
gentoo-embedded@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-20 22:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-20 19:48 [gentoo-embedded] libSDL and stdc++ under gentoo-uclibc james osburn
2005-04-20 21:53 ` Mike Frysinger
2005-04-20 22:21   ` james osburn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox