Message-ID: From: "Andris Pavenis" To: Adrian Cox , djgpp AT delorie DOT com Date: Thu, 4 Mar 1999 13:18:00 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: linux to msdos cross compiler In-reply-to: <36DD73A4.9A094239@transtech-design.com> X-mailer: Pegasus Mail for Win32 (v3.02b14) Reply-To: djgpp AT delorie DOT com I have done it in slightly different way even more than once: - I didn't have instructions mentioned in original message when tried to build gcc-2.8.1 as cross-compiler under Linux in July 98. It was my first attempt and was no easy - Later I built egcs-1.1 and egcs-1.1.1 (also some development snapshots and prereleases) as cross-compilers and didn't met similar problems. Perhaps I'll do it once more with egcs-1.1.2 when it will be out. Especially as have upgraded from libc-5.4.46 to glibc-2.1 and that requires to rebuild many things. One additional step I did was to apply part of patches I did to gcc and egcs sources to build native compiler for DJGPP. Of course not all patches are required but some of them are recommended. Andris On 3 Mar 99, at 17:38, Adrian Cox wrote: > I'm trying to follow the new howto: > http://www.delorie.com/howto/djgpp/linux-x-djgpp.html > > I'm working on SuSe Linux 6.0, and the first problem occurs in building > binutils: everything appears to build correctly, but when I run the new > ld command, I get the following error: > > $ ld/ld-new -V > GNU ld version 2.9.1 (with BFD 2.9.1) > Supported emulations: > i386go32 > ld/ld-new:built in linker script:24: parse error > > This occurs when I configure with the recommended > --target=i586-pc-msdosdjgpp. The problem does not occur if I use the > more traditional --target=i486-go32-msdos, but the build of gcc-2.8.1 > for that target fails. > > Has anybody seen anything like this, and if so, have they solved it? Am > I just running the wrong version of Linux? > > - Adrian Cox >