Mail Archives: djgpp/1999/02/28/07:47:55
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).
- Raw text -