delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/09/09/10:45:05

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: RoBoard Lab <robotics AT dmp DOT com DOT tw>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP cross compilers for open-source hardware
Date: Mon, 09 Sep 2013 22:32:20 +0800
Organization: Netfront http://www.netfront.net/
Lines: 43
Message-ID: <l0km5j$2ii5$1@adenine.netfront.net>
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> <52261016 DOT 108 AT iki DOT fi> <l07i4v$g1t$1 AT adenine DOT netfront DOT net>
NNTP-Posting-Host: 114.34.144.113
Mime-Version: 1.0
X-Trace: adenine.netfront.net 1378737139 84549 114.34.144.113 (9 Sep 2013 14:32:19 GMT)
X-Complaints-To: news AT netfront DOT net
NNTP-Posting-Date: Mon, 9 Sep 2013 14:32:19 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
In-Reply-To: <l07i4v$g1t$1@adenine.netfront.net>
Bytes: 2772
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

於 2013/9/4 下午 11:03, RoBoard Lab 提到:
> 於 2013/9/4 上午 12:36, Andris Pavenis 提到:
>>
>> 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
>>
>
> We are following your approach to build gcc 4.3.2 under Cygwin, and
> today the compiling fails again at the same place (when linking
> cc1-dummy.exe):
>
> --- error messages ---
>......
> (.text+0xbb5): more undefined references '___chkstk_ms'
> ------
>
> The '___chkstk_ms' is in libgcc.a, and so we add manually -L -lgcc to
> the above xgcc command line and then the linking of cc1-dummy.exe
> successes. It seems that the makefile should be patched for Cygwin. We
> will try this and report later. :)
>

After we add the path of libgcc.a to 
BUILD/djcross-gcc-4.3.2/gnu/gcc-4.32/configure, the gcc executions 
(i586-pc-msdosdjgpp-gcc.exe, ...) are successfully generated. But the 
building process are still not completed and stops on the following 
error message:

--- error messages ---
strip:i586-pc-msdosdjgpp-gccbug: File format not recognized
copy from `i586-pc-msdosdjgpp-gcov.exe' [pei-i386] to `stWtt5uV' [pei-i386]
error: Bad exit status from /var/tmp/rpm-tmp.47683 (%install)
------

Using the i586-pc-msdosdjgpp-gcc to compile a test.c, the compilation 
can be done. But the test.exe crashes in DOS. We are checking details of 
the building process.


--- news://freenews.netfront.net/ - complaints: news AT netfront DOT net ---

- Raw text -


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