From: Tom Bachmann <e_mc_h2@web.de>
To: gcc-help@gcc.gnu.org
Subject: Building OS independant cross compilers (for ia64)
Date: Fri, 14 Jul 2006 21:29:00 -0000 [thread overview]
Message-ID: <44B80C44.5000909@web.de> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[Please cc me, I'm not registered to the list.]
Hello,
I try to write a little toy kernel for ppc64 and ia64, mainly to get to
know the architectures. Actually this message is about 2 question, one
the one hand, they're tightly related, on the other hand they're
relatively different (therefore I wasn't sure whether to send 2 messages
or not).
The first question is about what target to build in my case.
Conceptually I want a completely OS-independant toolchain only
consisting of binutils and a C compiler, but which target expresses
this? <target>-unknown-unknown doesn't work (system not recognized). For
ppc64, the following configuration options seem to do what I want:
"--prefix=... --target=powerpc64-unknown-linux-gnu --enable-languages=c
- --disable-shared --disable-threads --without-headers --disable-libssp
- --disable-libmudflap".
But the ia64 cross toolchains thing seems to be even more tricky. For
what I know it depends on glibc (depending on kernel-headers?), but I
definitely don't want glibc. I don't think it is conceptually right to
depend on linux kernel headers or glibc headers if neither is used. So
what should one pass here? I tried some options
(--target=ia64-unknown-elf, --with-newlib) to workaround this, without
success (always problems compiling fde-glibc.c obviously related to
headers [stdlib.h, link.h] not found).
Thanks for any help.
- --
- -ness-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEuAxEvD/ijq9JWhsRAn5GAJ9BSluP6Li/DjKYeSKDPAlNmG2dGACeIK3/
B0Tz1kWBuwbH0uyhvx+cbK4=
=NT72
-----END PGP SIGNATURE-----
next reply other threads:[~2006-07-14 21:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-14 21:29 Tom Bachmann [this message]
2006-07-15 10:36 ` Tom Bachmann
2006-07-17 18:44 ` Kai Ruottu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44B80C44.5000909@web.de \
--to=e_mc_h2@web.de \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).