delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/03/06:49:31

From: Ivo Janssen <ivo AT ricardis DOT tudelft DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Rebuilding gcc - "make install", "configur.bat" both fail
Date: Wed, 03 Sep 1997 11:51:19 +0200
Organization: TNO-FEL
Message-ID: <340D3317.D969176D@ricardis.tudelft.nl>
References: <340ccbd8 DOT 5308306 AT snews DOT zippo DOT com>
NNTP-Posting-Host: dewey.fel.tno.nl
Mime-Version: 1.0
Lines: 41
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Peter J. Farley III wrote:
> 
> ============== First problem =========================
> 
> H:\GNU\gcc-2721>make install
> You must configure gcc. Look at the INSTALL file for details.
> make.exe: *** [config.status] Error 1

Well, first of all, configure.bat sucks, use the unix-style configure
Therefore you have to install bash from DJGPP and make sure it can be
found (i just put it in \bin\sh.exe, just like unix...)
Then you do "c>bash" and "$ ./configure"
Now you will get the usual configure, including the generation of
config.status.
O, also install sed and grep and fileutil, you'll probably need them.
All can be found on the djgpp ftp-site

> In each case, the "if [not] exist <file>" uses long names, but expects
> to succeed even if the only files available are truncated 8.3 format.
> I have tested these statements with "echo found" as the action instead
> of the above actions, and they consistantly fail under Win95/DOS, just
> as consistantly as they succeed in DOS 6.22 (which is what I have
> available of the DOS 6+ versions).
> 
> If I'm not mistaken, this is a problem that cannot be solved simply.
> I just wanted to report the failure so others are not surprised by it.
> Although changing all of the long names in the "configur.bat" file to
> their short names would probably fix it, I'm not entirely certain that
> that would be the better long-term solution.  (See my next post re:
> suggestions for future DJGPP development for my other thoughts on
> this.)

Well, this one's in the FAQ (don't feel ashamed, I asked the same
question 8 weeks ago :-) ). Look in <djgpp_root>/djgpp.env
Third line says: LFN=n
Well, make it LFN=y

Bottom line: Use unix-style things, not .bat's. They suck.
Besides, the whole point of DJGPP is bringing Unix-gnu tools to DOS!

Ivo Janssen

- Raw text -


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