tg
26ba2854a2
support BSD/OS 3.1 with gcc2, 10x replaced@tnf
...
except MAP_FAILED not being defined, no issues
2008-03-23 20:55:18 +00:00
tg
df9b1b9b84
choose perl5 over perl, which can be perl 4.0…
2008-03-23 20:21:24 +00:00
tg
444214f5c2
fix Rebuild.sh generation
2008-03-23 20:19:26 +00:00
tg
5f22a5cd7c
much improve the Syllable situation – now en par with Plan 9
2008-03-14 21:34:55 +00:00
tg
17ffadce08
attempt version report on msc/interix
2008-03-06 18:12:58 +00:00
tg
a9501a7372
more hw info, 10x penpen
2008-03-06 18:02:33 +00:00
tg
34aa8c7a8b
make gcc not nōn-silently accept -std=gnu99 if it can’t
2008-03-05 19:59:27 +00:00
tg
f0234c03b9
-Wl,+k is no longer needed on HP-sUX with the native linker now that we
...
check the errorlevel
XXX TODO: Digital Mars
2008-03-05 19:14:19 +00:00
tg
845f6f0d64
• check for flock decl too (weird on OSF/1: if !POSIX and BSD)
...
• un-experimental Tru64
2008-03-05 18:49:15 +00:00
tg
194972394d
yeah, sure…
2008-03-05 18:25:57 +00:00
tg
0e6df4736a
• now this builds fine on DEChengst’s Tru64 box:
...
| OSF1 rubbereendje.dechengst.nl V5.1 2650 alpha
with the vendor compiler:
| Compaq C V6.5-011 on HP Tru64 UNIX V5.1B (Rev. 2650)
| Compiler Driver V6.5-003 (sys) cc Driver
• the platform’s sig_t is incompatible too (simplify check)
• no compile warnings at all
• results in:
$ size mksh
| text data bss dec hex
| 327680 16384 17808 361872 58590
$ file mksh
| mksh: COFF format alpha dynamically linked, demand paged executable or object module not stripped - version 3.13-14
$ ldd mksh
|
| Main => mksh
| libc.so => /usr/shlib/libc.so
$ ls -l mksh
| -rwxr-xr-x 1 mirbsd users 395200 Mar 5 19:18 mksh
• minor testsuite issues:
FAIL ./check.t:regression-13
unexpected stderr - got too much output
wanted nothing
got:
Successful
cat: output error
⇒ probably harmless
• works like a charm!
2008-03-05 18:21:45 +00:00
tg
a592c65cf0
somehow magically make it seem to work
2008-03-05 17:52:43 +00:00
tg
7081a38796
Tru64 aka OSF/1 5.1 (10x DEChengst@#UnixNL) is more nice than OSF/1 4.0
2008-03-05 17:30:10 +00:00
tg
f25151387d
• OSF/1, PW32: speed up mirtoconf test for sig_t (which does not exist)
...
• OSF/1: need _XOPEN_SOURCE_EXTENDED for mknod(2) decl
2008-03-05 17:12:08 +00:00
tg
3d9bd0e1f0
OSF/1 doesn’t seem to declare revoke(2) anywhere
2008-03-05 17:06:50 +00:00
tg
227a5af8bc
try to support
...
• DEC C on OSF/1 (10x Jupp the IceWM coffee pot maintainer)
• other stuff which doesn’t nuke a.out on failure
XXX this must be tested on *ALL* supported platforms!
2008-03-05 17:00:33 +00:00
tg
2cae6c9ab5
report OE and compiler versions inside the build script now, where methods
...
to query them are known (missing: bcc/dmc/msc compilers; additional OS info
besides “uname -a” and Darwin’s “hwprefs os_type” – please tell me!)
2008-03-03 19:40:08 +00:00
tg
fe612d223b
better debugging aid: print versions at several places
2008-03-01 15:07:50 +00:00
tg
8d170a3d01
fix on Interix, where tr(1) is more weird than even Solaris’ XPG4 one…
...
just do not use ranges, no matter what.
2008-02-29 16:38:41 +00:00
tg
d17e25c7f4
fix passing of env var to regression tests
2008-02-29 11:57:30 +00:00
tg
3e870cb1a5
handle slowlaris idiotic /usr/xpg4/bin/tr(1)
2008-02-29 11:48:32 +00:00
tg
6976ed8bc3
get rid of u_char, u_int, u_long
2007-10-25 15:23:10 +00:00
tg
13676f4914
even better: don't require 64-bit types at all
...
also, improve wording of Build.sh (passive terms)
2007-10-25 14:26:53 +00:00
tg
bbbe959bf2
only check for 64-bit integer types if needed (arc4random support)
2007-10-25 14:18:56 +00:00
tg
d0fc6b07e0
• the “check headers for declarations” block must be a compile-time check,
...
not a link-time check (the only one in mirtoconf, and there are, still,
no run-time checks, thank goddess)
• NEED_ARC4RANDOM is thusly superfluous
2007-10-15 21:09:51 +00:00
tg
0b9f22abe6
• we don’t need -D__Plan9__ at the moment
...
• finish with “exit 0” for good measure
2007-10-14 13:31:01 +00:00
tg
7dad41efe3
fix warning and simplify one case
2007-10-10 11:42:24 +00:00
tg
6903e79b30
improve integer type detection, as some OSes may lack only some types
2007-10-10 11:32:49 +00:00
tg
eab0a407eb
implement parallel make (Build.sh -j)
...
this is for the 16-fold Itanium Ⅱ box with 64 GiB RAM ☻
2007-10-09 14:29:42 +00:00
tg
abe075c319
remove the deprecated -DMKSH_DO_MKNOD
...
instead, use the environment variable
• HAVE_MKNOD=0 ‣ force off
• HAVE_MKNOD=1 ‣ force on
• HAVE_MKNOD=x ‣ force detection (on even if -DMKSH_SMALL)
2007-10-09 14:21:54 +00:00
tg
491a420607
initial support pcc (somewhat)
2007-09-21 10:46:56 +00:00
tg
e6ceaf921b
mksh R31c
2007-09-11 18:38:29 +00:00
tg
12e371f1af
• scanning for integer types: only scan for these we need,
...
i.e. uint32_t and uint64_t
• faking <stdint.h>: u_int32_t is not part of ISO C99, so
do not add it there
• add a test if u_int32_t is declared, for the sake of the
fucked up OpenBSD standard arc4random(3) declaration, and
define it to uint32_t if the former type is not available,
e.g. on Solaris or if we fake <stdint.h>
• fix detection of arc4random_pushb(3) and the prototypes
if one of the things above applied to our system
• fix detection of arc4random function suite prototypes if
they are added via an arc4random.c file in the srcdir, and
copy that file into builddir (if it does not already exist)
to keep these isolated from each other
based on a real-life bug report by cnuke@ at the Croatian restaurant ☺☻
unbreaks “set ±o arc4random” on Solaris, both SUNpro and GCC
2007-09-11 18:12:16 +00:00
tg
699b908b9d
do not use “test … -o …”
2007-09-11 17:49:57 +00:00
tg
88bfbeb0f0
make "test $x = 1" into "test 1 = $x" consistently
2007-09-11 17:47:25 +00:00
tg
0904ad7d89
extend the scope of tests run with -Werror for gcc
...
otherwise, gcc4 on non-propolice-capable targets doesn’t find __attribute__
2007-09-10 20:16:47 +00:00
tg
49c7194ffa
• plug in some Digital Taugtnix support, with help from the IceWM coffee pot
...
maintainer, or, From: Josef 'Jupp' Schugt <schugt@cip.physik.uni-bonn.de>
• www: sync changelog
2007-09-09 19:24:58 +00:00
tg
1b7294b564
more cosmetics
2007-09-09 18:31:41 +00:00
tg
9e7a50327f
cosmetics - fix missing variable name
2007-09-09 18:30:04 +00:00
tg
cdac7b7d65
clean up our own junk
2007-09-09 18:21:52 +00:00
tg
fe65f616e4
some have u_int but not uint32_t
2007-09-09 12:02:38 +00:00
tg
6f30f395bf
-std=foo can’t be made fatal even with -Werror, live with it
2007-09-09 11:55:44 +00:00
tg
b06d40f8f2
autoscan for uint32_t et al. if <stdint.h> not present
...
this un-special-cases PW32 and should help OSF/1
2007-09-09 11:04:30 +00:00
tg
a1afc4e0a7
gcc 2.8.1 (on Digital Taugtnix a.k.a. alpha-dec-osf4.0d) makes -std=foo
...
failures a warning only
2007-09-09 10:49:20 +00:00
tg
6c47b381c2
testing with the Heirloom sh found this… d’oh
2007-09-07 21:58:40 +00:00
tg
499327f7b8
add “set -o arc4random”, RTFM for details
2007-08-12 13:42:23 +00:00
tg
496b8f4dc3
• new way of checking for mknod & friends, due to tcc vs glibc weirdness
...
• bump vsn for the code restructuring
2007-07-31 11:11:25 +00:00
tg
809c1446b2
some steps towards building with tcc
2007-07-31 10:42:15 +00:00
tg
9884efef00
• implement some (not yet tested) kludges for tcc
...
• define $CPP internally
2007-07-31 10:17:52 +00:00
tg
735ec12dfd
• TenDRA (testsuite pass)
...
• Fabrice Bellard’s tcc (not supported yet, may follow later)
reminded by tarzeau (Gürkan Sengün)
2007-07-31 10:04:46 +00:00