delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/09/03/12:37:14

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <52261016.108@iki.fi>
Date: Tue, 03 Sep 2013 19:36:38 +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> <5224A5F3 DOT 3010500 AT iki DOT fi> <l04m9c$1blh$1 AT adenine DOT netfront DOT net>
In-Reply-To: <l04m9c$1blh$1@adenine.netfront.net>
X-MIME-Autoconverted: from Quoted-Printable to 8bit by delorie.com id r83Gah52021675
Reply-To: djgpp AT delorie DOT com

On 09/03/2013 03:56 PM, RoBoard Lab wrote:
> 於 2013/9/2 下午 10:51, Andris Pavenis 提到:
>>
>> One can extract script fragments from SPEC file if the build is done in
>> a different way (not rpmbuild)
>>
>> Andris
>>
>
> Hi Andris, thank you for your packages and they are really useful. Using your packages, we
> successfully built Binutils 2.19 and 2.22 under Cygwin yesterday. By updating the matched version
> of Autoconf, we then built gcc 4.3.2, but after 1~2 hour it failed in compiling ali.adb.

There could be Cygwin related additional changes in GCC. I do not know, but You can try to check 
GCC sources for Cygwin (if they are used modified ones)

> Then we modified the SPEC file to remove the Ada compilation and rebuilt gcc, but it failed again
> possibly due to the version of MPFR; the error message is such as:
>
> /usr/src/rpm/BUILD/djcross-gcc-4.3.2/tmpinst/lib/libmpfr.a(get_str.o):get_str.c:(.text+0x4cd):
> undefined reference to  「__chkstk_ms」
>
> Today we updates MPFR in Cygwin and are building the gcc again. I will report the result later.

You can use the same approach as I did with building RPM packages - not use installed GMP, MPFR 
(and MPC for later GCC versions) at all but build accepable versions as static libraries and link 
with them.

Andris




- Raw text -


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