Date: Sun, 28 Feb 1999 14:46:09 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Adam Siegel cc: djgpp AT delorie DOT com Subject: Re: Port to DJGPP In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sat, 27 Feb 1999, Adam Siegel wrote: > I have a UNIX program that compiles under Linux with gcc. I am trying to > port to DOS. Under the DJGPP environment, using bash I tried to run the > configure code for the program. I get the error > > bash$ ./configure > bash: (null): Invalid argument (EINVAL) GNU configure scripts need some minor tweaking to run with DJGPP tools. I suggest to download some source distribution of a GNU package from the DJGPP site and look there for hints. One example I'd recommend is the Sed distribution, v2gnu/sed302s.zip; look specifically at the files in the djgpp subdirectory, beginning with config.bat and README.djgpp. If there are further problems, post them here. > 1) configure > 2) make > 3) make install > > Like in Linux. Well, almost. The above-mentioned Sed distribution is built by saying this: djgpp\config make make install (the first step runs the configure script from within the batch file).