Forum > Other OS
FPC and OpenWatcom
(1/1)
Hydexon:
Hi.
I've read about the current stable version of FPC (3.2.2) had target support for Watcom Extenders (i.e DOS4GW, maybe Causeway too?), i've tried to search documentation how to build a crosscompiler or set the environment but found nothing about it.
There's any tips and guidance about how to do it?
Handoko:
Maybe this link can be useful to you:
https://wiki.lazarus.freepascal.org/Cross_compiling
KodeZwerg:
https://wiki.lazarus.freepascal.org/Free_Pascal_supported_targets
Scroll very down and you see my attachment.
Since it is wiki, I really do not know if things have been changed.
Hydexon:
--- Quote from: KodeZwerg on April 27, 2023, 06:34:58 am ---https://wiki.lazarus.freepascal.org/Free_Pascal_supported_targets
Scroll very down and you see my attachment.
Since it is wiki, I really do not know if things have been changed.
--- End quote ---
i just saw it unfortunately, although i was able to configure it under Windows, using the official win32 and win64 of fpc windows installer, and had OpenWatcom v2 installed and on PATH, after doing a copy of wasm to be renamed i386-watcom-wasm, unfortunately i was unable to complete it.
--- Code: ---F:\fpc\rtl\units\watcom\system.asm(107) : Warning A4130: Incompatible with segment alignment: 16
F:\fpc\rtl\units\watcom\system.asm(235) : Warning A4130: Incompatible with segment alignment: 16
F:\fpc\rtl\units\watcom\system.asm(729) : Warning A4130: Incompatible with segment alignment: 16
F:\fpc\rtl\units\watcom\system.asm(1241) : Warning A4130: Incompatible with segment alignment: 16
F:\fpc\rtl\units\watcom\system.asm(2173) : Warning A4130: Incompatible with segment alignment: 16
F:\fpc\rtl\units\watcom\system.asm(51475) : Warning A4130: Incompatible with segment alignment: 16
F:\fpc\rtl\units\watcom\system.asm(51481) : Warning A4130: Incompatible with segment alignment: 16
F:\fpc\rtl\units\watcom\system.asm(55421) : Error A2056: Symbol already defined: RTTI_$SYSTEM_$$_PVMT
F:\fpc\rtl\units\watcom\system.asm(59845) : Error A2056: Symbol already defined: RTTI_$SYSTEM_$$_PVMT$indirect
F:\fpc\rtl\units\watcom\system.asm: 61072 lines, 1 passes, 63 ms, 7 warnings, 2 errors
--- End code ---
There's also several warning about the assembler switches used from the makefile being reported as not valid for WASM (or JWASM for example)
looks like the watcom target is really broken.
Navigation
[0] Message Index