delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/07/14/04:15:05

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ZILE 2.3.7 (very hard to build, needs weird hacks just to
compile)
Date: Tue, 14 Jul 2009 01:13:14 -0700 (PDT)
Organization: http://groups.google.com
Lines: 54
Message-ID: <b60efe89-1eb7-4392-b0bf-36a4a47b78ed@q35g2000vbi.googlegroups.com>
References: <70ca0c3b-f777-47b2-80c8-ee6dccf249eb AT t21g2000yqi DOT googlegroups DOT com>
<a1463c1b-7d11-4296-8a5f-a8628c1ec152 AT k19g2000yqn DOT googlegroups DOT com>
<3404e585-bd5f-47b9-8663-2070bd9d6651 AT b15g2000yqd DOT googlegroups DOT com>
<807a4a2c-8d2e-4231-b504-c822c9dba176 AT k20g2000vbp DOT googlegroups DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1247559194 29385 127.0.0.1 (14 Jul 2009 08:13:14 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Tue, 14 Jul 2009 08:13:14 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: q35g2000vbi.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)
AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.33 Safari/530.5,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi, can't sleep, so I'll post this here in case anybody is bored and
really really really wants to test (doubt it).     ;-)

Apologies in advance for the line wrapping (doh). Ctrl-Z should work
in DOS fashion now, and at least "M-x shell-command" will work as long
as you app uses stdout (use redir.exe if need to catch compiler
errors). A true patch would be much better, and ideally it wouldn't
need so many dependencies or LFNs, but all of that is solvable, of
course. But at least this will do in a pinch.

-----------------------------------------------------------------
@echo off
echo.
echo rugxulo _AT_ gmail _DOT_ com
echo.
echo This .BAT needs LFNs (eek!), DJGPP 2.03p2 or 2.04, GCC, BinUtils,
and ...
echo ... PDcurses, Bash, Make, Sed, File-/Text-/Shell-Utils, Gawk,
Grep
echo.
echo http://www.gnu.org/software/zile/
echo.
REM set F1=3Dz:\edit\zile-2.3.9.tar.gz
for %%a in (z:\edit\zile*.gz) do set F1=3D%%a
if not exist %F1% goto end
djtar -x %F1%
cd zile*
sed -i -e "/-lcurses/s//-lpdcurses/" -e "/mp_cv_curses=3Dno/s/=3Dno/=3Dyes/=
"
-e "\,\\\\r,s,\\\\,\\," configure
sh -c "./configure --disable-dependency-tracking CFLAGS=3D'-s -Os'"
sed -i "\,libgen\.h,s,^,//," src\completion.c
sed -i -e "/xasprintf/s/2>&1//" -e "\,SIGTSTP,s,^,system
(\"command.com /k cls\"); term_full_redisplay(); //," src\funcs.c
sed -i "\,SIGBUS,s,^,//," src\main.c
sed -i "\,# *include.*time\.h,s,^,//," lib\wctype.in.h
sed -i "\,# *include.*time\.h,s,^,//," lib\wchar.in.h
sed -i "/ring-bell/s/\"t\"/\"nil\"/" src\tbl_vars.h
echo #if __DJGPP_MINOR__ !=3D 4 >> config.h
echo #define EILSEQ 41 >> config.h
echo #define fchown(a,b,c) >> config.h
echo #endif >> config.h
sh -c "make"
upx --best --lzma --all-filters -qq src\zile.exe
:end
set F1=3D
-----------------------------------------------------------------


On Jul 11, 5:53=A0pm, Rugxulo <rugx DOT  DOT  DOT  AT gmail DOT com> wrote:
>
> > > I actually also got 2.03p2 to build with a few hacks (no fchown() and=
 lacking EINVAL or similar I
> > > think), but I'd have to dig in again to make a true list of changes.

- Raw text -


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