Jiri Malak
4a1fd57f3a
libm.lib: The i4m module from OW-CRTL is no longer used
...
now FreeDOS own implementation is used
this module is removed from the library to prevent misuse of this module
2024-07-15 15:20:21 -04:00
Jiri Malak
0231c98e3f
ow-build: add global compiler control option to CC and CL macros
...
move only options which is related to the host environment not for target
-zq quiet output (all)
-fo=.obj set default extension for object file to .obj instead .o (Linux only)
2024-07-15 08:03:18 -04:00
Jiri Malak
5304e657fd
time.t: resolve issue with internal and standard C time.h files and remove all hacks
...
- fix issue by renaming header file and symbols which consolidate with standard C time.h
- rename also date.h for consistency
- remove all hacks from make files and from sys.c
now can share new dtime.h with standard C time.h without any collision that any order of internal and standard C header path is possible
2024-07-10 11:32:10 -04:00
Jiří Malák
1d4ac3bcc5
utils: remove wcl386 banners
2024-07-06 07:52:39 -04:00
Jiří Malák
046638f48c
utils: remove wcl386 banners
2024-07-06 07:52:39 -04:00
Jiří Malák
e985cc36b3
utils: build utility programs by Open Watcom for Linux and Windows
2024-07-06 07:52:39 -04:00
C. Masloch
3d1ba0d486
config: build master environment during FDCONFIG.SYS processing
...
lDebug wants to access the environment while executing
as a device driver. Instead of building it in a variable
then copying it to 68h:0 after FDCONFIG.SYS processing,
just build it there to begin with.
2023-07-03 07:37:00 -04:00
Kenneth J Davis
bfd5328183
fix building on Windows with Open Watcom, using OWWIN helper tools built as win32 executables instead of DOS executables as done using WATCOM for COMPILER
2022-06-03 23:28:51 -04:00
C. Masloch
9dcd9ba051
mkfiles: add -Wall switch to host gcc variable
...
Refer to https://github.com/FDOS/kernel/pull/72#issuecomment-1133770757
2022-05-29 19:25:00 -04:00
C. Masloch
72edabfdb7
gcc.mak: make sure to redirect more internal function calls in init
...
Refer to https://github.com/tkchia/gcc-ia16/issues/109#issuecomment-1133867169
2022-05-29 18:05:46 -04:00
C. Masloch
5df9dbdbd7
mkfiles: fix compilation with current gcc-ia16
...
Refer to https://github.com/tkchia/gcc-ia16/issues/108
2022-05-21 23:22:08 -04:00
Andrew Bird
a7b7ce71d0
GCC build: Remove duplicate argument [#fixes #27 ]
...
No need to specify output file in NASMFLAGS as Watcom needs it specified
in the rule. Newer versions of NASM see duplicate output file as an error.
2020-10-14 10:34:27 -04:00
Tee-Kiah Chia
49d1939ed7
ia16-elf-gcc: remove need for far function wrappers
2018-07-08 18:10:18 +08:00
Tee-Kiah Chia
7eec989c22
ia16-elf-gcc: use ia16-elf-objcopy instead of host objcopy
...
to process the ia16-elf object files
2018-04-07 22:20:37 +08: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