Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian GCC (http://www.linux-archive.org/debian-gcc/)
-   -   Bug#670084: gcc-*: please allow cross-building for arbitrary GNU triplets (http://www.linux-archive.org/debian-gcc/658573-bug-670084-gcc-please-allow-cross-building-arbitrary-gnu-triplets.html)

Thorsten Glaser 04-22-2012 07:49 PM

Bug#670084: gcc-*: please allow cross-building for arbitrary GNU triplets
 
Source: gcc-4.6
Severity: wishlist

Hi,

while https://wiki.debian.org/BuildingCrossCompilers is an
invaluable help to people dabbling in such black art, but
wishing to do it “the proper Debian way”, it lacks a certain
functionality.

For example, if I want to build a cross-compiler to Debian/m68k,
I can use this for binutils:
|TARGET=$(dpkg-architecture -am68k -qDEB_HOST_GNU_TYPE 2>/dev/null)
(or just TARGET=m68k-linux-gnu of course)

But I need to use this for gcc-4.6:
|GCC_TARGET=m68k

Currently, reading the Debian gcc packaging, there seems to be no
way to create a cross-compiler the Debian way to something that is
not a Debian or Debian-Ports architecture.

I could probably register mint-m68k¹²³ with the dpkg developers, but
it would be more generically useful to just be able to tell it the
GNU triplet m68k-atari-mint and let GCC work with that (besides, the
package names are based on the triplets anyway).

* http://web.archive.org/web/20080517034704/http://debian-mint.nocrew.org/
② http://ftp.nocrew.org/pub/debian-mint/
③ Although I need the cross compiler to be able to compile a bootloader
for the Atari to boot Linux on it (and as such must run on the native
OS and be cross-built), not for continuing the Debian GNU/MiNT port.

bye,
//mirabilos
--
Support mksh as /bin/sh and RoQA dash NOW!
‣ src:bash (244 (263) bugs: 0 RC, 172 (186) I&N, 72 (77) M&W, 0 F&P)
‣ src:dash (75 (87) bugs: 3 RC, 31 (35) I&N, 41 (49) M&W, 0 F&P)
‣ src:mksh (1 bug: 0 RC, 0 I&N, 1 M&W, 0 F&P)
http://qa.debian.org/data/bts/graphs/d/dash.png is pretty red, innit?



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: Pine.BSM.4.64L.1204221933510.27380@herc.mirbsd.org ">http://lists.debian.org/Pine.BSM.4.64L.1204221933510.27380@herc.mirbsd.org


All times are GMT. The time now is 09:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.