Commit Graph

23 Commits

Author SHA1 Message Date
nickysn
ae953214ee * fixed quoting of the "description" wlink option on Windows
git-svn-id: trunk@42659 -
2019-08-12 12:58:16 +00:00
nickysn
817ec5e6f2 + allow creating win16 dlls with the wlink external linker as well
git-svn-id: trunk@42638 -
2019-08-10 02:11:25 +00:00
nickysn
4cd8193c79 + enable the ISSHAREDLIBRARY option for the win16 internal linker when creating a dll
git-svn-id: trunk@42636 -
2019-08-10 01:53:29 +00:00
nickysn
238c9e576c + pass the description option to wlink to set the module description string when
using the external linker on the win16 target

git-svn-id: trunk@42633 -
2019-08-10 00:18:06 +00:00
nickysn
7e78fc1d7f * strip the '.dll' extension from the library name when creating import
libraries as well. This ensures that NewExe binaries, created by the external
  linker don't have the '.dll' extension in them.

git-svn-id: trunk@42618 -
2019-08-09 15:03:22 +00:00
nickysn
b739d79f9b * combine the data, bss, stack and heap into the same NewExe segment
git-svn-id: trunk@42566 -
2019-08-02 16:53:16 +00:00
nickysn
83afeb2e93 + added dummy overrides for TInternalLinkerWin16.GetCodeSize, .GetDataSize and
.GetBssSize, because the default ones crash

git-svn-id: trunk@42554 -
2019-08-01 16:49:08 +00:00
nickysn
2c4c34ef9b + split the win16 executable into sections
git-svn-id: trunk@42547 -
2019-07-31 15:09:02 +00:00
nickysn
cbf95aebf4 + introduced the TOmfRecord_COMENT_EXPDEF class. Use that to generate export
libraries instead of generating the magic string directly.

git-svn-id: trunk@42237 -
2019-06-15 00:30:07 +00:00
nickysn
4f3a5cfd1e + use the new CC_OmfExtension_EXPDEF constant instead of the direct magic value
when writing export libraries

git-svn-id: trunk@42233 -
2019-06-14 23:10:38 +00:00
nickysn
fe49522e6f + register a win16 dll scanner. Not functional yet.
git-svn-id: trunk@42230 -
2019-06-14 22:40:11 +00:00
nickysn
1f3d5e8865 - remove the tiny memory model code from TInternalLinkerWin16.DefaultLinkScript,
because the Win16 target doesn't support the tiny memory model

git-svn-id: trunk@42229 -
2019-06-14 22:24:19 +00:00
nickysn
9eaa46f791 + implement TInternalLinkerWin16.DefaultLinkScript by copying the MS-DOS
implementation (not correct, but a good starting point)

git-svn-id: trunk@42228 -
2019-06-14 22:20:51 +00:00
nickysn
db1903f45d + added a win16 internal linker class. Not functional yet.
git-svn-id: trunk@42226 -
2019-06-14 16:42:45 +00:00
nickysn
6f44deb557 + implemented the -Xg option for putting the debug information in a separate
file on i8086-msdos and i8086-win16

git-svn-id: trunk@39096 -
2018-05-22 15:33:26 +00:00
nickysn
b80642c384 + started implementing support for generating Microsoft CodeView debug
information. Only enabled on i8086 (for now). Does not do much yet, but
  hopefully, soon it'll start emitting line number information for i8086-msdos
  that is usable by DOS debuggers.

git-svn-id: trunk@39006 -
2018-05-16 15:25:33 +00:00
Károly Balogh
e6aed467b5 renamed script unit to cscript to avoid namespace conflict with univint package on Darwin. this makes it possible to build the textmode IDE on Darwin
git-svn-id: trunk@37598 -
2017-11-17 11:27:19 +00:00
svenbarth
3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages:
Convert export options from constants to a set and accordingly adjust all usage locations

git-svn-id: trunk@32945 -
2016-01-15 16:06:06 +00:00
nickysn
3e2248f41a + implemented exporting of functions for the win16 target
git-svn-id: trunk@31842 -
2015-09-27 00:48:35 +00:00
nickysn
d579c45656 * pass the option "dosseg" to wlink when compiling for win16 to ensure the
proper segment ordering

git-svn-id: trunk@31613 -
2015-09-12 00:08:23 +00:00
nickysn
4b80bc958c + set the win16 local heap size in the executable
git-svn-id: trunk@31552 -
2015-09-06 13:52:22 +00:00
nickysn
393d86a2e5 + implemented writing proper win16 dll import libraries
git-svn-id: trunk@31532 -
2015-09-05 13:45:23 +00:00
nickysn
839ab714cc + started implementing a win16 target :)
git-svn-id: trunk@31521 -
2015-09-05 02:47:42 +00:00