On ubuntu lucid i install fpc 2.5.1 as cross compiler linux / windows and run a small test with fp and it compile test and test.exe correctly. I've /usr/local/lib/fpc/2.5.1/units/i386-linux
and /usr/local/lib/fpc/2.5.1/units/i386-win32
Also
/usr/local/lib/fpc/2.5.1/ppc386
and
/usr/local/lib/fpc/2.5.1/ppccross386
( Of course after compile the new fpc i remove :/usr/bin/ppc386 )
Before compile today svn lazarus i do:
moi at moi-desktop:~/freepascal/lazarus$ fpcmake -T i386-linux,i386-win32 Processing Makefile.fpc
i386-linux requires: rtl,regexpr
i386-win32 requires: rtl,regexpr
Writing Makefile
make clean all
Path in lazarus are:
compiler /usr/local/lib/fpc/2.5.1/ppc386
source /home/moi/freepascal/fpc/
In /ect/fpc.cfg i modify -Fu paths:
---------------------------------
#IFDEF FPCAPACHE_1_3
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/httpd13/ #ELSE
#IFDEF FPCAPACHE_2_0
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/httpd20 #ELSE
-Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/httpd22 #ENDIF
#ENDIF
# searchpath for units and other system dependent things
-Fu/home/moi/freepascal/lazarus/components/indy-10.2.0.3/fpc/ -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/* -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/rtl #-Fu~/fpc/packages/base/*/units/;~/fpc/fcl/units/;~/fpc/rtl/units/ -----------------------------
And when i use the project/options win32 ans LCL win32/win64 i got:
rttictrls.pas(33,31) Fatal: Can't find unit LResources used by RTTICtrls( Error not in my app, the same compile fine with lazarus windows xp )
What's wrong ?
A funny thing: I try to compile lazarus from IDE with win32 in advanced construct options
and he give me a lazarus.exe it can compile itself but no my apps ?
