[fpc-devel] SymbianOS port

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Jan 18 12:47:20 CET 2007


Hi,

I can´t seam to get fpcmake to work. I did a svn update, and changed
the following on fpcmmain.pp:

Index: fpcmmain.pp
===================================================================
--- fpcmmain.pp	(revision 6038)
+++ fpcmmain.pp	(working copy)
@@ -70,7 +70,7 @@
         o_linux,o_go32v2,o_win32,o_os2,o_freebsd,o_beos,o_netbsd,
         o_amiga,o_atari, o_solaris, o_qnx, o_netware, o_openbsd,o_wdosx,
         o_palmos,o_macos,o_darwin,o_emx,o_watcom,o_morphos,o_netwlibc,
-        o_win64,o_wince,o_gba,o_nds,o_embedded
+        o_win64,o_wince,o_gba,o_nds,o_embedded,o_symbian
       );

       TTargetSet=array[tcpu,tos] of boolean;
@@ -88,14 +88,14 @@
         'linux','go32v2','win32','os2','freebsd','beos','netbsd',
         'amiga','atari','solaris', 'qnx', 'netware','openbsd','wdosx',
         'palmos','macos','darwin','emx','watcom','morphos','netwlibc',
-        'win64','wince','gba','nds','embedded'
+        'win64','wince','gba','nds','embedded','symbian'
       );

       OSSuffix : array[TOS] of string=(
         '_linux','_go32v2','_win32','_os2','_freebsd','_beos','_netbsd',
         '_amiga','_atari','_solaris', '_qnx', '_netware','_openbsd','_wdosx',
         '_palmos','_macos','_darwin','_emx','_watcom','_morphos','_netwlibc',
-        '_win64','_wince','_gba','_nds','_embedded'
+        '_win64','_wince','_gba','_nds','_embedded','_symbian'
       );

       { This table is kept OS,Cpu because it is easier to maintain (PFV) }
@@ -126,7 +126,8 @@
         { wince    }( true,  false, false, false, false, true,  false),
         { gba    }  ( false, false, false, false, false, true,  false),
         { nds    }  ( false, false, false, false, false, true,  false),
-        { embedded }( true,  true,  true,  true,  true,  true,  true)
+        { embedded }( true,  true,  true,  true,  true,  true,  true),
+        { symbian } ( true,  false, false, false, false, true,  false)
       );

     type

I also added symbian target to fpcmake.ini:

# Symbian OS
ifeq ($(OS_TARGET),symbian)
SHAREDLIBEXT=.dll
SHORTSUFFIX=symbian
endif

next I build fpcmake with fpc 2.0.4 and tryed to run it, but it
crashes, and "make" command doesn´t seam to have included debug info.

C:\Programas\fpc21>fpcmake
An unhandled exception occurred at $0040C63C :
EAccessViolation :
  $0040C63C
  $0044DF0D
  $00454DD6
  $00410C46
  $00401F28

Any ideas?

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list