-mbionic in gcc 4.6.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: gcc-help@xxxxxxxxxxx
- Subject: -mbionic in gcc 4.6.1
- From: Michael Zintakis <michael.zintakis@xxxxxxxxxxxxxx>
- Date: Sun, 26 Feb 2012 14:01:14 +0000
- Authentication-results: mr.google.com; spf=pass (google.com: domain of michael.zintakis@xxxxxxxxxxxxxx designates 10.14.37.7 as permitted sender) smtp.mail=michael.zintakis@xxxxxxxxxxxxxx; dkim=pass header.i=michael.zintakis@xxxxxxxxxxxxxx
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1330869720; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Received-SPF:Received:Received:Received:Message-ID:Date:From: User-Agent:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=x/HZ3VmKxLbN2z622PbvTvVI8ww=; b=bKx1gp1vILA8ncV vZswha0vFHQ5ixQhAqCxeP9ce+Ks1qL7wsmuO109Sgel4juB8Xih01uJoCMkF34F nUfAZqV0GWK3ISLUwngc6ySU0jaNfmhd6uRNov/dazoja4j+N1CHZwEB8rjFWtyW gywa/59D/23xm8GKh6es9RWomeJw=
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23
I have just discovered this option in gcc 4.6.1 and wanted to clarify
the purpose of it.
I tried to create a "hello world" in this way, but when I use this
option during linking, it seems to create a dependency on the main
android libc library (usually residing in /system/bin), which is fine,
but the linker still seems to keep the "normal" libc and libgcc
dependencies as well.
I guess what I was hoping to see is that gcc uses bionic and the entire
chain of android libc tool libraries, but I suspect that is a wishful
thinking on my part. Is there a way of deploying gcc in such a way,
without going the full monty with deploying the android sdk/ndk?
I was able to avoid these sort of issues up until now, by producing
statically-linked executables from a "normal" Linux environment (using
gcc and compile/build for the appropriate arm arch), and then just copy
these to my 'droid device - I have encountered no issues so far by doing
that, but this route is not always possible as some packages are not
easy to compile statically.
[Index of Archives]
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]