Mail Archives: djgpp/2013/09/03/12:37:14
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 -