summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2021-11-28 17:27:44 +0300
committerIvan Maidanski <ivmai@mail.ru>2021-11-29 11:04:50 +0300
commit9e6fa6abadadb77933d86faa05e3cc35c4155d36 (patch)
treefc8ee712719a0e8f36380289f3f42f8afbad65d2 /doc
parentd87fe3febafa61af26c3c4a9469205bdd1780782 (diff)
downloadbdwgc-9e6fa6abadadb77933d86faa05e3cc35c4155d36.tar.gz
Remove Symbian makefile
* build/s60v3/bld.inf: Remove. * build/s60v3/libgc.mmp: Likewise. * doc/README.symbian: Copy content of bld.inf and libgc.mmp (as a sample build configuration); add global_end.cpp, global_start.cpp, init_global_static_roots.cpp as source files. * Makefile.am (EXTRA_DIST): Remove bld.inf, libgc.mmp items. * README.md (Installation and Portability): Do not mention Symbian-specific makefile.
Diffstat (limited to 'doc')
-rw-r--r--doc/README.symbian56
1 files changed, 55 insertions, 1 deletions
diff --git a/doc/README.symbian b/doc/README.symbian
index 515a9cca..c3e0c833 100644
--- a/doc/README.symbian
+++ b/doc/README.symbian
@@ -1,5 +1,5 @@
Instructions for Symbian:
-1. Build: use libgc.mmp
+1. Build: use libgc.mmp (the sample for s60v3 is provided below)
2. Limitations
2.1. No multi-threaded support yet
2.2. Be careful with limitation that emulator introduces: Static roots are not
@@ -9,3 +9,57 @@ Consequently, on emulator, you can only use dlls or exe, and retrieve static
roots by calling global_init_static_root per dll (or exe).
On target, only libs are supported, because static roots are retrieved by
linker flags, by calling global_init_static_root in main exe.
+
+
+bld.inf sample contents:
+
+PRJ_PLATFORMS
+default armv5
+
+PRJ_MMPFILES
+libgc.mmp
+
+
+libgc.mmp sample contents:
+
+TARGET libgc.dll
+
+TARGETTYPE dll
+UID 0x1000008d 0x200107C2 // check uid
+
+EXPORTUNFROZEN
+EPOCALLOWDLLDATA
+
+CAPABILITY PowerMgmt ReadDeviceData ReadUserData WriteDeviceData WriteUserData SwEvent LocalServices NetworkServices UserEnvironment
+
+MACRO ALL_INTERIOR_POINTERS
+MACRO NO_EXECUTE_PERMISSION
+MACRO USE_MMAP
+MACRO GC_ATOMIC_UNCOLLECTABLE
+MACRO GC_DONT_REGISTER_MAIN_STATIC_DATA
+MACRO GC_DLL
+MACRO JAVA_FINALIZATION
+MACRO SYMBIAN
+MACRO ENABLE_DISCLAIM
+
+USERINCLUDE .\include
+USERINCLUDE .\include\private
+
+SYSTEMINCLUDE \epoc32\include
+SYSTEMINCLUDE \epoc32\include\stdapis
+
+SOURCEPATH .
+
+SOURCE extra/gc.c
+SOURCE extra/symbian.cpp
+
+SOURCE extra/symbian/global_end.cpp
+SOURCE extra/symbian/global_start.cpp
+SOURCE extra/symbian/init_global_static_roots.cpp
+
+STATICLIBRARY libcrt0.lib
+LIBRARY libc.lib
+LIBRARY euser.lib
+LIBRARY efsrv.lib
+LIBRARY avkon.lib
+LIBRARY eikcore.lib