delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/28/07:47:55

Date: Sun, 28 Feb 1999 14:46:09 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Adam Siegel <adam AT buttonwoodinet DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Port to DJGPP
In-Reply-To: <NLQB2.159$ZW.133@news.cwix.com>
Message-ID: <Pine.SUN.3.91.990228144545.5950g-100000@is>
MIME-Version: 1.0
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).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019