aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
Commit message (Collapse)AuthorAgeFilesLines
* INSTALL: set defaults for awk and egrepDan Cross2025-07-241-6/+2
| | | | | | | Set defaults for `awk` and `egrep`, instead of setting things multiple times when specializing on OS, and using a default in a `case` statement. This is cleaner and less error-prone.
* config: add $egrepDan Cross2025-07-231-0/+7
| | | | | | | | | | | Introduce a new variable set in $PLAN9/config: $egrep, which is conditionally set to either `egrep` or `grep -E`, based on platform, and use this when we want to invoke `egrep`. This works around the endless warnings from GNU grep stating that `egrep` is deprecated in favor of `grep -E`, when run on e.g. Linux.
* INSTALL: fix $PLAN9 in messageRuss Cox2024-04-061-0/+2
|
* INSTALL: Always set PLAN9_TARGET environment variableSören Tempel2022-07-271-1/+4
| | | | | That is, not only when -r was given. This allows using this veriable in mkfiles across the code base.
* INSTALL: build arm64 binaries on arm64 MacsRuss Cox2022-01-241-1/+9
| | | | | | | | | | | | | If there is any x86 binary in the chain of parent processes from the current one, then uname -m prints x86_64 and clang defaults to building x86_64 binaries. Detect arm64 using the kernel version and force building an arm64 toolchain instead of perpetuating x86. This is particularly important when the user shell is rc, which has been built for x86, because then rebuilding under rc continues to use x86.
* all: remove $OBJTYPE from buildRuss Cox2020-12-301-23/+7
| | | | | | | 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.
* INSTALL: build mk all the timeRuss Cox2020-05-171-4/+3
| | | | | | | | If mk gets into a bad state, it's not obvious that you can remove the binary to force the rebuild. Also, not rebuilding means that bugs in mkmk.sh are not noticed. Just rebuild from scratch every time. It doesn't take too long compared to the rest of INSTALL.
* all: remove Linux 2.4 vs 2.6 detectionRuss Cox2020-01-191-20/+3
| | | | | Linux 2.4 is dead. (The libthread code hasn't worked for Linux 2.4 for a long time.)
* INSTALL: do not rm config after setting it upRuss Cox2020-01-131-7/+7
| | | | Fixes #334.
* INSTALL, 9c, 9l: improve handling of *BSD (#302)Leonid Bobrov2020-01-071-23/+25
|
* INSTALL: use cc to check for fontsrv on non-Darwin (#203)Xiao-Yong2018-11-161-1/+1
| | | FreeBSD 11.2 by default does not have gcc.
* INSTALL: set $NPROC on macOSRuss Cox2018-11-161-0/+1
| | | | | | | | My MacBook Pro has hw.ncpu=12, so set NPROC=12. Speeds up INSTALL dramatically. Should probably add similar code to other OSes. Also silence rio warning from earlier commit.
* INSTALL: set CC9 on macOS to use xcrun clangRuss Cox2018-11-151-0/+1
| | | | | | Using plain 'clang' does not work well for the new devdraw on macOS 10.14. But 'xcrun --sdk macosx clang' does work, for reasons no one understands. Hopefully this will be OK on all macOS systems.
* INSTALL: fix compiler detection on FreeBSD+clang (#177)Francis Conti2018-11-141-17/+24
|
* all: update site from swtch.com to 9fans.github.ioRuss Cox2017-09-011-3/+3
|
* INSTALL: append /usr/X11R6/include and /usr/X11R6/include/freetype2 toGleydson Soares2015-11-101-1/+2
| | | | | | | | X11 headers detection, so that enable fontsrv build on OpenBSD. Change-Id: I2f3f766339a9f8beed647dfbb19a588d1825732a Reviewed-on: https://plan9port-review.googlesource.com/1290 Reviewed-by: Russ Cox <rsc@google.com>
* INSTALL: fix path of quote1 and quote2David du Colombier2014-11-071-3/+3
| | | | | | | | Thanks to Akshat Kumar for reporting this issue. LGTM=seed, rsc R=rsc, seed https://codereview.appspot.com/173770043
* build: rename " and "" to quote1 and quote2 for hgRuss Cox2014-06-031-0/+4
| | | | | | | | | They'll be copied back during installation but then hg doesn't have to create those files on systems that have trouble with them. TBR=rsc https://codereview.appspot.com/105800043
* INSTALL: fix architecture detection on Solaris.Shenghou Ma2014-03-051-0/+21
| | | | | | | | And uses gcc for i386 and x86_64. LGTM=rsc R=rsc https://codereview.appspot.com/69860044
* all: DragonFly port.Shenghou Ma2014-02-271-0/+6
| | | | | | | | Fix compilation problems, libdraw still doesn't work right yet. LGTM=rsc R=rsc https://codereview.appspot.com/67820046
* INSTALL: diagnose missing gcc on DarwinRuss Cox2014-01-221-1/+5
| | | | | TBR=rsc https://codereview.appspot.com/55700043
* fontserv: fix build on FreeBSD 9.1Martin Neubauer2013-01-301-1/+6
| | | | | R=rsc https://codereview.appspot.com/7095050
* fontsrv: only build when the pieces are thereRuss Cox2012-12-181-0/+15
|
* fontsrv: fix build on OpenBSD 5.2Christian Kellermann2012-12-111-0/+5
| | | | | | R=rsc CC=plan9port.codebot https://codereview.appspot.com/6850108
* OS X PowerPC fixes (thanks Cameron Kaiser)Russ Cox2011-10-231-0/+4
|
* INSTALL: use mk -kRuss Cox2011-10-031-1/+1
|
* build: OS X 64-bit buildRuss Cox2011-08-021-2/+20
| | | | | R=rsc http://codereview.appspot.com/4838047
* INSTALL: add -r flagPeter Saveliev2011-06-021-1/+5
| | | | | | R=rsc CC=plan9port.codebot http://codereview.appspot.com/4526096
* fix build on SunOS (Sparc)Arvindh Rajesh Tamilmani2010-04-091-1/+9
| | | | | | R=rsc CC=codebot http://codereview.appspot.com/882044
* docs: document bitbucket servers, codereview(1)Russ Cox2009-07-291-0/+4
| | | | http://codereview.appspot.com/98068
* INSTALL: ignore gcc Configured with lineRuss Cox2008-12-061-1/+1
|
* INSTALL: print compiler infoRuss Cox2008-05-101-0/+3
|
* space after -v for OS X (andrey)rsc2006-07-241-1/+1
|
* show current directoryrsc2006-07-231-1/+1
|
* split in halfrsc2005-12-301-55/+78
|
* Make install less chatty, more useful.rsc2005-11-281-18/+37
|
* summarize during installrsc2005-11-261-17/+35
|
* try to use system utils during ./INSTALLrsc2005-07-221-1/+1
|
* use LOCAL.configrsc2005-02-021-1/+8
|
* redirect debugging output of isnptlrsc2005-01-231-1/+1
|
* use better versionsrsc2005-01-211-2/+2
|
* run LOCAL.INSTALLrsc2005-01-181-1/+4
|
* important to -lpthreadrsc2005-01-171-1/+1
|
* nptl dependenciesrsc2005-01-171-0/+1
|
* allow config to override kernel versionrsc2005-01-171-0/+18
|
* use install.logrsc2005-01-141-1/+1
|
* log everythingrsc2005-01-141-1/+3
|
* better job at cleaningrsc2005-01-141-0/+2
|
* build man pagesrsc2005-01-141-2/+6
|
* tweaksrsc2005-01-071-2/+11
|