public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] CFLAGS and binutils
@ 2006-09-28 16:29 Daniel Glaser
  2006-09-29 12:10 ` [gentoo-embedded] apache on gnap (problems with apr-util) Janusz Syrytczyk
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Glaser @ 2006-09-28 16:29 UTC (permalink / raw
  To: gentoo-embedded

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi vapier,

in Bug http://bugs.gentoo.org/show_bug.cgi?id=149398 you said, that
I'm mistaken with CFLAGs in the role of cross-compilers.

OK, describing what I want:

I have two directories

ROOT=/usr/powerpc-softfloat-linux-uclibc (This is, where the toolchain
did go)
PORTAGE_CONFIGROOT=/var/ppceb

in /var/ppceb/etc/make.conf
CFLAGS="-Os -mcpu=405 -mtune=405 -fomit-frame-pointer -pipe"
CHOST="powerpc-softfloat-linux-uclibc"
CBUILD="i686-pc-linux-gnu"
CTARGET="powerpc-softfloat-linux-uclibc"

ACCEPT_KEYWORDS="-* ppc"

when I do a
ROOT="..so.." PORTAGE_CONFIGROOT="..so.." emerge binutils


It compiles some things with i686-pc-linux-gnu, where the problem
comes up, that it crashes, because gcc doesn't know -mcpu=405 and
- -mtune=405

You said before, that everything regarding libs should go there...
Tell me if I'm wrong, but when I put everything there and strip down
everything later or do a later emerge on the needed packages to
another ROOT, everything should be fine.

- -themole
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFG/h+LA0LfkMzpGMRApjxAJ9bX9jzHIaSQ+CW25cmkvqqSmsM9QCfb3G+
RlC7hVOkCWPlxhFNr97n4K8=
=LNc2
-----END PGP SIGNATURE-----

-- 
gentoo-embedded@gentoo.org mailing list



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

end of thread, other threads:[~2006-09-29 18:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-28 16:29 [gentoo-embedded] CFLAGS and binutils Daniel Glaser
2006-09-29 12:10 ` [gentoo-embedded] apache on gnap (problems with apr-util) Janusz Syrytczyk
2006-09-29 12:24   ` Daniel Glaser
2006-09-29 18:21     ` Janusz Syrytczyk
2006-09-29 14:55   ` Natanael Copa

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