Bruce Mitchener
810e33125b
Update how we configure gcc / clang command lines. ( #103 )
...
* Move clang/gcc options into makefile-header.
This puts all of the shared options into a single place so that
we can easily update it.
* Add -fwrapv to the clang/gcc command lines.
This is a step along the way to fixing interlisp/medley#90 .
Enabling `-fwrapv` will let overflow checks that rely upon undefined
behavior to work correctly. Without this, with modern versions of
clang and gcc, the overflow checks in the C code are eliminated
by the compiler, resulting in incorrect behavior on the part of
Maiko.
See the linked bug for details and discussion.
Hopefully, this usage of `-fwrapv` will go away once we're using
the correct compiler builtins to detect and handle overflow
correctly.
2020-12-19 20:16:31 -08:00
Bruce Mitchener
d4f72d96e1
Remove FSERROR define as it is always on. ( #96 )
...
The FSERROR define is on all the time now. It was not controlling
all of the functionality, with many places setting Lisp_errnno
outside of the code controlled by the define.
2020-12-17 09:33:20 -08:00
Bruce Mitchener
c728571c5f
Remove commented out CLXFLAGS from non-SunOS makefiles. ( #83 )
...
CLX was an alternate client library for X11, isn't really supported
by Maiko, and is unlikely to be in the future on these platforms.
2020-12-16 10:53:38 -08:00
Bruce Mitchener
433a659063
Require termios on Unix. ( #61 )
...
Remove the USETERMIOS preprocessor definition as well.
2020-12-15 08:05:59 -08:00
Nick Briggs
cfc0046675
Rename gc.h to gcdata.h to avoid conflict with Boehm GC system include file, and adjust sources.
...
Remove duplicate external function definitions from gcdata.h
renamed: inc/gc.h -> inc/gcdata.h
modified: src/array2.c
modified: src/array4.c
modified: src/array6.c
modified: src/asmbbt.c
modified: src/asmbitblt.c
modified: src/bbtsub.c
modified: src/car-cdr.c
modified: src/conspage.c
modified: src/fvar.c
modified: src/gc.c
modified: src/gcarray.c
modified: src/gccode.c
modified: src/gcfinal.c
modified: src/gchtfind.c
modified: src/gcmain3.c
modified: src/gcoflow.c
modified: src/gcr.c
modified: src/gcrcell.c
modified: src/gcscan.c
modified: src/gvar2.c
modified: src/initsout.c
modified: src/loopsops.c
modified: src/mkcell.c
modified: src/rplcons.c
modified: src/storage.c
modified: src/xc.c
modified: src/z2.c
2020-09-05 16:39:21 -07:00
Nick Briggs
5c916cffb5
Remove obsoleted include files (replaced by xxxdefs.h files) and adjust dependencies in makefiles
...
modified: bin/makefile-darwin.386-x
modified: bin/makefile-darwin.x86_64-x
modified: bin/makefile-init.386
modified: bin/makefile-sunos5.386-x
modified: bin/makefile-tail
deleted: inc/car-cdr.h
deleted: inc/chardev.h
deleted: inc/conspage.h
deleted: inc/dir.h
deleted: inc/dsk.h
deleted: inc/dspsubrs.h
deleted: inc/llstk.h
deleted: inc/storage.h
deleted: inc/ufs.h
deleted: inc/uraid.h
2020-09-05 12:59:08 -07:00
Nick Briggs
cfd0711a73
Create car-cdr.h to declare functions defined in car-cdr.c
...
Update files that depend on car-cdr functions to include car-cdr.h.
Add dependencies to makefile.
modified: makefile-darwin.386-x
modified: makefile-init.386
modified: makefile-tail
new file: ../inc/car-cdr.h
modified: ../src/bbtsub.c
modified: ../src/car-cdr.c
modified: ../src/dsk.c
modified: ../src/gcarray.c
modified: ../src/gcrcell.c
modified: ../src/kprint.c
modified: ../src/loopsops.c
modified: ../src/lsthandl.c
modified: ../src/mvs.c
modified: ../src/storage.c
modified: ../src/sxhash.c
modified: ../src/vars3.c
modified: ../src/xc.c
modified: ../src/z2.c
2017-06-29 22:24:33 -07:00
Nick Briggs
67ce5bf714
Add makefile for init on (MacOS) x86 system.
...
Ignore the init.386 directory that "makeright init" will write to.
modified: ../.gitignore
new file: makefile-init.386
2017-06-25 18:28:39 -07:00