aboutsummaryrefslogtreecommitdiff
path: root/bin/9c
AgeCommit message (Collapse)AuthorFilesLines
2020-05-07all: update build scripts to fix AIX XL/C compatibilityBen Huntsman1-1/+18
2020-04-309c: added explicit -fcommon to gcc defaults.sean1-0/+1
Version 10 of gcc enforces -fno-common which breaks a lot of things. This fix reverts to the pre-10 behaviour. The real fix is to clean up stray redefinitions which should be declarations.
2020-01-19all: remove Linux 2.4 vs 2.6 detectionRuss Cox1-11/+3
Linux 2.4 is dead. (The libthread code hasn't worked for Linux 2.4 for a long time.)
2020-01-12all: fix or silence various gcc warningsRuss Cox1-0/+4
As usual, gcc finds some real problems but also reports a ton of noise. Fix the problems and quiet the noise.
2020-01-079c: Fix case patterns for DragonFly and other BSDsMartin Kühl1-2/+2
POSIX does not support grouping in case item patterns. Installing with a strict POSIX shell fails with: /usr/local/plan9/bin/9c: line 82: syntax error near unexpected token `(' /usr/local/plan9/bin/9c: line 82: `*(DragonFly|BSD)*gcc*) usegcc ;;' This change expands the patterns to work around the limitation. See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10 (and search for case_clause)
2020-01-07INSTALL, 9c, 9l: improve handling of *BSD (#302)Leonid Bobrov1-3/+2
2019-11-119c, 9l: use $TMPDIR if available (#272)Jason Felice1-1/+1
NixOS sandboxed builds (at least on Mac) don't have access to /tmp, and this should be better POSIX.
2017-01-06all: fix or silence all INSTALL warnings on macOSRuss Cox1-3/+3
Should be a clean build now. Change-Id: Id3460371cb5e8d4071f8faa9c2aec870d213a067 Reviewed-on: https://plan9port-review.googlesource.com/2781 Reviewed-by: Russ Cox <rsc@swtch.com>
2014-10-21fix clang 3.4 warnings and ignore uninteresting onesDavid du Colombier1-0/+2
fixed warnings: src/cmd/fossil/disk.c:37:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator] src/cmd/fossil/disk.c:38:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator] src/cmd/fossil/disk.c:39:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator] src/cmd/fossil/disk.c:40:13: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator] src/cmd/fossil/disk.c:41:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator] src/libndb/ndbreorder.c:41:55: warning: for loop has empty body [-Wempty-body] ignored warnings: src/cmd/acid/dbg.y:393:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/bc.y:1327:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/bc.y:1327:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/grep/grep.y:420:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/grep/grep.y:420:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/hoc/hoc.y:692:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/hoc/hoc.y:692:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/lex/parser.y:886:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/rc/syn.y:303:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/cmd/units.y:1003:9: warning: array index -1 is before the beginning of the array [-Warray-bounds] src/libregexp/regcomp.c:19:16: warning: variable 'reprog' is not needed and will not be emitted [-Wunneeded-internal-declaration] LGTM=rsc R=rsc https://codereview.appspot.com/158250043
2014-02-27all: DragonFly port.Shenghou Ma1-1/+1
Fix compilation problems, libdraw still doesn't work right yet. LGTM=rsc R=rsc https://codereview.appspot.com/67820046
2012-10-219c: support clang on MacRuss Cox1-0/+11
R=rsc http://codereview.appspot.com/6744055
2012-10-209c: add more clang warning silencers, use signed charsRuss Cox1-2/+7
R=rsc http://codereview.appspot.com/6741053
2011-08-02build: OS X 64-bit buildRuss Cox1-0/+2
R=rsc http://codereview.appspot.com/4838047
2011-05-17SunOS fixes (thanks Aram Hăvărneanu)Russ Cox1-1/+1
R=rsc, rsc http://codereview.appspot.com/4271084
2010-02-229c, 9l: allow CC9=clangNikolai Saoukh1-13/+51
R=rsc CC=codebot http://codereview.appspot.com/217045
2009-09-11INSTALL: fix build on Snow LeopardRuss Cox1-2/+2
http://codereview.appspot.com/116073
2009-07-14mergeRuss Cox1-0/+3
2008-12-069c: another gcc, another useless warningRuss Cox1-1/+1
2008-07-099c: grep away Apple SetCursor/InitCursor warningsRuss Cox1-1/+4
2008-05-31mergeRuss Cox1-1/+1
2006-05-05define __Linux24__ for mount-Linux.c in vbackuprsc1-0/+3
2006-04-04no more pedantryrsc1-2/+0
2006-04-01Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc1-1/+3
2006-03-20undorsc1-1/+0
2006-03-20update lucidarsc1-0/+1
2006-02-14adapt to gcc error messagesrsc1-1/+1
2005-11-28Make install less chatty, more useful.rsc1-1/+1
2005-11-27shut up openbsdrsc1-1/+1
2005-07-22errors to stderrrsc1-1/+7
2005-07-22do not process stdout, to play nice with ccachersc1-1/+1
2005-03-18add uniqrsc1-1/+4
2005-03-18even more quieting of gccrsc1-2/+2
2005-02-16even quieter gccrsc1-1/+1
2005-02-13initial stab at ipsorsc1-1/+1
2005-02-12silence gcc chatterrsc1-0/+1
2005-01-19bad $variable namesrsc1-2/+2
2005-01-17source $PLAN9/configrsc1-0/+1
2005-01-07add -mt for sunrsc1-1/+1
2005-01-07better status handling for sunrsc1-14/+5
2005-01-049c: ignore autolib symbolsrsc1-4/+12
9l: use autolib symbols
2004-12-29GC now-unused FreeBSD-specific #defines.wkj1-8/+0
2004-12-28set flag for freebsd 5rsc1-1/+8
2004-12-24match Linux 2.6 kernel betterrsc1-1/+1
2004-09-17Bite the bullet. Have to use differentrsc1-1/+7
binaries on 2.4 and 2.6.
2004-05-20#define PLAN9PORT.rsc1-2/+2
forgive me.
2004-05-03Ignore unknown pragmas.wkj1-0/+1
Be less verbose when allocating uprocs. Don't drop core dump turds all over the place when x11 goes away.
2004-04-29add -W to specify window size.rsc1-0/+3
various other little fixes.
2004-04-25redirect properly on sunrsc1-2/+2
2004-04-24various bug fixesrsc1-1/+11
2004-03-26Fix version for sunos.rsc1-6/+6