Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Christopher Friedt <chrisfriedt@...>
Subject: Re: gcc-4.6 / bionic
Date: Sun, 10 Apr 2011 09:43:09 -0400
Hrrmm... gnuconfig has alreaded added linux-android* upstream for
their system types in config.sub but using 'android' as a descriptor
for the libc really wouldn't make sense if it wasn't an Android
system.

It would probably be prudent to add linux-android* | linux-bionic* ...
there are a few significant differences. I guess the main
differentiators would be FHS (android prefixes everything with
/system), support for /etc/passwd, /etc/group, /etc/resolv.conf,
crypt(3), getpwnam(3), getgrnam(3), and essentially any other missing
feature that people might want to add in the future.

They also don't have an entry in config.guess for LIBC=android (or
LIBC=bionic). Something like this would work.

...
        # ifdef __BIONIC__
        # ifdef __ANDROID__
        LIBC=android
        # else
        LIBC=bionic
        # endif
        # else
        LIBC=gnu
        # endif
...

I'll add a gnuconfig revision with those changes in my overlay.

To me, it just makes sense to differentiate this way... of should
still be possible to build an Android toolchain, so I'll add
IUSE=android to the bionic ebuild. The bionic ebuild is otherwise
done, but I still have to add something for
crosscompile_opts_headers-only before it works with crossdev.

Cheers,

C


Replies:
Re: gcc-4.6 / bionic
-- Mike Frysinger
References:
gcc-4.6 / bionic
-- Christopher Friedt
Re: gcc-4.6 / bionic
-- wireless
Re: gcc-4.6 / bionic
-- Christopher Friedt
Re: gcc-4.6 / bionic
-- Mike Frysinger
Re: gcc-4.6 / bionic
-- Christopher Friedt
Re: gcc-4.6 / bionic
-- Mike Frysinger
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: gcc-4.6 / bionic
Next by thread:
Re: gcc-4.6 / bionic
Previous by date:
Re: gcc-4.6 / bionic
Next by date:
A small note for dev-embedded/qvfb/qvfb-4.6.3.ebuild


Updated Jun 25, 2012

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.