Commit graph

66 commits

Author SHA1 Message Date
Igor Burago
3a877764da 9l: silence the 'ignoring duplicate libraries' warning on macOS 2023-12-18 10:10:55 -05:00
Igor Burago
0bc1ff0fa0 9l: refactor the warning-silencing mechanics to match that of 9c 2023-12-18 10:10:55 -05:00
mmnmnnmnmm
ffdca8f730 9l: without arguments, exit instead of failing to link nothing
Found in Arch Linux but never reported upstream:
https://bugs.archlinux.org/task/55640
2022-08-18 10:48:20 -04:00
Ben Huntsman
6c4260fc67 bin/9c, bin/9l: Re-enable optimization on AIX. 2021-08-30 19:40:49 -04:00
Russ Cox
99dee78c2d all: remove $OBJTYPE from build
Now that we assume pthreads, the only assembly
left is in libmp and libsec.
We only ever added assembly for 386.
The portable C code is fine for plan9port.
2020-12-30 07:53:28 -05:00
Anthony Sorace
291f741178 9c, 9l: updates for macOS arm64. 2020-09-27 06:45:02 -04:00
Ben Huntsman
53bf1f1ccf 9l: xlc_r automatically adds -lpthread. 2020-05-18 22:36:53 -04:00
Russ Cox
9444b8e4bc 9c, 9l: accept CC9FLAGS from config
Also, if CC9FLAGS includes -fsanitize=address (ASAN),
predefine PLAN9PORT_ASAN for use by programs that need
to know (mainly libthread).

The 9c script used to have a variable called ngflags, which
was ccflags except -g (ng stood for "no g"), but nothing needs
it split out anymore, so simplify to just ccflags.
2020-05-17 20:15:41 -04:00
Ben Huntsman
4982d4ebc3 all: update build scripts to fix AIX XL/C compatibility 2020-05-07 20:36:03 -04:00
Russ Cox
cb8f735786 all: remove Linux 2.4 vs 2.6 detection
Linux 2.4 is dead.
(The libthread code hasn't worked for Linux 2.4 for a long time.)
2020-01-19 23:04:58 -05:00
Leonid Bobrov
cf6b778799 INSTALL, 9c, 9l: improve handling of *BSD (#302) 2020-01-07 14:51:42 -05:00
Jason Felice
436ff26c36 9c, 9l: use $TMPDIR if available (#272)
NixOS sandboxed builds (at least on Mac) don't have access to /tmp,
and this should be better POSIX.
2019-11-11 17:06:55 -05:00
Francis Conti
715807d706 Teach 9l about FreeBSD ≥ 12; address issue #247. (#249) 2019-09-19 16:50:44 -04:00
Günther Noack
13d40aa64c 9l: support Linux version 5.0+ (#274)
Update 9l to support Linux 5.x.
2019-09-19 16:49:08 -04:00
Russ Cox
13ed1c423e 9l: drop xcode text-based stub warning 2018-11-12 11:09:39 -05:00
keks
e4d6099eff 9l: accept Linux kernel version 4.x
Fixes #114.
2017-10-13 15:11:15 +02:00
David du Colombier
173295929a 9l: support FreeBSD 10 and 11 (thanks Ori Bernstein) 2017-09-14 22:51:49 +02:00
David du Colombier
fd3496d3ef 9l: link with -lresolv on Linux
LGTM=rsc
R=rsc
https://codereview.appspot.com/136520044
2014-10-20 22:21:43 +02:00
Shenghou Ma
20035ed43c all: DragonFly port.
Fix compilation problems, libdraw still doesn't work right yet.

LGTM=rsc
R=rsc
https://codereview.appspot.com/67820046
2014-02-27 23:17:47 -05:00
Russ Cox
f0add8ef24 9l: remove debug print
R=rsc
http://codereview.appspot.com/6402049
2012-07-16 10:43:03 -04:00
Russ Cox
5f0bb59e0d 9l: fix for Linux 3.x (thanks Christopher Brannon)
R=rsc
http://codereview.appspot.com/6395047
2012-07-14 08:50:07 -04:00
Russ Cox
5d03af6557 fix INSTALL warnings
R=rsc
http://codereview.appspot.com/6258060
2012-05-29 15:11:14 -04:00
Russ Cox
fc567f476a build: OS X 64-bit build
R=rsc
http://codereview.appspot.com/4838047
2011-08-02 14:28:04 -04:00
Nikolai Saoukh
0c6074b692 9c, 9l: allow CC9=clang
R=rsc
CC=codebot
http://codereview.appspot.com/217045
2010-02-22 16:53:37 -08:00
Russ Cox
fa662c9571 INSTALL: fix build on Snow Leopard
http://codereview.appspot.com/116073
2009-09-11 13:51:50 -04:00
Benjamin Huntsman
a4980b3957 9l: platform-specific options first; AIX, Tru64 support
http://codereview.appspot.com/95050
2009-07-15 16:08:09 -04:00
Jeff Sickel
d210f09d22 9l: search for autolibs in all -L paths as well as $PLAN9/lib 2008-12-03 01:52:55 -06:00
rsc
96f54e3fff cope with new gcc error syntax 2007-03-26 14:57:39 +00:00
rsc
a741551866 -ldraw no longer implies -lX11 2007-02-22 14:27:45 +00:00
rsc
d8cc5c0502 shut up gcc 2006-06-26 00:29:46 +00:00
rsc
f6bb301372 handle memdraw memlayer 2006-06-25 23:48:51 +00:00
rsc
89eaced6b1 look for libresolv.dylib (anothy sorace) 2006-04-04 18:09:05 +00:00
rsc
d27ee153ad fix double-use of xtmp 2006-03-30 15:00:57 +00:00
rsc
866a7d1f26 draw, resolv 2006-02-14 02:00:06 +00:00
rsc
56e3c29015 nowsys 2006-01-27 04:05:22 +00:00
rsc
77fd60a177 shut up openbsd 2005-11-27 23:58:32 +00:00
rsc
fc165dcb3e Autoframework (Jeff Sickel) 2005-10-19 03:15:30 +00:00
rsc
207de18f5d Treat OpenBSD like generic BSD. 2005-08-31 03:56:25 +00:00
rsc
e00db7f084 no pthreads on OpenBSD 2005-07-22 18:45:07 +00:00
rsc
a237e87c33 use pthread on openbsd 2005-07-19 11:36:00 +00:00
rsc
acc29ab200 silence nm errors during autolib 2005-07-13 10:45:25 +00:00
rsc
52e6164443 OpenBSD support. 2005-05-01 18:40:01 +00:00
rsc
237c30900c quiet 9l 2005-03-18 18:50:33 +00:00
rsc
0d85a1cf7d fix libsec lib9 cycle 2005-02-11 16:52:08 +00:00
rsc
8a26417b7a add freebsd 5.2 2005-02-08 19:13:57 +00:00
rsc
dc305d0368 Maybe it will run on SunOS 5.8 now. 2005-02-08 18:01:04 +00:00
rsc
108559b2d7 do not use rpath on Darwin 2005-01-19 00:25:38 +00:00
rsc
c968e5190b look in right place for 64-bit X libs 2005-01-18 05:59:34 +00:00
rsc
eea5f6adfe source $PLAN9/config 2005-01-17 20:57:57 +00:00
rsc
54bcb7e9a2 use -Wl,-rpath for gcc 2005-01-16 20:56:40 +00:00