X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <46FF5073.8000602@iki.fi> Date: Sun, 30 Sep 2007 10:29:55 +0300 From: Andris Pavenis User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Problem building djgpp cross compiler References: <46FF0C7E DOT 4060104 AT gmail DOT com> In-Reply-To: <46FF0C7E.4060104@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X--MailScanner-Information: Please contact the ISP for more information X--MailScanner: Found to be clean X--MailScanner-From: andris DOT pavenis AT iki DOT fi X-Spam-Status: No Reply-To: djgpp AT delorie DOT com nn6eumtr wrote: > X-No-Archive: Yes > > I'm hoping someone can help me with this. I've read everything I can > find about building djgpp as a cross compiler, but I haven't seen > anything that discusses this problem. > > I am building using the stock GCC and binutil source code: > http://ftp.gnu.org/gnu/binutils/binutils-2.18.tar.bz2 > http://ftp.gnu.org/gnu/gcc/gcc-4.2.1/gcc-4.2.1.tar.bz2 > > My host is i686-pc-linux-gnu and my target is i586-pc-msdosdjgpp. The > directory structure containing my cross compiling files (prefix)is > /db/xlocal. > > My build compiler is "gcc (GCC) 4.1.2 20061115 (prerelease) (Debian > 4.1.1-21)" from the latest Debian Linux distribution. > > I've unpacked the binutils and gcc source files into /db directory, and > created binutils-djgpp and gcc-djgpp for building. My path includes > /db/xlocal/bin which has the binaries from binutils (i.e. > i586-pc-msdosdjgpp-ld) You may take a look at RPM files available from ftp://ftp.delorie.com/pub/djgpp/rpms I know You are using Debian, but from You can see from specs files in source RPMs, how I built cross-compiler. One hint: I used the same patched sources which was used to build GCC as native compiler for DJGPP Andris