delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/02/04/14:27:17

From: rupp AT gnat DOT com (Douglas B. Rupp)
Message-Id: <9702041923.AA04058@nile.gnat.com>
Subject: Re: Rebuilt bash.exe works
To: jack AT st DOT rim DOT or DOT jp (Daisuke Aoyama)
Date: Tue, 4 Feb 1997 14:23:35 -0500 (EST)
Cc: rupp AT gnat DOT com, djgpp-workers AT delorie DOT com
In-Reply-To: <199702041726.CAA09185@mail.st.rim.or.jp> from "Daisuke Aoyama" at Feb 5, 97 02:25:00 am
Mime-Version: 1.0

> 
> > 3) run dtou on all patched builtin/*.def files.
> 
> Sorry, I didn't rebuild with patched code. I'll fix next time.

Probably mkbuiltins should be fixed to not expect stat() size to equal
read() size.  The thing that threw me off was that this got reported
as "file doesn't exist".

> 
> > 4) set GCC_EXEC_PREFIX=/djgpp/lib/ (to get proper specs file).
> 
> Did you realy need?

Yes, I think you do need it unless you have built your own gcc.exe with
the proper builtin paths.

> 
> > 5) add -DHAVE_RESOURCE -DHAVE_UNISTD_H to #define SYSDEP_CFLAGS in
> machines.h
> > 7) add #include <limits.h> in bashline.c (to get PATH_MAX).
> 
> If you copy $DJDIR/include to /usr/include, these files are detected
> automatically by shell script named mksysdefs. Probably, these
> problems were caused by failing to detect in /usr/include.

That probably is the problem, but I think the proper -D's should be added
to the machines.h configuration anyway.

> 
> BTW need I put unstriped binary on web?

Yes, I think that would be useful until all the bugs a shaken out.

Having used both the Cygnus win32 version of bash and yours, I must say
that I'm really impressed with how well the DJGPP version works.  I've
never been able to do anything useful with the Cygnus version, but in just
one weekend I've managed to bootstrap GNAT with only minor difficulty with
yours.  Keep up the good work.

- Raw text -


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