![]() ![]() #-Fr/opt/fpc/lib/fpc/$fpcversion/msg/errorn.msg #-Fr/opt/fpc/lib/fpc/$fpcversion/msg/errore.msg # path to the messagefile, not necessary anymore but can be used to override # Both slashes and backslashes are allowed in paths # CPU is one of 386, PENTIUM, PENTIUM2, PENTIUM3, PENTIUM4, PENTIUMM # X is one of REGVAR UNCERTAIN STACKFRAME PEEPHOLE ASMCSE LOOPUNROLL # -O3 level 3 optimizations (same as -O2u) # -O2 level 2 optimizations (-O1 + slower optimizations) # -O1 level 1 optimizations (quick optimizations) # Set default codegeneration checks (iocheck, overflow, range, stack) # (can be overruled with -CD, -CS at the commandline) # Uncomment the next line if you always want static/dynamic units by default # Allow goto, inline, C-operators, C-vars # -Ss constructor name must be init (destructor must be done) # -SIcomCOM compatible interface (default) # -Se compiler stops after the errors (default is 1) # -Sc supports operators like C (*=,+=,/= and -=) # All assembler blocks are AT&T styled by default ![]() # Turn on Object Pascal extensions by default # -Mmacpas tries to be compatible to the macintosh pascal dialects # -Mobjfpc switch some Delphi 2 extensions on # For a debug version compile with debuginfo and all codegeneration checks on # For a release compile with optimizes and strip debuginfo ![]() # Try compiling with the -dRELEASE or -dDEBUG on the commandline # Some examples (for switches see below, and the -? helppages) # nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed # Example fpc.cfg for Free Pascal Compiler # Config file generated by fpcmkcfg on 9-11-11 - 22:08:31 Sudo ln -sf /opt/fpc/lib/fpc/2.6.1/ppcrossarm /usr/bin/ppcarm So I use some scripts for switching between different versions of FreePascal(this one is for switching to version from fixes_2_6 branch): And my script install everything to /opt/fpc, not to /usr. My script will build FreePascal 2.6.x from fixes_2_6 branch, so it should be 2.6.x version. I get /usr/lib/fpc/2.7.1/ppcrossarm spat back at me. Reminds one of the DLL hell you could get from windows 95.Īnyone here have a detailed procedure on their setup with FPC (or lazarus) for cross compiling to android they'd be willing to share by any chance? I'm in a state of denial about surrendering my article to the trash can because FPC is playing hard to get - as am I about publishing faulty instructions! I had a go at fixing up the paths and running through it manually but I get hangs during compilations, random errors from code and missing files. The scripts detailed on this page: seem to be a little dated. Virtual machine of x86 Linux Mint 11 (its 100% ubuntu compatible so no problems there, just better performance :) )Ī copy of the Android NDK and SDK (its possible the NDK is a little iffy but the emulator and what not works)Ī copy of freepascal 2.6.0 for x86 from the deb filesĪ copy of the Sun java 6 sdk from the APT repo Of course, I tried trawling over the darn pages again and again, but a human can only hit his head against a wall so many times before going insane, so here's where I'm at (where I think I know it all works well): ![]() The wiki instructions worked once and once only - I got one APK out and the next F8 key later it was crash this, error that. The article for PGD gamer has taken a turn for the worse. Please refer to the Website Terms of Use for more information in this regard.Yup, its come this. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the Website Terms of Use for more information in this regard.Ĭonfindential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Disclaimer: The information provided on and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |