X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <4EFCA60E.5060904@iki.fi> Date: Thu, 29 Dec 2011 18:40:30 +0100 From: Andris Pavenis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: Juan Manuel Guerrero CC: djgpp AT delorie DOT com Subject: Re: Difficulties building a linux to djgpp cross compiler. References: <201112261434 DOT 17281 DOT juan DOT guerrero AT gmx DOT de> In-Reply-To: <201112261434.17281.juan.guerrero@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com On 12/26/2011 02:34 PM, Juan Manuel Guerrero wrote: > I have tried to build a linux to djgpp cross compiler on my linux box (opensuse 12.1). > I have followed the intructions given in. > I have used binutils-2.22 and gcc-4.6.2. djcrx203.zip has been created from > today's CVS repository code. djcross-gcc-4.6.2.tar.bz2 has been downloaded > from Andris' homepage. I'm afraid that the instractions there could be outdated. Downloaded file (djcross-gcc-4.6.2.tar.bz2) contains SPEC file which should be used. I also used specified versions of several external packages. The simplest is perhaps to download SRPM from either my homepage or from ftp.delorie.com (from pub/djgpp/rpms). Binary RPMS there are built under CentOS-5.7 (or 5.6) 32-bit and are statically linked with several libraries (like GMP, MPFR, MPC) to avoid unnecessary dependencies and are working also for example under Fedora 16. Building from my SRPM is also verified to work under Fedora 16 x86_64. > > Everything works flawlessly until the script tries to check multilib > configuration for libgfortran. Here the configure scripts aborts with > the following error message: > [snip] > checking dependency style of /usr/local/src/packages/cross/djcross-gcc-4.6.2/gnu/gcc-4.6.2-obj/./gcc/xgcc -B/usr/local/src/packages/cross/djcross-gcc-4.6.2/gnu/gcc-4.6.2-obj/./gcc/ -B/usr/local/compiler/cross/djgpp/i586-pc-msdosdjgpp/bin/ -B/usr/local/compiler/cross/djgpp/i586-pc-msdosdjgpp/lib/ -isystem /usr/local/compiler/cross/djgpp/i586-pc-msdosdjgpp/include -isystem /usr/local/compiler/cross/djgpp/i586-pc-msdosdjgpp/sys-include ... (cached) gcc3 > checking whether symbol versioning is supported... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. > make[1]: *** [configure-target-libgfortran] Error 1 > Checking multilib configuration for libobjc... > [snip] > > Neitherless the build process continues for all other libraries. They also > fails in the same way with the same error message. The last library to fail > is libobjc. > > The native compiler is gcc 4.6.2 and native binutils 2.21.1. > If more information is needed please let me know. > I do not remember seen similar problems with my SRPM packages. I have not however tested on opensuse Andris