ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/12/30/12:00:10

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Difficulties building a linux to djgpp cross compiler.
Date: Fri, 30 Dec 2011 08:35:42 -0800 (PST)
Organization: http://groups.google.com
Lines: 74
Message-ID: <3b904ec6-914d-46d4-b74a-23f69e1a2c02@v14g2000yqh.googlegroups.com>
References: <201112261434 DOT 17281 DOT juan DOT guerrero AT gmx DOT de> <4EFCA60E DOT 5060904 AT iki DOT fi>
NNTP-Posting-Host: 95.208.137.231
Mime-Version: 1.0
X-Trace: posting.google.com 1325263362 9493 127.0.0.1 (30 Dec 2011 16:42:42 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Fri, 30 Dec 2011 16:42:42 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: v14g2000yqh.googlegroups.com; posting-host=95.208.137.231; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HUALESNKRC
X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20100101 Firefox/9.0,gzip(gfe)
Bytes: 4022
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pBUH03mr007693
Reply-To: djgpp AT delorie DOT com

On 29 Dez., 18:40, Andris Pavenis <andris DOT pave DOT  DOT  DOT  AT iki DOT fi> wrote:
> 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<http://www.delorie.com/howto/djgpp/linux-x-djgpp-revised.html>.
> > 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

I will investigate this futher until I have understood how to
create a cross compiler.
Anyway I downloaded the compiled RPMs and they worked on my
linux box.

Regards,
Juan M. Guerrero

- Raw text -


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