www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/18/02:51:54

Date: Thu, 18 Jun 1998 09:51:34 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Sunil Rao <sunil AT raos DOT demon DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: LC-Lint
In-Reply-To: <FChsjHANf$h1Ew1u@raos.demon.co.uk>
Message-ID: <Pine.SUN.3.91.980618095111.23552H-100000@is>
MIME-Version: 1.0

On Wed, 17 Jun 1998, Sunil Rao wrote:

> I ask because I don't really know muvch about scripts, nor do i know
> much about Makefile syntax... and therefore all my attempts at hacking
> the unix-based makefiles and configure script and trying to get
> something to work are failing miserably...

Why do you need to hack them at all?  Did you try to install the DJGPP
port of Bash and auxiliary utilities, and just run the thing
unaltered?  In most cases, this should either work or bring you very
close.  In the latter case, post the relevant Makefile/shell script
fragments and error messages, and ask for help here.

Here's the basic setup for running Unix Makefiles and shell scripts:

   - Download and install the following from v2gnu directory on DJGPP
     sites:

       bsh1147b.zip, fil316b.zip, txt122b.zip, grep22b.zip,
       sed118b.zip, gwk3003b.zip, dif271b.zip, shl112b.zip,
       mak3761b.zip

     Some of those might not be needed in your case, but since you
     aren't familiar with Unix and Makefiles, it's better be safe than
     sorry.

   - Make sure the Makefiles have this line somewhere inside (if not,
     add it):

       SHELL=/bin/sh

   - Make sure you have a ``symlink'' called sh.exe in the same
     directory where you unzip bash.exe from bsh1147b.zip.  If you
     don't have sh.exe, create it like this:

       cd %DJDIR%\bin
       stubify -g sh.exe
       stubedit sh.exe runfile=bash

     (Substitute your top-level DJGPP installation directory for
     %DJDIR%, do NOT type "%DJDIR%" verbatim!)

That's it!  Now do whatever the build instructions in the package tell
you to, and it should work.

- Raw text -


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