cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/2013/09/02/10:51:44

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <5224A5F3.3010500@iki.fi>
Date: Mon, 02 Sep 2013 17:51:31 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version: 1.0
To: djgpp AT delorie DOT com
CC: RoBoard Lab <robotics AT dmp DOT com DOT tw>
Subject: Re: DJGPP cross compilers for open-source hardware
References: <kvqdrb$1uei$1 AT adenine DOT netfront DOT net> <201308301736 DOT r7UHawZN001455 AT delorie DOT com> <l01lv0$1vuj$1 AT adenine DOT netfront DOT net>
In-Reply-To: <l01lv0$1vuj$1@adenine.netfront.net>
X-MIME-Autoconverted: from Quoted-Printable to 8bit by delorie.com id r82EpcUf012589
Reply-To: djgpp AT delorie DOT com

On 09/02/2013 12:32 PM, RoBoard Lab wrote:
> 於 2013/8/31 上午 01:36, DJ Delorie 提到:
>> There are RPMs for a linux-to-djgpp cross compiler, perhaps the
>> solution for you is to use that as a base to build native cross
>> compilers for each platform?
>
> We are trying Andris Pavenis's packages
> (http://ap1.pp.fi/djgpp/index.html) and success to build djcrx 2.04 and
> Binutils 2.19 under Cygwin.
>
> We failed to build gcc 4.3.2 last week; it seems to be due to the
> unmatched version of autoconf, and we are now building gcc again. If it
> works, we will try gcc 4.8.1 and Binutils 2.22 later. :)

That is the reason why I pack Autoconf, Automake, GMP, MPFR and MPC
into the source RPM and use static linking with GMP, MPFR and MPC for
building cross-compiler (GCC and all 3 mentioned libraries have GPL3 license,
so static linking does not cause problems as far as I understand).
As the result the cross-compiler RPM packages are usable for several
Linux distributions. The last builds were under CentOS 6.X. Earlier
I used CentOS 5.X for that. RPMs are tested in current Fedora versions and
works OK.

One can extract script fragments from SPEC file if the build is done in
a different way (not rpmbuild)

Andris



- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019