www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/13/06:16:15

From: "Roy Leonard" <leonardr AT eeng DOT dcu DOT ie>
Date: Wed, 13 Jul 94 10:15:10 GMT
Reply-To: <leonardr AT eeng DOT dcu DOT ie>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Unix Utilities & Recompiling DJGPP

Howdie all,

Over the past few weeks, I've tried to rebuild DJGPP, and the hope was to 
generate a cross-compiler for use with embedded systems in the Electronic
Engineering Department here in DCU.  

After the binary equivalent of banging my head off a wall, I have decided 
to plump for a different route: I'll use Linux ("A real OS").  

What follows is a compilation of different responses that I have received 
with regard to my queries (It also includes some of the problems that I 
have encountered).  It should prove to be a basic starting point
for somebody (from the MS-Dos world) who is attempting the same thing.

Amazingly enough this information doesn't seem to be available in any other
form, other than by word of mouth (keyboard? :-) ).  As I did not manage to
recompile DJGPP, I don't feel that I have enough experience.  Perhaps if
somebody who has completed this task could let me know of anything which I
have missed or got completely wrong?



CONFIGUR.BAT
============
The original Configure was written for a *nix environment. The dos version 
is a lot more compact and provides fewer options. Both use SED to create
a new makefile.

Problems: The tabs in the batch file have to be removed. They look pretty,
but they cause problems with the expressions.  If you just want to 
recompile the compiler, use the makefile that is distributed with DJGPP 
(It needs a lot of time, and even more disk space).

EXTRAS NEEDED:
==============
SEE BELOW

MAKEFILE
========
This was also written for a *nix environment, and it uses a lot more
*nix utilities.

Problems: The command:

                if [-f] myfile 

causes an error which the make program ignores.  (what exactly does 
this command do? Does it check to see if the file exists and is a file?).  
The Dos shell also has problems with some of the very long command 
lines (> 300 chars).  I needed to use a unix-like shell program to 
get around this problem.

EXTRAS  NEEDED:
===============
The Unix Utilities (Sed, Touch, ...), A Unix Shell:  
   
> 
> A DOS version of shell program can be found in the following place:
> 
> Host omnigate.clarkson.edu
> 
> Location: /pub/simtel20-cdrom/msdos/sysutl
>       FILE: ms_sh164.zip
> 
>
>  Get the latest ms_sh22b from
>  ftp.uu.net:/systems/ibmpc/msdos/simtel20/sysutil/ms_sh22b.zip
>             /systems/ibmpc/msdos/simtel20/sysutil/uxutl22[a-d].zip
>
>  ms_sh22b supports UNIX shell-like environment. It is pretty nice.
>  And uxutl22 gives you most of UNIX commands, like ls, chmod, du, rm, ... .
>
>  Or you can get it from any mirror of Simtel20 utilities.
>
>                 {jsheu AT hmsi DOT hitachi DOT com (Jason Sheu)}

If you have anything to add to this (flames welcome!), please let me know.

Thanks to everybody to replyed to my queries.

Roy Leonard
=====================================================================
Roy Leonard                    | E-Mail: leonardr AT eeng DOT dcu DOT ie
Autonomous Systems Laboratory  | Phone:  ?? + 353 + 1 + 704 5892
Dublin City University         | 
Ireland                        |
=====================================================================

- Raw text -


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