From: Jeff Sickel <jas@corpus-callosum.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] new zlib (1.2.6) support &| build
Date: Tue, 7 Feb 2012 15:40:41 -0600 [thread overview]
Message-ID: <045A0453-38EA-4BE1-8F93-FAAB8CDCCAA7@corpus-callosum.com> (raw)
In-Reply-To: <D6900507-9372-4D13-98E8-E1790B22E188@corpus-callosum.com>
While hitting some ape pcc errors while building my arm tree,
I realized that zlib was quite a bit out of date. The latest
zlib-1.2.6 can be pulled down and installed in
/sys/src/cmd/gs/zlib
You'll need to remove gzio.c if you didn't do a complete replace,
and then modify the following:
term% pwd
/sys/src/ape/lib/z
term% diffy *
diff /n/dump/2012/0207/sys/src/ape/lib/z/mkfile ./mkfile
11c11,14
< gzio.$O\
---
> gzclose.$O\
> gzlib.$O\
> gzread.$O\
> gzwrite.$O\
39c42
< CFLAGS=-c
---
> CFLAGS=-c -D_POSIX_SOURCE -D_C99_SNPRINTF_EXTENSION
diff /n/dump/2012/0207/sys/src/ape/lib/z/z.proto ./z.proto
5a6,9
> arm - sys sys
> lib - sys sys
> ape - sys sys
> libz.a - sys sys
libz.a is a dependency for quite a few other components, so I'll
post something new after more testing.
-jas
next prev parent reply other threads:[~2012-02-07 21:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-07 16:27 [9fans] ape under arm Jeff Sickel
2012-02-07 21:40 ` Jeff Sickel [this message]
2012-02-07 21:50 ` [9fans] new zlib (1.2.6) support &| build Jeff Sickel
2012-02-08 0:18 ` Jeff Sickel
2012-02-08 0:21 ` erik quanstrom
2012-02-08 2:48 ` Jeff Sickel
2012-02-08 2:52 ` Jeff Sickel
2012-02-08 3:50 ` Jeff Sickel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=045A0453-38EA-4BE1-8F93-FAAB8CDCCAA7@corpus-callosum.com \
--to=jas@corpus-callosum.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).