X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs Date: Fri, 5 Mar 1999 17:32:32 +0200 (WET) From: Andris Pavenis To: DJ Delorie cc: djgpp AT delorie DOT com Subject: Re: linux to msdos cross compiler In-Reply-To: <199903051416.JAA16129@envy.delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Fri, 5 Mar 1999, DJ Delorie wrote: > > This means that djgpp's specs file needs to be copied into the gcc > build tree? Or at least, put somewhere that the build will use it > properly. Try adding "-v" to the command you commented out, and see > if it tells you which specs it's using. It should be using djgpp's. > > > The build process of gcc-2.8.1 does not know that it needs to use that > > specs file to build libgcc1-test, and will thus fail. One solution is to > > disable the building of libgcc1-test in gcc/Makefile after you > > configure: > I shall send shell script I used to build cross-gcc under Linux sometimes. I fight the problems with mixing specs files some time ago and solved them in shell script I used to build egcs-1.1.X (I specified specs in gcc command line where needed) For host gcc I explicitly set specs to `gcc -print-file-name=specs`. After that I no more got related conflicts. So there is no more need to edit Makefiles to build under Linux. But it may be necessary for different CPUs. Andris