delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/29/03:19:22

From: pjfarley AT dorsai DOT org (Peter J. Farley III)
Newsgroups: comp.os.msdos.djgpp
Subject: REPOST: DJGPP/BASH: Need setup advice, please
Date: Wed, 28 May 1997 23:54:21 GMT
Organization: The Dorsai Embassy, Inc.
Message-ID: <338cc5a2.744106@news.dorsai.org>
NNTP-Posting-Host: pjfarley.ppp1.dorsai.org
Lines: 62
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Apologies if the forum receives this twice, but it hasn't shown up on
DJ's mail-archive for over two days, so I suspect my ISP's news server
didn't get it out :-(.

Subsequent my original post, I did manage to get a2p.c (which is in
the perl distribution) compiled with gcc from the bash prompt, with
all of it's subroutines, but now it won't translate anything, so I'm
going to get gdb or fsdb to try to debug it (Oh! Joy! A bug to stomp!!
<g>).

I have also been doing some serious reading of the perl "configure"
script, so I can work my way into fixing it so it *will* run under
DJGPP/BASH (*and* do something useful, of course...<g>).

TIA for any help, info, or doc pointers anyone can offer in answer to
my questions.

Peter

---------------- Original post -----------------

Hello,

I am just setting up a DJGPP environment, and I intend to use Bash as
my shell.  I have not worked extensively in *nix environments, though
I have done a fair amount of (G)awk programming and some csh
scripting.  This environment will preferably execute on a Win95
Pentium/133 box, though I also have MSDOS6.22/Win3.1 available as a
bootable alternative on the same box.

I have already installed DJGPP V2.01, and compiled and run hello.c
successfully, so the basics seem to be ready.

My main initial goal is to have an environment setup in which I can
configure, make and install perl 5.003.  There is a particular part of
perl that no one else has ported to DOS yet (the program a2p, an
awk-to-perl translator) that I particularly want to be able to make,
so I can start translating my (G)awk expertise into perl expertise.
And yes, I know the translation in a2p is crude, but it will provide
me with two benefits:  (1) the beginnings of perl experience as I make
the resulting perl scripts work "better"; and (2) DJGPP experience as
I debug the results of my efforts.

Q1:  What directory structure(s) do I need to set up to provide a
more-or-less "standard" GNU/DJGPP environment, other than the ones
delivered as part of DJGPP? (E.G., /usr hierarchy?)  Or, where can I
find docs on what structures the general run of *nix environments
provide so I can emulate them under DJGPP?

Q2:  What bash directory structures do I need to set up to allow
"configure" et. al. work?  Or, where can I find docs to tell me what
they need?

Q3:  What directory structures and environment variables are needed
for bash itself?  Or, is there a bash setup doc for DOS/DJGPP
environments that I can get? (E.G., /usr/users/me, HOME=, etc.?)

TIA for any info or pointers to docs you can provide.


----------------------------------------------------
Peter J. Farley III (pjfarley AT dorsai DOT org)

- Raw text -


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