Felipe Monteiro de Carvalho wrote:
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
This is in the compiler options.
-FuC:\Programas\fpc\units\arm-wince
If you setup your directory structure correctly, the right directory is
already chosen. I would suggest having something like:
-FuC:\Programas\fpc\units\$fpctarget
in fpc.cfg
-XParm-wince-
-FDC:\Programas\arm
I have these extra lines:
cross compiling support
#ifdef FPC_CROSSCOMPILING
# set path to crossutils. Assuming in one dir.
-FDc:\fpc\crossbin
# this is not 100% safe. GNU and FPC naming differ
-XP$FPCTARGET-
#endif
I will add these to the default fpc.cfg for installers, when I
restructure the lazarus/fpc directory layout.
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 disagree, see above.
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.
I don't think I have this problem, but I will need time to test it.
Vincent.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives