delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2022/05/02/10:15:11

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 2002:a05:6214:e6a:b0:446:154a:7e02 with SMTP id jz10-20020a0562140e6a00b00446154a7e02mr9693385qvb.82.1651500550517;
Mon, 02 May 2022 07:09:10 -0700 (PDT)
X-Received: by 2002:a25:3783:0:b0:645:73b9:5e39 with SMTP id
e125-20020a253783000000b0064573b95e39mr9972490yba.102.1651500550296; Mon, 02
May 2022 07:09:10 -0700 (PDT)
Newsgroups: comp.os.msdos.djgpp
Date: Mon, 2 May 2022 07:09:10 -0700 (PDT)
In-Reply-To: <1b1d050b-474b-8a0c-8013-24b67efba30e@gmail.com>
Injection-Info: google-groups.googlegroups.com; posting-host=46.123.255.248; posting-account=CPdYWwoAAABpWBQIr4qTKwtnquUvEEfS
NNTP-Posting-Host: 46.123.255.248
References: <a52c077b-55b2-4a1f-877e-ebdcef7c1e01n AT googlegroups DOT com>
<e3969ae3-a0eb-82e5-3481-95178159a844 AT gmail DOT com> <c898f7bb-e6d0-477d-ac23-ad1221a063bbn AT googlegroups DOT com>
<1b1d050b-474b-8a0c-8013-24b67efba30e AT gmail DOT com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <69cccf40-7233-4bc4-86b1-5bd2ad12de20n@googlegroups.com>
Subject: Re: GNU pth during djgpp build time?
From: "janezz55 (janezz55 AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Injection-Date: Mon, 02 May 2022 14:09:10 +0000
Bytes: 2206
Lines: 20
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Don't worry about me, I too managed to get zlib to build:

	sed -i -e 's,"zlib/zlib\.h",<zlib.h>,' pcdbug.c
	sed -i -e '/define Z_PREFIX/ d' config.h

	sed -i -e '
		s,\tar,\t$(AR),
		s,\.\./util/nasm32,\t$(NASM),
		s,\.\./util/bin2c,\t$(BIN2C),
    s,-O2,-Ofast,
	' makefile.all zlib/makefile.all
  sed -i -e "
		/CFLAGS/ s,=,= -fno-strict-aliasing -fgnu89-inline -march=i586 -I${srcdir}/zlib-${_zlver},
  " makefile.all zlib/makefile.all
	bash "$srcdir/mkmake.bash" DJGPP RELEASE <makefile.all >djgpp.mak

I don't really recall why I needed zlib, though, it was a long time ago. I am only guessing wattcp.

On Monday, May 2, 2022 at 2:03:32 PM UTC+2, Frank Sapone (emoaddict15 AT gmail DOT com) [via djgpp AT delorie DOT com] wrote:
> I don't recall zlib being needed to build wattcp and I don't recall it 
> being a hack to build for DJGPP either.  Did you read the docs?

- Raw text -


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