Tee-Kiah Chia
656afa7873
ia16-elf-gcc: remove need for far function wrappers
2018-10-20 19:47:09 -04:00
Tee-Kiah Chia
2b96ed38d9
ia16-elf-gcc: use ia16-elf-objcopy instead of host objcopy
...
to process the ia16-elf object files
2018-10-20 19:47:09 -04:00
Bart Oldeman
a70f31bf61
ia16-elf-gcc: enable and fix basic warnings; don't do strict ptr aliasing for now
2018-01-11 17:50:31 -05:00
Bart Oldeman
d7a05ab6cd
For GCC builds use GNU make instead of wmake throughout.
...
This eliminates all build-dependencies on Open Watcom.
2018-01-11 17:50:31 -05:00
Bart Oldeman
7705558b3e
Use "ar" instead of "wlib" in gcc build.
2018-01-11 17:50:31 -05:00
Bart Oldeman
9e04932d2b
sys.com compiled with ia16-elf-gcc: fill in missing functions.
2018-01-11 17:50:31 -05:00
Bart Oldeman
9b5b2e7d60
Create init varieties for unsigned long helper functions.
...
An INITPATCH is used to make sure the correct symbols are used.
The GCC kernel now shows the copyright string and boots a little further.
2018-01-11 17:50:31 -05:00
Bart Oldeman
71a7d0d264
ia16-elf-gcc: provide GNU LD linker script and symbols to link kernel.
...
The resulting kernel and sys.com do not work yet (kernel prints 123 only).
Some functions in sys.com are placeholders.
2018-01-11 17:50:31 -05:00
Bart Oldeman
7bf4b77233
ia16-elf-gcc port: compile all asm files with -f elf.
...
Because ia16-elf-gcc and the GNU linker do not understand OMF we
need to use ELF everywhere.
This also means we cannot use "wrt", "seg" and "call/jmp far".
Most wrt's are superfluous, and seg and call/jmp far can be
replaced by explicit ?GROUP references (to be defined in the
linker script).
2018-01-11 17:50:31 -05:00
Bart Oldeman
fbdbc4c25c
C source code changes so the kernel can compile with ia16-elf-gcc.
...
Use "make all COMPILER=gcc".
Linking does not work yet with these changes.
2018-01-11 17:50:31 -05:00
Bart Oldeman
33d707ba7f
Fix compilation with MSVC 1.52c.
...
Needs one more file from the c library, BSS_INIT all uninitialized
globals in config.c and a define of SEEK_SET.
2017-12-22 13:13:37 -05:00
Stas Sergeev
44cf0a17a1
fix and enable i386 support
...
This gives ~5K size reduction with bc3.1.
Today no one uses pre-i386 CPUs so there is no good
reason against having an extra optimization.
2017-12-06 23:13:47 -05:00
Stas Sergeev
5c168c350e
add bc3 build support
2016-10-06 07:23:59 -04:00
lpproj
0c6be32a7a
Add cross-compile capability on Windows with OpenWatcom and mingw32-make
...
(Remove dependance on 16bit DOS executables when building)
2014-11-22 11:38:43 +09:00
KJD
c431157156
FreeDOS kernel current - 2041+svn1709
2012-10-14 20:08:06 -04:00