Commit Graph

500 Commits

Author SHA1 Message Date
Pierre Muller
497dd20a08 Regenerate Makefile's with trunk fpcmake 2022-03-27 08:23:22 +00:00
inoussa
163d2ab344 Unicode' unicodenumtable.pas removed : update Makefile.fpc. 2022-03-26 21:17:54 +00:00
Pierre Muller
2f28c5596f Regenerate all Makefile's to fix problem on x86_64 linux 2022-03-07 23:46:15 +00:00
Pierre Muller
ad2ac98858 Update Makefile's 2022-03-07 22:35:29 +00:00
Pierre Muller
4da4c96349 Regenerate Makefile's with mips gcc fixes and new enabled mips64-linux target 2022-02-15 15:45:15 +00:00
Nikolay Nikolov
21593942a1 * regenerate all makefiles with the latest fpcmake 2022-02-13 15:26:54 +02:00
Nikolay Nikolov
b407b67ca1 * regenerate all makefiles with latest fpcmake 2022-01-19 07:08:32 +02:00
Robert Roland
53e5a4a03a Adding aaarch64-embedded target
This adds support for aarch64-embedded, specifically for the Raspberry Pi 3.

Uses UART0 at 115200 baud 8N1 for console IO.
2022-01-05 12:29:00 +00:00
Pierre Muller
271ba59cf1 All Makefile's regenerated 2021-11-25 22:13:32 +00:00
florian
65ef6f1f37 * regenerated Makefiles 2021-11-24 22:50:37 +01:00
nickysn
433050a2c4 * set EXEEXT to .wasm for the WASI target in fpcmake
git-svn-id: trunk@49552 -
2021-06-24 00:16:00 +00:00
Jonas Maebe
500e29e5e2 * regenerated with FreeBSD/AArch64 support
git-svn-id: trunk@49159 -
2021-04-10 08:19:40 +00:00
florian
e4cc8af8fc * Makefiles regenerated
git-svn-id: trunk@49124 -
2021-04-05 15:39:07 +00:00
nickysn
ea8f068817 * regenerated makefiles after sync with trunk
git-svn-id: branches/wasm@48951 -
2021-03-13 21:52:13 +00:00
nickysn
e42330a7ad * synchronized with trunk
git-svn-id: branches/wasm@48949 -
2021-03-13 21:47:24 +00:00
pierre
e8fbe6696b Update Makefile's after commits 48929/48930
git-svn-id: trunk@48940 -
2021-03-12 13:23:41 +00:00
nickysn
1d9d1ab859 * regenerated makefiles
git-svn-id: branches/wasm@48369 -
2021-01-24 02:01:11 +00:00
nickysn
cf6c173653 * regenerated makefiles
git-svn-id: branches/wasm@47988 -
2021-01-02 22:25:27 +00:00
nickysn
a84b091b5e * makefiles regenerated after fpcmake update
git-svn-id: branches/wasm@47985 -
2021-01-02 22:15:42 +00:00
pierre
68d3962889 Regenerate all Makefile's, and update utils/fpcm/fpcmake.inc and utils/fpcm/revision.inc after commit 47483
git-svn-id: trunk@47484 -
2020-11-20 14:03:57 +00:00
Károly Balogh
9d67adcbb6 * regenerated all Makefiles after Sinclair QL support was added
git-svn-id: trunk@47453 -
2020-11-19 02:58:27 +00:00
pierre
1fdf940d0b Fix compilation failure of i386-netbsd target after last commit
git-svn-id: trunk@47230 -
2020-10-28 07:08:48 +00:00
pierre
8a543dbc8a Use RTE 207 for FPU_Invalid and FPU_Denormal exceptions on i386/x86_64 beos/haiku/*bsd as for Linux
git-svn-id: trunk@47227 -
2020-10-27 23:09:32 +00:00
svenbarth
985c4fafeb * regenerate Makefiles after adding the softfpu units
git-svn-id: trunk@47188 -
2020-10-24 20:58:24 +00:00
svenbarth
707034b271 + add all softfpu units for various targets
git-svn-id: trunk@47187 -
2020-10-24 20:58:08 +00:00
pierre
ca40956a3a Regenerated all Makefile's
git-svn-id: trunk@46224 -
2020-08-04 10:19:49 +00:00
florian
7281ea7a2c * floating point division by zero should throw run time error 208, fixed
git-svn-id: trunk@46210 -
2020-08-03 19:42:16 +00:00
Jonas Maebe
fb23834367 * regenerated Makefiles again
git-svn-id: trunk@45766 -
2020-07-11 09:51:28 +00:00
Jonas Maebe
350d2d92f9 * regenerated Makesfiles
git-svn-id: trunk@45762 -
2020-07-10 22:08:30 +00:00
svenbarth
b3ddd4e786 * regenerate Makefiles
git-svn-id: trunk@45601 -
2020-06-06 17:18:48 +00:00
pierre
c77ef7d6dd Regenerate all Makefile's after change in utils/fpcm/fpcmake.ini to better support use of i386 compiler on x86_64 machines
git-svn-id: trunk@45356 -
2020-05-13 13:53:15 +00:00
nickysn
56b79257a1 * fixed fpmake invokation when building an i386-linux snapshot on a x86_64-linux host
git-svn-id: trunk@45298 -
2020-05-06 20:41:01 +00:00
nickysn
86643f8a34 * synchronized with trunk
git-svn-id: branches/z80@44981 -
2020-04-21 23:36:44 +00:00
svenbarth
184d6d61ed * regenerate makefiles
git-svn-id: trunk@44958 -
2020-04-21 06:09:20 +00:00
nickysn
d57ffc4745 * changed the object file format for z80-embedded and z80-zxspectrum to .rel
git-svn-id: branches/z80@44899 -
2020-04-20 23:36:15 +00:00
nickysn
2f68090dd6 * synchronized with trunk
git-svn-id: branches/z80@44898 -
2020-04-20 22:42:08 +00:00
pierre
cd6de6a4ca Regenerate all Makefiles
git-svn-id: trunk@44882 -
2020-04-20 13:58:47 +00:00
nickysn
0f323df7a3 * synchronized with trunk
git-svn-id: branches/z80@44873 -
2020-04-19 21:10:31 +00:00
Jonas Maebe
26ec913725 * regenerated makefiles
git-svn-id: trunk@44861 -
2020-04-19 17:33:47 +00:00
nickysn
b868d653bb * regenerated makefiles after sync with trunk
git-svn-id: branches/z80@44847 -
2020-04-19 13:00:50 +00:00
nickysn
daf22383b0 * makefiles regenerated with the zxspectrum target
+ added zxspectrum to ppudump

git-svn-id: branches/z80@44820 -
2020-04-19 01:56:06 +00:00
Jonas Maebe
4b59bcb0ca * regenerated makefiles
git-svn-id: trunk@44793 -
2020-04-18 16:08:25 +00:00
florian
5bab6201d5 * rebuild Makefiles
git-svn-id: trunk@44679 -
2020-04-10 19:42:14 +00:00
florian
43dc4c7ea0 * regenerated Makefiles
git-svn-id: trunk@44333 -
2020-03-21 20:59:59 +00:00
pierre
a09e40945c Regenerate all Makefile's after commit #43472
git-svn-id: trunk@43478 -
2019-11-15 14:47:02 +00:00
pierre
912bc1e65b + Add math unit dependency to types$(PPUEXT) rule.
* Fix missing close-brace in several types$(PPUEXT) rules.

git-svn-id: trunk@43042 -
2019-09-19 20:49:12 +00:00
pierre
5ed7bd35df Update all trunk/fpcsrc Makefile's after commit 42749
git-svn-id: trunk@42750 -
2019-08-20 15:58:10 +00:00
marco
fdef3241f9 * some make 3.82 fixes from mantis #35927
git-svn-id: trunk@42610 -
2019-08-09 13:02:27 +00:00
Jonas Maebe
1b6425176b * synchronised with trunk till r42049
git-svn-id: branches/debug_eh@42050 -
2019-05-12 18:44:05 +00:00
pierre
83d72bdf19 Use TIOCtlRequest type for local variable nr inside TCSetAttr function
git-svn-id: trunk@42024 -
2019-05-10 07:23:31 +00:00
Jonas Maebe
128bf046b4 * regenerated Makefiles with LLVM bitcode installation support
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
pierre
74fed2a4cd Regenerate Makefile's after fpcmake change in commit #41721
git-svn-id: trunk@41723 -
2019-03-17 14:45:03 +00:00
nickysn
178217821c + added sortbase as a dependency to unit fgl in the makefiles
git-svn-id: trunk@41180 -
2019-02-02 23:22:09 +00:00
nickysn
248fd313f8 + introduced unit SortBase, which implements the foundation for pluggable
sorting algorithms. A default QuickSort implementation is provided by the
  unit. Other units can be added, to provide other sorting algorithms (e.g.
  HeapSort, MergeSort, IntroSort, etc.)
* TList and TFPList updated to use the current default sorting algorithm defined
  in SortBase for their .Sort method.

git-svn-id: trunk@41167 -
2019-02-02 20:06:50 +00:00
Károly Balogh
5182dc37af haiku-x86_64: regenerated all Makefiles, take 2
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
yury
a29290202f * Regenerated makefiles to support x86_64-android.
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
8c59eb1ce5 * Regenerated makefiles to support aarch64-android.
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
pierre
fe61157cae Update all rtl Makefile's
git-svn-id: trunk@39824 -
2018-09-27 06:55:12 +00:00
Jeppe Johansen
2aaf481d89 Regenerated makefiles.
git-svn-id: branches/laksen/riscv_new@39476 -
2018-07-20 10:40:57 +00:00
pierre
81a14c5a5a Remove obsolete -DNOMOUSE (used only in packages/rtl-console)
git-svn-id: trunk@39428 -
2018-07-10 10:25:58 +00:00
nickysn
65d8836952 * updated dependencies of unit ports (objpas and x86 is no longer required on
certain platforms) and regenerated makefiles

git-svn-id: trunk@39373 -
2018-07-04 00:33:12 +00:00
pierre
d6be56e225 Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
git-svn-id: trunk@38750 -
2018-04-12 15:23:03 +00:00
Károly Balogh
f200f9edce netbsd: add a set of new syscalls to be used on ARM, because the recent ARM/EABI kernels doesn't seem to support the older calls
git-svn-id: trunk@38602 -
2018-03-22 23:47:55 +00:00
Károly Balogh
ff28ce84b2 netbsd: arm also needs USE_SIGACTION_SIGTRAMP
git-svn-id: trunk@38592 -
2018-03-22 01:11:33 +00:00
Károly Balogh
b06105c893 netbsd: startup code, first working version for arm
git-svn-id: trunk@38591 -
2018-03-22 01:10:37 +00:00
Károly Balogh
604829bdfd netbsd: support syscall offsetting for EABI. primarily to support NetBSD on ARM EABI
git-svn-id: trunk@38529 -
2018-03-15 13:44:12 +00:00
Károly Balogh
77b97abe61 arm-netbsd: regenerated the required Makefiles
git-svn-id: trunk@38413 -
2018-03-05 15:44:49 +00:00
Károly Balogh
dbb91b5ef0 arm-netbsd: added platform define and dummy rtl files so the build passes for this platform. port not functional yet
git-svn-id: trunk@38412 -
2018-03-05 15:38:46 +00:00
pierre
595938637e Add explicit FPC_SYSTEM_OPT variable that is only used for compilation of system units, thus allowing to explicitly pass -Sf option
git-svn-id: trunk@37890 -
2018-01-02 16:50:58 +00:00
florian
5bedaf11f4 * fpcmake.inc and Makefiles renerated after last commit
git-svn-id: trunk@37834 -
2017-12-27 15:08:18 +00:00
pierre
d18627f0af * Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
pierre
cc87746fb0 Add missing .comm for environ and operatingsystem_parameter_{envp|argc|argv}
git-svn-id: trunk@37044 -
2017-08-23 11:16:19 +00:00
Károly Balogh
04dee0fc04 regenerated Makefiles for m68k-macos target
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
Károly Balogh
914ac30919 netbsd/powerpc: made it to build at least. resulting executables probably still crash & burn
git-svn-id: trunk@36859 -
2017-08-08 14:31:57 +00:00
Károly Balogh
847f014707 netbsd: prt0 startup code and dummy files for build pass for m68k
git-svn-id: trunk@36779 -
2017-07-23 22:43:31 +00:00
nickysn
748428b637 + support the KOI8-R and KOI8-U Cyrillic encodings
git-svn-id: trunk@36445 -
2017-06-07 13:51:53 +00:00
nickysn
fce5fbd726 + added cp3021 (Bulgarian MIK) code page support
git-svn-id: trunk@36444 -
2017-06-07 13:19:20 +00:00
nickysn
396eebbfb5 + added support for iso8859-[3,4,6,7,8,9,10,11,13,14,15,16]
* charmap .txt files in rtl/ucmaps for iso8859-[1,2,5] also updated

git-svn-id: trunk@36425 -
2017-06-05 16:36:24 +00:00
nickysn
35be7348fb + added code pages 737, 775, 857, 860, 861, 862, 863, 864, 865 and 869
git-svn-id: trunk@36423 -
2017-06-05 14:25:15 +00:00
nickysn
ef25c33d69 + added cp855 to the implicit unit list in the rtl makefiles
git-svn-id: trunk@36421 -
2017-06-05 12:19:01 +00:00
pierre
17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
Károly Balogh
14ba99ea09 netbsd: bits of the m68k support I started to hack together. non functional yet.
git-svn-id: trunk@35501 -
2017-03-01 17:26:23 +00:00
marco
1458243b33 * fix uuchar rule for file to compile outside default directory, also for NetBSD. OpenBSD was already ok
git-svn-id: trunk@34877 -
2016-11-11 14:51:20 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
Jonas Maebe
2e64c63993 * fixed dependencies for lineinfo unit after r33007
* also made lnfodwrf dependent on lineinfo for all platforms,
    because both units implicitly depend on the exeinfo unit
    and if both are compiled at the same time they can fall
    over each other while writing its .ppu or .s file

git-svn-id: trunk@33039 -
2016-02-01 22:52:50 +00:00
Jonas Maebe
30a3ad7538 * fixed cpu unit dependencies for i386 after r32857 (part of mantis #29439)
git-svn-id: trunk@32967 -
2016-01-18 22:20:16 +00:00
florian
c9204f6c5e + added explicit rules for the iso7186 unit for the bsd targets
* fixed FreeBSD Makefile to work with make 3.82

git-svn-id: trunk@32433 -
2015-11-21 14:43:54 +00:00
pierre
55b32f741d Add explicit dependency of extpas unit on dos unit for freebsd/netbsd/openbsd and dragonfly
git-svn-id: trunk@32356 -
2015-11-18 10:05:11 +00:00
florian
70b8789262 o basic extended pascal support:
+ automatically loaded helper unit
  * Makefiles adapted
  * mode switch
  * mode switches reorganized
+ TimeStamp support

git-svn-id: trunk@32330 -
2015-11-15 15:13:36 +00:00
nickysn
2e3cb70489 * regenerated makefiles after adding the win16 target
git-svn-id: trunk@31525 -
2015-09-05 11:02:54 +00:00
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
pierre
c45d3a2d96 Correct pthread related types
git-svn-id: trunk@30172 -
2015-03-12 20:59:56 +00:00
Jonas Maebe
fa328436ab * regenerated for iphonesim/x86-64
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
3d01d4ceb1 * regenerated with Darwin/AArch64 support
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
marco
d407b668d1 * version updated to 3.1.1
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
pierre
d01bf2dea3 Multifield pthread_attr_t for NetBSD
git-svn-id: trunk@29058 -
2014-11-10 23:13:25 +00:00
pierre
5659e910ef Also define __CPU_SIMPLE_LOCK_PAD for x86_64 netbsd
git-svn-id: trunk@29057 -
2014-11-10 23:12:43 +00:00
pierre
f9abd7b1da Also define PHTREAD_INHERIT_SCHED
git-svn-id: trunk@29056 -
2014-11-10 23:11:41 +00:00
pierre
f188dec303 Add missing unixtype unit dependencies
git-svn-id: trunk@27507 -
2014-04-10 09:54:26 +00:00
marco
a818559481 * clocale moved to rtl-extra.
git-svn-id: trunk@27376 -
2014-03-30 15:27:35 +00:00
marco
d6f5ca21b9 * moved units ipc for *BSD, darwin/iphonesim and linux. The others are
makefile cleanups.

git-svn-id: trunk@27373 -
2014-03-30 13:13:13 +00:00
marco
c6424b2e0b * moved unit terminfo to rtl-console
git-svn-id: trunk@27353 -
2014-03-29 21:00:50 +00:00
marco
959ea7f5bb * printer unit moved. Amiga unit also moved but it is not actively used.
git-svn-id: trunk@27351 -
2014-03-29 20:35:28 +00:00
marco
7f8a9bcf6e * serial to rtl-extra
git-svn-id: trunk@27350 -
2014-03-29 20:06:36 +00:00
marco
c465d3d64a * moving 4 cp9* units. These are 16-bit and big.
git-svn-id: trunk@27349 -
2014-03-29 19:43:13 +00:00
marco
ed3a49372d * strutils moved to packages/rtl-objpas
git-svn-id: trunk@27339 -
2014-03-29 17:51:44 +00:00
pierre
0b8f6c621c Fix an error in rtlconsts$(PPU) rule
git-svn-id: trunk@27307 -
2014-03-27 23:18:28 +00:00
marco
c376210946 * regenned makefiles which were regennerated with a 2.6.x fpcmake in the rtl-unicode transition
Mantis #25897

git-svn-id: trunk@27231 -
2014-03-22 20:11:13 +00:00
marco
a1351db576 * rtl-unicode package, containing unicodeducet, collation units and *bidi* units
git-svn-id: trunk@27207 -
2014-03-20 18:28:38 +00:00
marco
08b26eeba6 * matrix+ucomplex line removal.
git-svn-id: trunk@27205 -
2014-03-20 18:10:46 +00:00
yury
73c26bd6be * mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used.
git-svn-id: trunk@26705 -
2014-02-07 12:37:17 +00:00
Tomas Hajny
be6fdf21ce + character sets for central Europe added also to Makefiles as implicit units
git-svn-id: trunk@26527 -
2014-01-20 00:23:36 +00:00
pierre
9303231220 Remove objects from RTL unit list for netbsd
git-svn-id: trunk@26451 -
2014-01-13 22:23:24 +00:00
marco
057b07966c * some more socket fixes. unix*/unx* files were manually moved, not svn moved.
git-svn-id: trunk@26431 -
2014-01-12 14:11:50 +00:00
marco
f09374a197 * winsock(and -2), sockets and gpm to rtl-extra.
git-svn-id: trunk@26426 -
2014-01-11 19:45:37 +00:00
marco
dea2c743d5 * Initial active version of
rtl-extra : objects matrix ucomplex
   rtl-objpas: convutil(s) dateutil(s) stdconvs variants varutils
   

git-svn-id: trunk@26398 -
2014-01-05 19:20:15 +00:00
paul
14a34239cc rtl: add cp856 to makefiles
git-svn-id: trunk@26387 -
2014-01-05 06:03:28 +00:00
marco
a001e12d04 * rtl-console initial version.
git-svn-id: trunk@26372 -
2014-01-03 22:19:02 +00:00
marco
ebe262762a * Clean out of $i textrec and filerec includes that are redundant now that cpstrrtl exposes
those records via system. 

git-svn-id: trunk@26356 -
2014-01-02 13:26:09 +00:00
marco
018be5c22c * add pthread_attr_destroy, due to Vincent's follow up to mantis #25416
git-svn-id: trunk@26223 -
2013-12-12 10:13:41 +00:00
pierre
2fa28f7e1c Add buildcollations and unicode* units
git-svn-id: trunk@26183 -
2013-12-05 17:22:13 +00:00
nickysn
1bea98995b * regenerated fpcmake makefiles after r25642
git-svn-id: trunk@25644 -
2013-10-05 10:11:27 +00:00
Jonas Maebe
da7a67bc74 + FPCRTL_FILESYSTEM_SINGLE_BYTE_API define that is set for targets where we
use a single byte API for file system operations
  + FPCRTL_FILESYSTEM_TWO_BYTE_API define that is set for targets where we
    use a single byte API for file system operations
   o in principle, both can be set if both are supprted and implemented in
     the RTL in order to minimise conversions depending on the scenario

git-svn-id: branches/cpstrrtl@24991 -
2013-06-27 21:37:39 +00:00
Jonas Maebe
ecd3cba02b * synchronised with trunk up to r24912
o resolved conflict in updated morphos sysutils unit
   o moved code that had been added to the now deleted  sysunix.inc to the
     unix-specific block of the fpwidestring unit's init code

git-svn-id: branches/cpstrrtl@24913 -
2013-06-17 20:50:02 +00:00
marco
c987e1f5b9 * add CPU prefix to some defines
M    netbsd/signal.inc

git-svn-id: trunk@24684 -
2013-06-01 08:17:30 +00:00
pierre
78a7043352 Regenerate all Makefiles with an up-to-date fpcmake binary (dummy commit)
git-svn-id: trunk@24367 -
2013-04-29 12:30:54 +00:00
florian
3d7033d81e * Makefiles regenerated
git-svn-id: trunk@24325 -
2013-04-25 20:25:57 +00:00
paul
a592e77f35 rtl: add missing windows codepages (mantis #0024294)
git-svn-id: trunk@24295 -
2013-04-22 01:48:12 +00:00
pierre
050cc0b0a7 Regenerated after: Added dllprt0.as fro netbsd
git-svn-id: trunk@23847 -
2013-03-15 16:07:57 +00:00
pierre
12d4b0b173 + Added dllprt0.as fro netbsd
git-svn-id: trunk@23846 -
2013-03-15 16:07:25 +00:00
paul
db357320d7 rtl: install all cpXXX .ppu and .o files
git-svn-id: trunk@23802 -
2013-03-12 11:44:15 +00:00
paul
5157304998 rtl: build fpwidestring for the same platforms as character unit
git-svn-id: trunk@23801 -
2013-03-12 03:23:08 +00:00
paul
e379daaf9c compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets
git-svn-id: trunk@23799 -
2013-03-12 01:35:25 +00:00
yury
2b2a68446d * Added new unit unixcp. It contains stuff from winiconv.inc - a table to map Windows code page identifiers to locale names on unix. Also GetSystemCodePage function in this unit can be used to detect which code page is used currently.
* Build unixcp for all unix-like systems.
* Use the unixcp unit in cwstring instead of winiconv.inc.
- Deleted winiconv.inc
- Reverted r22410,r22411,r22428. The compiler will use the unixcp unit to get a default code page for ansistrings.

git-svn-id: trunk@23670 -
2013-02-28 18:21:28 +00:00
yury
2fc220cc6c * Regenerated makefiles.
git-svn-id: branches/targetandroid@23410 -
2013-01-16 14:52:36 +00:00
yury
d26f0552a0 * Sync with trunk r23404.
* Regenerated makefiles.

git-svn-id: branches/targetandroid@23405 -
2013-01-16 13:21:51 +00:00
Jonas Maebe
598d2feeb6 + rtldefs.inc file for every target that contains defines shared by multiple
RTL units. Comes with a FPCRTL_FILESYSTEM_UTF8 define that can be
    activated for targets whose single byte filesystem interface enforces
    UTF-8; included in inc/systemh.inc and unix/cwstring.pp until now
  + DefaultFileSystemCodePage variable that holds the code page used for
    communicating with the OS single byte file system APIs, and for the
    strings returned by those same APIs. Initialized with
   o the result of GetACP in the system unit of Windows platforms, except for
     WinCE which uses UTF-8 since its file system OS API calls already use
     the UTF-16 versions
   o CP_UTF8 on Unix platforms with FPCRTL_FILESYSTEM_UTF8 defined, and with
     DefaultSystemCodePage on other Unix platforms
   o DefaultSystemCodePage on Java/Android JVM targets
  + DefaultRTLFileSystemCodePage variable that holds the code page used to
    encode strings returned by RTL routines that return filenames obtained
    from OS API calls. By default the same as DefaultFileSystemCodePage on
    all platforms. Separate from DefaultFileSystemCodePage for clarity on
    platforms that may use either utf-16 or single byte OS API calls to
    send/receive file names (such as most Windows platforms)
  + new scpFileSystemSingleByte enum that can be passed to
    GetStandardCodePage() to get the default code page for OS single byte file
    system APIs, with implementations for Unix and Windows
  + SetMultiByteFileSystemCodePage() procedure to override the value of
    DefaultFileSystemCodePage

  In principle, in the long run unchanged programs only using generic
  ansistrings and unicodestrings should (mostly) behave the same as in
  FPC 2.6.0 as far as RTL-level file system APIs are concerned if
  they set DefaultFileSystemCodePage and DefaultRTLFileSystemCodePage
  to DefaultSystemCodePage at the start of their execution

git-svn-id: branches/cpstrrtl@22466 -
2012-09-27 07:54:06 +00:00
pierre
6ac8b6e9c7 Fix SigContextRec record for x86_64 cpu
git-svn-id: trunk@22388 -
2012-09-14 12:06:07 +00:00
tom_at_work
810adb2f65 Merge with trunk r22040. Regenerated makefiles.
git-svn-id: branches/targetandroid@22046 -
2012-08-09 08:12:34 +00:00
tom_at_work
4150f0a2fb Rebase with r21814
git-svn-id: branches/targetandroid@21815 -
2012-07-07 23:09:20 +00:00
pierre
de9d8f2880 Regenerated after: Add x86_64 cpu specific units
git-svn-id: trunk@21372 -
2012-05-23 09:16:57 +00:00
pierre
7a9f1556e2 Add x86_64 cpu specific units
git-svn-id: trunk@21371 -
2012-05-23 09:13:06 +00:00
pierre
312c6bb7f8 x86_64 subdirectory added
git-svn-id: trunk@21370 -
2012-05-23 09:09:46 +00:00
tom_at_work
77a85b7448 * basic android/x86 support
git-svn-id: branches/targetandroid@21296 -
2012-05-14 21:14:12 +00:00
marco
4a782b1411 * tcflow and tcsendbreak fix for open/net
git-svn-id: trunk@21240 -
2012-05-05 20:15:43 +00:00
marco
2213b67134 * fix Mantis #21665 for net/free/openbsd
git-svn-id: trunk@21232 -
2012-05-05 15:03:12 +00:00
Jonas Maebe
834026bfb5 * synchronised with trunk up to r21067
git-svn-id: branches/jvmbackend@21068 -
2012-04-26 21:24:20 +00:00
tom_at_work
acbc94e0fd - initial support for the android/arm target in the compiler; resulting .so's can be used for Android/ARM app development.
- basic rtl support using system calls
- fp(c)make/fppkg/makefile support

todo:
- revisit systems/t_android.pas: mostly duplicate with t_linux.pas, containing
lots of unnecessary code
- revisit rtl changes
- android ndk header translation import
- better app build/packaging support
- android/x86 support

git-svn-id: branches/targetandroid@21061 -
2012-04-26 09:36:42 +00:00
pierre
1b3fd997fc + Regenerate all Makefiles's after adding x86_64 netbsd target
git-svn-id: trunk@21031 -
2012-04-24 23:15:18 +00:00
pierre
2684c3fec4 Define USE_SIGACTION_SIGTRAMP for x86_64
git-svn-id: trunk@21029 -
2012-04-24 23:06:22 +00:00
pierre
e0aa5839a9 * Add missing sc_arg6 to sc_arg9 fields in x86_64 SigContext record
git-svn-id: trunk@21028 -
2012-04-24 23:05:20 +00:00
pierre
3b858a6ab2 messages checked
git-svn-id: trunk@20931 -
2012-04-19 14:51:43 +00:00
pierre
196dfdd29a Changed sem_t to pointer to a anonymous struct as in system header and fixed wrong constant values
git-svn-id: trunk@20930 -
2012-04-19 12:52:28 +00:00
pierre
16896f42dd Change SIGIOT to alias of SIGABRT (value does not change)
git-svn-id: trunk@20929 -
2012-04-19 12:37:23 +00:00
pierre
3d17ae49af Corrected NetBSD system errors
git-svn-id: trunk@20923 -
2012-04-18 16:04:01 +00:00
pierre
8750b10113 correct TStatFs for netbsd
git-svn-id: trunk@20904 -
2012-04-17 15:25:29 +00:00
Jonas Maebe
aee5380ae0 * merged trunk up to r20882
o support for the new codepage-aware ansistrings in the jvm branch
   o empty ansistrings are now always represented by a nil pointer rather than
     by an empty string, because an empty string also has a code page which
     can confuse code (although this will make ansistrings harder to use
     in Java code)
   o more string helpers code shared between the general and jvm rtl
   o support for indexbyte/word in the jvm rtl (warning: first parameter
     is an open array rather than an untyped parameter there, so
     indexchar(pcharvar^,10,0) will be equivalent to
     indexchar[pcharvar^],10,0) there, which is different from what is
     intended; changing it to an untyped parameter wouldn't help though)
   o default() support is not yet complete
   o calling fpcres is currently broken due to limitations in
     sysutils.executeprocess() regarding handling unix quoting and
     the compiler using the same command lines for scripts and directly
     calling external programs
   o compiling the Java compiler currently requires adding ALLOW_WARNINGS=1
     to the make command line

git-svn-id: branches/jvmbackend@20887 -
2012-04-15 15:54:10 +00:00
Jonas Maebe
44bd889b9b * regenerated Makefiles with AIX support
git-svn-id: trunk@20812 -
2012-04-11 18:03:57 +00:00
pierre
db525785c8 * Fix typo in last commit
git-svn-id: trunk@20767 -
2012-04-08 21:42:20 +00:00
pierre
8e3da0c7e6 + Add netbsd x86_64 support for intAssignPipe
git-svn-id: trunk@20766 -
2012-04-08 21:32:37 +00:00
pierre
e97ee1aaf9 Add SigContextRec for x86_64 CPU
git-svn-id: trunk@20743 -
2012-04-07 15:52:15 +00:00
pierre
13d667da45 Fix ino_t for stat13 x86_64 CPU
git-svn-id: trunk@20742 -
2012-04-07 15:51:26 +00:00
pierre
78e129931b Add NETBSD_USE_STAT30 conditional for recent NetBSD changes, not yet used
git-svn-id: trunk@20741 -
2012-04-07 15:37:03 +00:00
pierre
bd793d2f70 ino_t is 64 bit for 32-bit system also for NetBSD
git-svn-id: trunk@20738 -
2012-04-06 23:57:00 +00:00
pierre
2c4d8cc9d9 Add x86_64-openbsd target in Makefiles
git-svn-id: trunk@20723 -
2012-04-06 16:49:08 +00:00
pierre
9d9a5013fd * Fix pthread_mutexattr_t type according to /usr/include/pthread_types.h
git-svn-id: trunk@20689 -
2012-04-01 21:27:18 +00:00
pierre
422c618109 Add missing .note.netbsd.ident section
git-svn-id: trunk@20651 -
2012-03-29 14:05:12 +00:00
pierre
63f9d7bbed Update cprt0.as to 5.1 release
git-svn-id: trunk@20643 -
2012-03-27 15:39:30 +00:00
pierre
6edb8a286f Avoid SEGV in signal handler as second parameter is only a code, not a pointer
git-svn-id: trunk@20642 -
2012-03-27 15:34:00 +00:00
pierre
79c8234c8b Protect against nil values for info or SigContext
git-svn-id: trunk@20356 -
2012-02-15 13:20:26 +00:00
pierre
65ec3cfe4e Fix SigActionRec record field order
git-svn-id: trunk@20355 -
2012-02-15 13:19:22 +00:00
pierre
8fc1fb5e15 Regenerate Makefile
git-svn-id: trunk@20343 -
2012-02-13 16:57:03 +00:00
pierre
e4acc1d474 Add explicit rule for variants unit compilation for correct dependencies
git-svn-id: trunk@20342 -
2012-02-13 16:56:30 +00:00
pierre
a874ee7f19 Regenerate Makefile
git-svn-id: trunk@20341 -
2012-02-13 16:46:20 +00:00
pierre
c9c61ef559 Add more missing units to NetBSD
git-svn-id: trunk@20340 -
2012-02-13 16:45:47 +00:00
pierre
30bd2229b2 Wide char and mbstate_t types added
git-svn-id: trunk@20339 -
2012-02-13 16:45:15 +00:00
pierre
2d6ca8a363 * Fix code for SIGFPE and adapt to SignalHandler procedure type change
git-svn-id: trunk@20332 -
2012-02-12 22:55:23 +00:00
pierre
0abcb738e5 * Fix SigActionHandler for fcl-extra
git-svn-id: trunk@20330 -
2012-02-12 19:53:27 +00:00
pierre
464c3bff67 + Add missing PSigContext type
git-svn-id: trunk@20329 -
2012-02-12 19:21:00 +00:00
pierre
beaed6ba70 Regenerate after Makefile.fpc change
git-svn-id: trunk@20299 -
2012-02-10 00:24:57 +00:00
pierre
b7864f2edb Add missing units
git-svn-id: trunk@20298 -
2012-02-10 00:24:27 +00:00
pierre
ed3284546a New file adapted from Darwin
git-svn-id: trunk@20297 -
2012-02-10 00:23:50 +00:00
pierre
ac9f2fc750 Add missing kqueue and kevent syscalls
git-svn-id: trunk@20296 -
2012-02-10 00:21:42 +00:00
pierre
b72b38fdaa * Try to implement real pmutext, not yet working
git-svn-id: trunk@20295 -
2012-02-10 00:20:52 +00:00
pierre
12f3e8fbc3 + Add some missing constants
git-svn-id: trunk@20291 -
2012-02-09 17:34:22 +00:00
pierre
562a60e36a Add some missing units
git-svn-id: trunk@20290 -
2012-02-09 17:33:55 +00:00
pierre
af22d79a31 Add some missing units
git-svn-id: trunk@20289 -
2012-02-09 17:33:35 +00:00
pierre
d9249ab44d Correct passing envp to main
git-svn-id: trunk@20288 -
2012-02-09 17:32:41 +00:00
pierre
6cd1c2a60c + Add CPREFIX macro to allow transition from '_' prefix to ''
git-svn-id: trunk@20287 -
2012-02-09 17:31:43 +00:00
pierre
4a74ba14eb + Add tsiginfo type
git-svn-id: trunk@20242 -
2012-02-03 22:52:21 +00:00
pierre
9aa157b7fc * Remove _strrchr call and add environ common
git-svn-id: trunk@20241 -
2012-02-03 22:51:57 +00:00
pierre
cc69ccff13 + Add missing syscall_nr_sigtimedwait
git-svn-id: trunk@20240 -
2012-02-03 22:51:12 +00:00
pierre
7167b5b065 Fix cross rtl compilation problems
git-svn-id: trunk@20124 -
2012-01-20 16:39:57 +00:00
florian
9426cac1b0 * rebuilt Makefiles
git-svn-id: trunk@19748 -
2011-12-04 15:34:01 +00:00
paul
3e29f0b179 rtl: make cwstring.pp dependent of dynlibs, load iconvctl dynamically
git-svn-id: trunk@19538 -
2011-10-25 01:25:23 +00:00
pierre
f0aa48b083 * Remove use of direct U_UNIT_NAME or TC_UNIT_NAME
symbols in assembler sources.
  Added to corresponding system variables or typed constants a
  public name 'operatingsystem_XXX' alias and used that alias in assembler
  source.

git-svn-id: trunk@18943 -
2011-09-02 12:51:48 +00:00
Jonas Maebe
28c20cfc5e * the default string type for the JVM target is no longer automatically
unicodestring = java.lang.String. The reason this was the default in
    the past is that this was the first string type that was implemented,
    and without it being the default most code involving string operations
    would fail. Now the default strings types are the same as for other
    targets
  + new {$modeswitch unicodestrings} directive, that when activated
    *together* with {$h+},
   1) changes char into an alias for widechar
   2) changes string into an alias for unicodestring
   3) changes the preferred string evaluation type (in case of uncertainty)
      to unicodestring
    {$modeswitch unicodestrings} with {$h-} does not change anything at all
    regarding the string type (it still changes the char type)
  + new uuchar unit that redefines char as widechar, and which is automatically
    included by the compiler if {$modeswitch unicodestrings} is enabled

git-svn-id: branches/jvmbackend@18781 -
2011-08-20 08:35:47 +00:00
pierre
1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
marco
39d7bb511d * Regenned all makefiles before 2.6.x branching.
git-svn-id: trunk@18073 -
2011-08-03 13:41:52 +00:00