Pierre Muller
222a41be7b
Change declaration of DynLinkStr local variable of MakeExecutable method to ansitring to avoid short string overflows
2021-11-28 23:57:09 +00:00
Jonas Maebe
e7d1a77f9a
* rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS
...
* rename the m68k/PowerPC-MacOS targets to m68k/PowerPC-MacOSClassic
* repurpose the AArch64/Darwin target for AArch64/macOS
o make AArch64-Darwin default target for a hosted AArch64-Darwin compiler
git-svn-id: trunk@45758 -
2020-07-10 21:52:24 +00:00
Jonas Maebe
6483b3f5e3
* fixed opt-in sysroot substitution again, renamed the three-argument version
...
TSearchPathList.AddPath() to AddLibraryPath() to make it clear it's only
to be used for adding library search paths (and replaced one case where
it was used for a source file search path with a call to the
two-argument version)
* also added some missing '=' prefixes to built-in library search paths,
and fixed wrong DirectoryExists checks in t_linux in case of using
a sysroot, cross-compiling or linking on target
git-svn-id: trunk@43312 -
2019-10-26 13:48:30 +00:00
Jonas Maebe
281b3ad276
* fix case completeness and unreachable code warnings in compiler that would
...
be introduced by the next commit
git-svn-id: trunk@42046 -
2019-05-12 14:29:03 +00:00
Károly Balogh
ba2327f89b
macos: initial cross-linker support, based on the binutils in the Retro68 GNU binutils
...
git-svn-id: trunk@38101 -
2018-02-02 23:01:25 +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
Károly Balogh
d115b0e8dc
m68k: changed the internal name of 68k MacOS from system_m68k_mac to system_m68k_macos, so it's consistent with the PowerPC version. suggestion/request by Sven :)
...
git-svn-id: trunk@37035 -
2017-08-22 11:22:15 +00:00
Károly Balogh
1d78e73ed8
m68k: there are now cross-binutils for old MacOS, so based on the old/existing bits, fix the support in the compiler
...
git-svn-id: trunk@37028 -
2017-08-22 10:41:02 +00:00
sergei
38058505ba
* Changed linking infrastructure to look like assembler one:
...
* Changed direct references to linker classes in TSystemInfo records to enumerated ids.
* RegisterExtennalLinker and RegisterInternalLinker procedures replaced by single RegisterLinker procedure and moved to link.pas.
- TAbstractLinker is no longer necessary, removed.
This change allows to register linker once per id, rather than once per target, and also allows TSystemInfo records to be read-only.
git-svn-id: trunk@25279 -
2013-08-18 12:01:21 +00:00
Jonas Maebe
0841ee6e4f
* GNU ld only supports double quotes in its response file -> requote there
...
as well under Unix (mantis #21928 , caused by r21069)
git-svn-id: trunk@21208 -
2012-05-03 12:41:16 +00:00
Jonas Maebe
14cfe770a4
* replaced most (if not all) remaining fields/parameters in the compiler
...
that deal with paths/filenames with TPathStr (= ansistring) to prevent
cutting off long paths (no change in speed when compiling the compiler,
1% extra memory usage)
git-svn-id: trunk@21120 -
2012-04-29 17:36:23 +00:00
micha
0625040eba
+ add -XR switch for target root file system with libs (also used for C lib type detection)
...
git-svn-id: trunk@8695 -
2007-09-30 15:00:54 +00:00
daniel
9adb202a92
* Rework the constexprint to allow operations from low(int64) to high(qword).
...
+ Some initial work on a formaldef which also carries the typinfo of a parameter.
git-svn-id: trunk@7639 -
2007-06-13 07:41:18 +00:00
Jonas Maebe
90ea73a90b
* more file handling from shortstring to tcmdstr
...
git-svn-id: trunk@6595 -
2007-02-21 21:54:54 +00:00
peter
7a2e0da7bd
* extra parameter for file searching functions
...
that indicate if the cache shall be used or not
* fixed compile of non-x86 targets
git-svn-id: trunk@5115 -
2006-10-31 10:56:58 +00:00
Jonas Maebe
07d2ecb78b
* fixed compilation
...
git-svn-id: trunk@5113 -
2006-10-31 09:46:47 +00:00
peter
9f5d69ce31
* make win32 compile
...
git-svn-id: trunk@5103 -
2006-10-30 23:46:28 +00:00
florian
85d63d9fa9
* settings refactored
...
git-svn-id: trunk@5094 -
2006-10-30 18:02:58 +00:00
Jonas Maebe
9b33012fe9
* fixed compilation
...
git-svn-id: trunk@4551 -
2006-09-04 11:34:02 +00:00
peter
bf1c390027
* refactor import library generation
...
* support variable imports in internal linker
git-svn-id: trunk@4544 -
2006-09-03 19:22:31 +00:00
Jonas Maebe
9b48d424ff
* fixed use of uninitialised variables
...
git-svn-id: trunk@4195 -
2006-07-14 19:45:14 +00:00
peter
d69ad5d84d
* cleanup external/nolink options
...
git-svn-id: trunk@3375 -
2006-04-29 21:49:37 +00:00
Jonas Maebe
5f3e0b5398
* link_allways -> link_always
...
git-svn-id: trunk@2594 -
2006-02-15 14:36:30 +00:00
Jonas Maebe
65dd7465ae
* some string -> TCmdStr fixes
...
git-svn-id: trunk@1225 -
2005-09-29 11:32:22 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
peter
b68af1b0e3
* post 2.0.0 fixes from cvs
...
git-svn-id: trunk@7 -
2005-05-16 20:59:02 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
olle
5d05584a8e
* Fix small issue for link script
2005-05-14 12:15:18 +00:00
Jonas Maebe
a5c94ddccd
* removed some unused variables
2005-03-25 21:55:43 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
olle
72f24474fb
+ added SIZE resource facilities
2005-02-08 22:30:32 +00:00
olle
39ba224077
+ Mac style resource files can now be included in MacOS
2005-01-24 17:53:12 +00:00
olle
2ded07f47e
+ linker response file is now removed after linking
2005-01-09 16:35:41 +00:00
olle
ea004048cb
+ suppression of link varning of 'qd'
2004-12-28 22:00:15 +00:00
peter
dc363f29bc
* maybequoted() added
2004-12-22 16:32:45 +00:00
peter
1f6d2f6ece
* fixed setting of mangledname when importing
2004-11-19 16:30:24 +00:00
peter
0c7e53bb81
* fixed compile of powerpc,sparc,arm
2004-11-11 19:31:33 +00:00
peter
e7459f5466
* heap and heapsize removed
...
* checkpointer fixes
2004-10-25 15:38:41 +00:00
olle
922a594dd8
+ When link on target, the script sets file type on link.res
2004-09-13 16:13:04 +00:00
olle
a06d889f52
+ made fpc work as an MPW tool, by itself calling asm and link.
2004-08-20 10:30:00 +00:00
florian
8a9758c5e2
* logs truncated
2004-06-20 08:55:28 +00:00
olle
d5b3df22d6
+ added GUI apptype to MacOS
2004-05-11 18:24:39 +00:00
olle
d8bb302b0f
+ Status checks in scripts
...
+ Scripts support apptype tool
+ Added some ScriptFixFileName
2004-04-06 22:44:16 +00:00
olle
dfa6403a70
+ Support for Link on target especially for MacOS
...
+ TLinkerMPW
+ TAsmScriptMPW
2004-02-19 20:40:15 +00:00
florian
887d64f038
* another compile fix
2003-04-27 08:52:00 +00:00
peter
3bda511c4a
* compile fix
2003-04-27 08:50:45 +00:00
carl
64655be168
* memory optimization (3-4%) : cleanup of tai fields,
...
cleanup of tdef and tsym fields.
* make it work for m68k
2002-11-17 16:31:55 +00:00
olle
fdfa16d47a
* header comment updated
2002-10-16 20:18:33 +00:00
florian
654d313c73
* importing via external is now possible for macos
2002-10-02 21:50:19 +00:00
carl
517c2566e8
* moved files to systems directory
2002-09-06 15:03:50 +00:00