public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gcc-3.3.6 and the pentium-m flag
@ 2007-06-09 16:39 Randy Barlow
  2007-06-09 16:48 ` Bo Ørsted Andresen
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Barlow @ 2007-06-09 16:39 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am trying to install virtualbox to play with it (any other non-masked
virtualization tools besides Xen and qemu that you might recommend me
trying out?) and it wants to pull in gcc-3.3.6.  That's fine, but I am
using the -march=pentium-m flag on my laptop and that wasn't a valid
flag in the days of gcc-3.3.6 so the build fails.  Is there something
similar to /etc/portage/package.use where I can specify different CFLAGS
for this particular ebuild?  Other suggestions?

- --
Randy Barlow
http://electronsweatshop.com

But you are a chosen race, a royal priesthood, a holy nation, a people
for his own possession, that you may proclaim the excellencies of him
who called you out of darkness into his marvelous light. Once you were
not a people, but now you are God's people; once you had not received
mercy, but now you have received mercy. ~1 Peter 2:9-10

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGatfB7So1xaF/eR8RAqJAAJ0fl5ecwUT7swck6RKD7ClS0PlNAgCgh4HR
cLjU8jYyIgofhq82pUEbAks=
=OIZp
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] gcc-3.3.6 and the pentium-m flag
  2007-06-09 16:39 [gentoo-user] gcc-3.3.6 and the pentium-m flag Randy Barlow
@ 2007-06-09 16:48 ` Bo Ørsted Andresen
  2007-06-09 16:59   ` Naga Toro
  0 siblings, 1 reply; 4+ messages in thread
From: Bo Ørsted Andresen @ 2007-06-09 16:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 911 bytes --]

On Saturday 09 June 2007 18:39:29 Randy Barlow wrote:
> I am trying to install virtualbox to play with it (any other non-masked
> virtualization tools besides Xen and qemu that you might recommend me
> trying out?) and it wants to pull in gcc-3.3.6.  That's fine, but I am
> using the -march=pentium-m flag on my laptop and that wasn't a valid
> flag in the days of gcc-3.3.6 so the build fails.  Is there something
> similar to /etc/portage/package.use where I can specify different CFLAGS
> for this particular ebuild?  Other suggestions?

Either put something like the following in /etc/portage/bashrc:

case "$CATEGORY/$PN" in
    app-emulation/virtualbox)
        CFLAGS="-march=..."
        CXXFLAGS="$CFLAGS"
    ;;
esac

Or:

# mkdir -p /etc/portage/env/app-emulation && echo 'CFLAGS="-march=..."
CXXFLAGS="$CFLAGS"' > /etc/portage/env/app-emulation/virtualbox

-- 
Bo Andresen

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] gcc-3.3.6 and the pentium-m flag
  2007-06-09 16:48 ` Bo Ørsted Andresen
@ 2007-06-09 16:59   ` Naga Toro
  2007-06-09 17:28     ` Bo Ørsted Andresen
  0 siblings, 1 reply; 4+ messages in thread
From: Naga Toro @ 2007-06-09 16:59 UTC (permalink / raw
  To: gentoo-user

On Saturday 09 June 2007 18.48.34 Bo Ørsted Andresen wrote:
> On Saturday 09 June 2007 18:39:29 Randy Barlow wrote:
> > I am trying to install virtualbox to play with it (any other non-masked
> > virtualization tools besides Xen and qemu that you might recommend me
> > trying out?) and it wants to pull in gcc-3.3.6.  That's fine, but I am
> > using the -march=pentium-m flag on my laptop and that wasn't a valid
> > flag in the days of gcc-3.3.6 so the build fails.  Is there something
> > similar to /etc/portage/package.use where I can specify different CFLAGS
> > for this particular ebuild?  Other suggestions?
[2 good sugestions]

or emerge libstdc++-v3

-- 
Naga
--
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] gcc-3.3.6 and the pentium-m flag
  2007-06-09 16:59   ` Naga Toro
@ 2007-06-09 17:28     ` Bo Ørsted Andresen
  0 siblings, 0 replies; 4+ messages in thread
From: Bo Ørsted Andresen @ 2007-06-09 17:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

On Saturday 09 June 2007 18:59:02 Naga Toro wrote:
> [2 good sugestions]
>
> or emerge libstdc++-v3

Hah, I just assumed it was one of those few packages (like qemu-softmmu) that 
actually needed to be compiled with gcc-3.x. But indeed according to the 
ebuilds it's just need the right ABI for libstdc++. ;)

-- 
Bo Andresen

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2007-06-09 17:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-09 16:39 [gentoo-user] gcc-3.3.6 and the pentium-m flag Randy Barlow
2007-06-09 16:48 ` Bo Ørsted Andresen
2007-06-09 16:59   ` Naga Toro
2007-06-09 17:28     ` Bo Ørsted Andresen

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