From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7374 invoked by alias); 14 Jul 2006 21:29:04 -0000 Received: (qmail 7366 invoked by uid 22791); 14 Jul 2006 21:29:02 -0000 X-Spam-Check-By: sourceware.org Received: from fmmailgate03.web.de (HELO fmmailgate03.web.de) (217.72.192.234) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Jul 2006 21:28:56 +0000 Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate03.web.de (Postfix) with ESMTP id 5D67293626E for ; Fri, 14 Jul 2006 23:27:33 +0200 (CEST) Received: from [212.80.253.90] (helo=[192.168.35.151]) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.107 #114) id 1G1VC9-0007BG-00 for gcc-help@gcc.gnu.org; Fri, 14 Jul 2006 23:27:33 +0200 Message-ID: <44B80C44.5000909@web.de> Date: Fri, 14 Jul 2006 21:29:00 -0000 From: Tom Bachmann User-Agent: Mail/News 1.5 (X11/20060403) MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Building OS independant cross compilers (for ia64) OpenPGP: id=AF495A1B; url=home.arcor.de/ness01/0xAF495A1B.asc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Sender: e_mc_h2@web.de Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-07/txt/msg00192.txt.bz2 -----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? -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-----