delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/04/14/09:52:05

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <4620DC83.2020905@iki.fi>
Date: Sat, 14 Apr 2007 16:52:03 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Thunderbird 2.0.0.0 (X11/20070326)
MIME-Version: 1.0
To: "DJGPP List (E-mail)" <djgpp AT delorie DOT com>
Subject: Re: Please help me compiling GCC/GPP 4.1.2
References: <1176555710 DOT 806593 DOT 33680 AT q75g2000hsh DOT googlegroups DOT com>
In-Reply-To: <1176555710.806593.33680@q75g2000hsh.googlegroups.com>
Reply-To: djgpp AT delorie DOT com

simnav AT gmail DOT com kirjoitti:
> I've last djgpp version installed and it correctly works. Now I want
> to build application on my pc for an embedded 386 board: but on it I
> get an illegal instruction signal faut. The error is in c++ library so
> I think it is compiled for a 586 target (?). So I tryed to rebuild gcc
> for i386 target,I followed all instructions in readme but executing sh
> djmake.sh bootstrap make return me with  "No rule to make target
> `bootstrap'.  Stop" error. In build.gcc folder there is no makefile, I
> found Makefile.in in gcc sources folder and I tryed to change djmake
> to use it adding -f $src\Makefile.in but I'm not sure it's correct
> since I get "missing separator" error from make.

Makefile is generated from Makefile.in when configuring sources.
There is script djconfig.sh for configuring sources in the same directory
as djmake.sh. There is also script djbuild.sh there which performs all steps
up to building binary packets (edit target name in djconfig.sh if needed,
before running it). I myself am lazy and use it (djbuild.sh).

> Can someone help me building gcc/gpp ? Or has someone recent libraries
> version already compiled for i386 ?

Target should not be a problem at least for C. The defaults
with the current build is -march=i386 -mtune=i586 (code should
run on i386 and higher, but is optimized for i586 by default).
One can override these settings using command line options.
C++ standard library is another story and the binary version in
gpp412b.zip is compatible with processors beginning with i486.

> I taken all files I used by zip picker in djgpp site.

- Raw text -


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