delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/04/26/17:15:27

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Cross-compiling on Lucid (10.04) Linux
Date: Thu, 26 Apr 2012 13:53:10 -0700 (PDT)
Organization: http://groups.google.com
Lines: 69
Message-ID: <77e963ca-ceea-4bed-ac25-98c3ed175313@h12g2000yqi.googlegroups.com>
References: <4f996694$0$17213$892e0abb AT auth DOT newsreader DOT octanews DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1335473590 30669 127.0.0.1 (26 Apr 2012 20:53:10 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 26 Apr 2012 20:53:10 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: h12g2000yqi.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16
(KHTML, like Gecko) Chrome/10.0.630.0 Safari/534.16,gzip(gfe)
Bytes: 3335
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 q3QLF2j4028658
Reply-To: djgpp AT delorie DOT com

Hi,

On Apr 26, 10:15 am, Bob Tanner <tan DOT  DOT  DOT  AT real-time DOT com> wrote:
>
> Please let me know if this is not the proper place to post this
> question. Thanks.

It's fine. Either here or http://sourceware.org/ml/crossgcc/ (I
guess??).

> I'm attempting to build a cross-compiler on lucid (10.04) linux and I'm
> getting the following error:
>
> (snip)
>
> I'm using the Linux x86 Host Cross Compilter HOWTO located athttp://www.delorie.com/howto/djgpp/linux-x-djgpp-revised.html
>
> There's a couple differences from documented HOWTO:
>
> The host compiler is different (HOWTO uses gcc-3.2, Lucid has 4.4.3)
>
> lucid $ gcc --version
> gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3

Same as my Lucid Puppy Linux. So, in theory, I could help, but
experience tells me that this is way over my head. (I've tried before
and failed miserably.)

> I could not find gcc32s2.zip I could only have gcc323s2.zip on ftp.delorie.com

Probably found in /deleted/ , lemme check:

http://na.mirror.garr.it/mirrors/djgpp/deleted/v2gnu/gcc32s2.zip

Though, as mentioned, that HOWTO is kinda old and maybe doesn't
totally work (easily) anymore.

> I've tried same things with:
>
> binutils-2.22.tar.gz
> djcrx203.zip
> gcc462s.zip
> gcc-4.7.0.tar.gz

Ick, I don't know if you're mixing too many versions or
overcomplicating it or what. At least djcrx203 is "current" 2.03p2,
right? Make sure you don't mix 2.04 with that.

> Any help would be appreciated.
>
> Thanks.

Well, what stuff are you later trying to build? If C/C++ is good
enough, you can use Ozkan's cross compiler (GCC/G++ 3.4.6, BinUtils
2.16.1, using libc 2.04 "beta" from CVS), I have it installed here
(Lucid Puppy), and it works pretty well:

http://sourceforge.net/projects/uhexen2/files/HoT%20-%20Support%20Files/cross%20compilers/

So unless you need newer optimizations or features (or Ada or Fortran
or whatever), it should be good enough.

P.S. FreePascal seems to have lots of cross-BinUtils, but I don't see
any premade ones for Linux to GO32 in there (but from MinGW exists).

ftp://ftp.freepascal.org/pub/fpc/contrib/cross/

- Raw text -


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