cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/27/20:31:14

Message-Id: <199808271617.SAA36454@ieva06.lanet.lv>
From: "Andris Pavenis" <pavenis AT lanet DOT lv>
To: Nathan Huizinga <nathan AT chess DOT nl>, djgpp AT delorie DOT com
Date: Thu, 27 Aug 1998 18:21:42 +0300
MIME-Version: 1.0
Subject: Re: Autoconf/automake for djgpp (MS-DOS)
In-reply-to: <35E569E7.58B1B3F5@chess.nl>

Date sent:      	Thu, 27 Aug 1998 16:15:03 +0200
From:           	Nathan Huizinga <nathan AT chess DOT nl>
Subject:        	Re: Autoconf/automake for djgpp (MS-DOS)

> Andris Pavenis wrote:
> 
> Both automake and autoconf work, but trying to run the configure script
> (generated by autoconf) fails. It does not take in account that DOS uses
> .exe for it's executalbles and therefore configure won't execute the
> files that are generated during "configure" is running.
> I've fixed this already and configure is now running correct. :-)
> Even in bash DOS executables should have .exe as extension...

To run configure under DOS it's necessary to set some 
environment variables. I think good way how to do this is to use 
some script that does this and runs configure with needed 
parameters. I think You'll need some for DOS as at least prefix is
not /usr/local/bin and this perhaps is not only.

Also invoking make (using Makefile generated by configure) often 
requires setting some environment parameters. An example of 
these scripts (djconfig.sh and djmake.sh) can be found in sources 
of DJGPP port of gcc-2.8.1 (gcc281s.zip).

One more thing: autoheader should be patched if used from
DOS session under Win9X. I included patch in readme.djgpp file
in archive gcc281s.zip.

However many packages cannot be built with DJGPP without 
serious hacking even if You'll suceed to run autoconf. 
> 
> BTW: I've got an "access denied" with djgpp while running mkinstalldirs.
> Any suggestions?!?
> 
Simply see the scripts and look what command caused this 
problem and try to find some workaround. Building many packages
with DJGPP is very tricky due to many limitations of MS-DOS.

For example to build latest snapshot of egcs under Linux it's 
enough to:
   - unpack source archive
   - run 'configure' with needed parameters
   - run 'make bootstrap'
   - run 'make install prefix=...'
Only hacking needed is to patch libio (which is slightly broken for
target i[34567]86-pc-linux-gnulibc1) before all this.

For DJGPP things are much more complicated. If one wants that
the results to be able to run without LFN support then some 
hacking  may be needed. The things are even more complicated 
if one wants to build package without LFN support.

Finally some short summary: be ready for at least some hacking
to build some package that comes from UNIX with DJGPP.

Andris

- Raw text -


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