Gentoo Archives: gentoo-embedded

From: Christopher Friedt <chrisfriedt@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Building packages
Date: Mon, 09 Mar 2009 03:01:34
Message-Id: 3ea34a000903082001y415e25faxe978f88a500c7fde@mail.gmail.com
In Reply to: Re: [gentoo-embedded] Building packages by Tim Erwin
1 Hi Tim,
2
3 On Sun, Mar 8, 2009 at 10:47 PM, Tim Erwin <taerwin@×××××.com> wrote:
4 > If I emerge-armv4tl-softfloat-linux-gnueabi -uvDN system this pulls in glibc
5 > will this cause problems?
6
7 Yes, you should avoid cross-emerging glibc to your 'sysroot', or
8 /usr/arm-softfloat-linux-gnueabi, if at all possible.
9
10 On a related note, if you're using that toolchain for the FR, then you
11 can squeeze out a few bytes of space, and squeeze in a few cycles of
12 performance if you set CFLAGS="-O2 -mcpu=arm920t -fomit-frame-pointer
13 -pipe" ... you'll loose the frame pointer for debugging purposes, but
14 compiling specifically for the arm920t core will certainly improve
15 overall performance and decrease binary size.
16
17 C