Hello,
There are some things missing before the IDE can generate Windows CE
programs.
For one thing, compiling from the command line requires adding these
options to fpc.cfg:
-Twince
-FuC:\Programas\fpc\units\arm-wince
-XParm-wince-
-FDC:\Programas\arm
I think they probably should be added by the IDE, because it is a extra
problem if the user needs to add them to his fpc.cfg file and I think
they make the compiler unable to write non-wince software.
I have a correct fpc.cfg file and I can compile Wince software from the
command line, but when I do a build all on a project set up for Windows
CE it will say the project was correctly build, will create .o files,
but no executable is created.
Here is my batch script:
PATH=C:\Programas\fpc21\compiler;c:\Programas\fpc202\bin\i386-win32;c:\Programas\arm
ppcrossarm.exe -Twince -FuC:\programas\lazarus\lcl\units\arm-wince
-FuC:\programas\lazarus\lcl\units\arm-wince\wince
-FuC:\Programas\fpc21\rtl\units\arm-wince -FDC:\Programas\arm
-XParm-wince- cetest.lpr
cd c:\Programas\lazarus
And here are the options generated by the IDE:
-S2cgi -OG1 -TWinCE -Parm -gl -WG -vewnhi -l
-Fu..\lazarus\lcl\units\arm-wince\
-Fu..\lazarus\lcl\units\arm-wince\wince\
-Fu..\lazarus\packager\units\arm-wince\ -Fu. "-oC:\Programas\Windows
CE\cetest" -dLCL -dLCLwince
thanks,
Felipe
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives