Gentoo Archives: gentoo-embedded

From: Daniel Glaser <daniel.glaser@××××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] CFLAGS and binutils
Date: Thu, 28 Sep 2006 16:27:26
Message-Id: 451BF87F.6050500@chaintronics.com
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi vapier,
5
6 in Bug http://bugs.gentoo.org/show_bug.cgi?id=149398 you said, that
7 I'm mistaken with CFLAGs in the role of cross-compilers.
8
9 OK, describing what I want:
10
11 I have two directories
12
13 ROOT=/usr/powerpc-softfloat-linux-uclibc (This is, where the toolchain
14 did go)
15 PORTAGE_CONFIGROOT=/var/ppceb
16
17 in /var/ppceb/etc/make.conf
18 CFLAGS="-Os -mcpu=405 -mtune=405 -fomit-frame-pointer -pipe"
19 CHOST="powerpc-softfloat-linux-uclibc"
20 CBUILD="i686-pc-linux-gnu"
21 CTARGET="powerpc-softfloat-linux-uclibc"
22
23 ACCEPT_KEYWORDS="-* ppc"
24
25 when I do a
26 ROOT="..so.." PORTAGE_CONFIGROOT="..so.." emerge binutils
27
28
29 It compiles some things with i686-pc-linux-gnu, where the problem
30 comes up, that it crashes, because gcc doesn't know -mcpu=405 and
31 - -mtune=405
32
33 You said before, that everything regarding libs should go there...
34 Tell me if I'm wrong, but when I put everything there and strip down
35 everything later or do a later emerge on the needed packages to
36 another ROOT, everything should be fine.
37
38 - -themole
39 -----BEGIN PGP SIGNATURE-----
40 Version: GnuPG v1.4.5 (MingW32)
41 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
42
43 iD8DBQFFG/h+LA0LfkMzpGMRApjxAJ9bX9jzHIaSQ+CW25cmkvqqSmsM9QCfb3G+
44 RlC7hVOkCWPlxhFNr97n4K8=
45 =LNc2
46 -----END PGP SIGNATURE-----
47
48 --
49 gentoo-embedded@g.o mailing list

Replies

Subject Author
[gentoo-embedded] apache on gnap (problems with apr-util) Janusz Syrytczyk <jsyrytczyk@×××××××××.pl>