delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/05/02/02:51:50

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=fKhZAzLg2/NGeRhTvm5Y8wONFFT4hlVXPnaUtqHxEg8=;
b=nKbvoJgysvs4JSBi21fIY/1OHp/LUUwJc5AGrzbJxDWuQbQKxR/qb4iupW5blwJgQN
chpOmcnttl9FbN4+CMXi0sU67z6Udt7eSoGudJU9B9mit6JEVgPaODe9p9x3jYgn4IkH
M7V3YBi1P3FyyCycTCeRGM7/tp5GFRKoPveFrRh+2avFiDrLz7L83bB9acuzXA+tmUie
xOxbIl9hNNXQYSepZ3KEP6R3jFG5UC1yjUuQu+BV5I7L5Zi41Dnh08wFmLXAR2IDLK1p
zrCH9mLngLE4y6P5nOqQPM4Wnt65s5Zou4hO3z/d6SN5Z3y+hkukt7eMrsSRoXcxJhVO
bRWQ==
MIME-Version: 1.0
In-Reply-To: <4FA0B01E.5090809@iki.fi>
References: <4f9ff733$0$2610$892e0abb AT auth DOT newsreader DOT octanews DOT com>
<4FA0B01E DOT 5090809 AT iki DOT fi>
Date: Wed, 2 May 2012 09:20:59 +0300
Message-ID: <CAA2C=vAZSzboRkjYtk7-6M_=47UdjLZKXdNHUnyPryw5df_RFg@mail.gmail.com>
Subject: Re: Building DJGPP cross-compiler from Andris' SRPMS on x86_64
From: Ozkan Sezer <sezeroz AT gmail DOT com>
To: djgpp AT delorie DOT com
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

On Wed, May 2, 2012 at 6:55 AM, Andris Pavenis <andris DOT pavenis AT iki DOT fi> wrote:
> On 05/01/2012 05:46 PM, Bob Tanner wrote:
>>
>> Downloaded the necessary .src.rpm from http://ap1.pp.fi/djgpp/
>>
>> Attempting to compile the src.rpm on CentOS 6.2 x86_64.
>>
>> First question, can the host platform by x86_64?
>>
>> djcross-binutils-2.19-9ap.x86_64 built without any problem.
>>
>> $ rpmbuild -bb djcrx.spec
>> error: Failed build dependencies:
>> djcross-gcc >= 4.1.0 is needed by djcrx-2.04pre_20111027-14ap.x86_64
>>
>> $ rpmbuild -bb djcross-gcc-4.7.spec
>> error: Failed build dependencies:
>> djcrx is needed by djcross-gcc-4.7.0-1ap.x86_64
>>
>> Cyclic dependencies?
>
>
> There is one earlier SRPM
>
> ftp://ftp.delorie.com/pub/djgpp/rpms/djcrx-2.04pre-5.src.rpm
>
> which does not depend on existing cross-compiler build. It uses prepackaged
> djcrx204.zip package. Later versions uses CVS snapshots of DJGPP library
> sources.
>
> It is old and current rpmbuild complains about target related packages
> present in noarch package. You can change target to x86_64 in SPEC file.
> After that RPM package builds OK in Fedora 16 x86_64.
> I have not tried CentOS-6.2. My available builds for ix86 are done in
> CentOS-5.X chroot under Fedora x86_64 version.
>
>
>
>> Since I'm 64-bit CentOS I can't install the i686.rpm.
>>
>> Is the djcrx-2.04pre_20110501-14ap.i386.rpm 32-bit only?
>>
>> Does the host platform need to be 32-bit?
>
>
> djcrx RPM contains stubify and stubedit executables, so it is target
> dependent.
>
> One can install 32 bit packages in x86_64 linux installation, but not in
> opposite direction. As result only 32 bit packages were provided . You do
> not need very much for my RPM builds of cross-compiler. Of course that
> assumes available root access on system.

FYI: The djcrx srpm has several patches none of which are necessary
today: -m32 is not needed with current djcvs nor are the -fno-builtin-* stuff.

>
> Andris

--
O.S.

- Raw text -


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