Re: [fpc-pascal] FPC i386 and x86_64 using the same source
On Wed, Aug 24, 2011 at 10:06 AM, Marco van de Voort wrote: > In our previous episode, Jonas Maebe said: >> >> > I just searched all my PDF docs for FPC, and couldn't find a single >> > reference to 'crossinstall' anywhere. :-( >> >> The FPC documentation does not document building FPC itself, that is what >> the buildfaq is for (although apparently it doesn't mention this >> particular option). > > (the main reason being that the FPC documentation is cyclic with version, > and buildfaq was meant as "out of band" documentation, and also documenting > trunk practices) > > Anyway, in such cases please file a bugreport with buildfaq in the subject, > and then it will be assigned to me. There you go: http://bugs.freepascal.org/view.php?id=20058 Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi
On Thu, Aug 25, 2011 at 5:32 PM, Florian Klämpfl wrote: > Am 25.08.2011 22:07, schrieb Marcos Douglas: >> -Fisrc -Fusrc src/gdbint.pp >> gdbint.pp(3091) Error: Invalid DLL C:\WINDOWS\system32\kernel32.dll, invalid >> hea >> der size >> gdbint.pp(3091) Error: Invalid DLL C:\WINDOWS\system32\user32.dll, invalid >> heade >> r size > > Afaik this is broken in 2.4.1, but fixed at least in trunk Yes, in trunk or fixes_2_6 this error does not occur. But these errors only happen when I try cross-compile. If I only compile FPC to 32-bit (to fixes_2_4 or fixes_2_6) no errors happens. I only tryed to make a cross-compile using fixes_2_4, just to test, but I want to use fixes_2_6. Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi
Am 25.08.2011 22:07, schrieb Marcos Douglas: > -Fisrc -Fusrc src/gdbint.pp > gdbint.pp(3091) Error: Invalid DLL C:\WINDOWS\system32\kernel32.dll, invalid > hea > der size > gdbint.pp(3091) Error: Invalid DLL C:\WINDOWS\system32\user32.dll, invalid > heade > r size Afaik this is broken in 2.4.1, but fixed at least in trunk ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi
On Thu, Aug 25, 2011 at 5:04 PM, Marcos Douglas wrote: > On Thu, Aug 25, 2011 at 4:58 PM, Florian Klämpfl > wrote: >> >> fpmake is something different than fpcmake. >> >> The log below simply shows, that you have no properly installed FPC on >> your system. > > Your are right, sorry about that. > My FPC is works correctly in two versions: 2.4.5 (fixes_2_4) and 2.5.1 > (fixes_2_6). > So, my only problem is cross-compile 32-bit to 64-bit on WinXP. > > Well, I will try the same script using FPC 2.4.5... Well, other error, but is an error (see below). Could you give me some tip, please? make -C zlib all make[3]: Entering directory `W:/md/dev/freepascal/compiler/2.4.5/packages/zlib' W:/md/dev/freepascal/binutils/2.4.5/i386-win32/gmkdir.exe -p units/x86_64-win64 W:/md/dev/freepascal/compiler/2.4.5/compiler/ppcrossx64.exe -Twin64 -Px86_64 -XP x86_64-win64- -Xr -Ur -Xs -O2 -n -FuW:/md/dev/freepascal/compiler/2.4.5/rtl/unit s/x86_64-win64 -Fisrc -FE. -FUunits/x86_64-win64 -gl -dx86_64 -dRELEASE src/zli b.pp make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.5/packages/zlib' make -C imagemagick all make[3]: Entering directory `W:/md/dev/freepascal/compiler/2.4.5/packages/imagem agick' W:/md/dev/freepascal/binutils/2.4.5/i386-win32/gmkdir.exe -p units/x86_64-win64 W:/md/dev/freepascal/compiler/2.4.5/compiler/ppcrossx64.exe -Twin64 -Px86_64 -XP x86_64-win64- -Xr -Ur -Xs -O2 -n -FuW:/md/dev/freepascal/compiler/2.4.5/rtl/unit s/x86_64-win64 -Fisrc -FE. -FUunits/x86_64-win64 -gl -dx86_64 -dRELEASE src/bui ldim.pp make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.5/packages/imagema gick' make -C gdbint all make[3]: Entering directory `W:/md/dev/freepascal/compiler/2.4.5/packages/gdbint ' W:/md/dev/freepascal/binutils/2.4.5/i386-win32/gmkdir.exe -p units/x86_64-win64 W:/md/dev/freepascal/binutils/2.4.5/i386-win32/cp.exe src/gdbver_nogdb.inc src/g dbver.inc Different target os or cpu, using default GDB GDB_V606 W:/md/dev/freepascal/compiler/2.4.5/compiler/ppcrossx64.exe -Twin64 -Px86_64 -XP x86_64-win64- -Xr -Ur -Xs -O2 -n -FuW:/md/dev/freepascal/compiler/2.4.5/rtl/unit s/x86_64-win64 -FlW:/md/dev/freepascal/compiler/2.4.5/libgdb/win64 -FoW:/md/dev/ freepascal/compiler/2.4.5/libgdb/win64 -FiW:/md/dev/freepascal/compiler/2.4.5/li bgdb/win64 -Fisrc -FE. -FUunits/x86_64-win64 -gl -dx86_64 -dRELEASE -dGDB_V606 -Fisrc -Fusrc src/gdbint.pp gdbint.pp(3091) Error: Invalid DLL C:\WINDOWS\system32\kernel32.dll, invalid hea der size gdbint.pp(3091) Error: Invalid DLL C:\WINDOWS\system32\user32.dll, invalid heade r size Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted make[3]: *** [gdbint.ppu] Error 1 make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.5/packages/gdbint' make[2]: *** [gdbint_all] Error 2 make[2]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.5/packages' make[1]: *** [packages_all] Error 2 make[1]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.5' make: *** [build-stamp.x86_64-win64] Error 2 W:\md\dev\freepascal\compiler\2.4.5> Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi
On Thu, Aug 25, 2011 at 4:58 PM, Florian Klämpfl wrote: > > fpmake is something different than fpcmake. > > The log below simply shows, that you have no properly installed FPC on > your system. Your are right, sorry about that. My FPC is works correctly in two versions: 2.4.5 (fixes_2_4) and 2.5.1 (fixes_2_6). So, my only problem is cross-compile 32-bit to 64-bit on WinXP. Well, I will try the same script using FPC 2.4.5... Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi
Am 25.08.2011 21:56, schrieb Marcos Douglas: > On Fri, Jul 29, 2011 at 5:18 PM, Marco van de Voort wrote: >> In our previous episode, Marcos Douglas said: 1) manually delete the .ppu's in packages that have this problem ( I ran del /s *.ppu ?and *.o in packages/) 2) delete all old fpmake.exe ?(del /s fpmake.exe in packages/) >>> >>> Ok, thanks, worked! >>> But why this? >> >> In some packages in 2.5.1, fpmake is being used on an experimental basis, to >> root out problems by use in practice. > > Marco, > > When the fpmake experimental will be fixed? fpmake is something different than fpcmake. The log below simply shows, that you have no properly installed FPC on your system. > I think that is what is breaking my cross-compile, see: > > [...] > make[2]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1' > W:/md/dev/freepascal/binutils/2.5.1/i386-win32/ginstall.exe -m 755 -d > W:\md\dev\ > freepascal\compiler\2.5.1 > W:/md/dev/freepascal/binutils/2.5.1/i386-win32/ginstall.exe -m 755 -d > W:\md\dev\ > freepascal\compiler\2.5.1/bin/i386-win32 > make compiler_install > FPC=W:/md/dev/freepascal/compiler/2.5.1/compiler/ppcrossx6 > 4.exe ZIPDESTDIR=W:/md/dev/freepascal/compiler/2.5.1 FPCMAKE=fpcmake > make[3]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1' > make -C compiler install > make[4]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1/compiler' > make -C utils install > make[5]: Entering directory > `W:/md/dev/freepascal/compiler/2.5.1/compiler/utils' > > make[5]: Leaving directory > `W:/md/dev/freepascal/compiler/2.5.1/compiler/utils' > echo ppcrossx64.exe > ppcrossx64.exe > W:/md/dev/freepascal/binutils/2.5.1/i386-win32/ginstall.exe -m 755 -d > W:\md\dev\ > freepascal\compiler\2.5.1/bin/i386-win32 > W:/md/dev/freepascal/binutils/2.5.1/i386-win32/cp.exe -fp ppcrossx64.exe > W:\md\d > ev\freepascal\compiler\2.5.1/bin/i386-win32/ppcrossx64.exe > make[4]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1/compiler' > make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1' > make rtl_install > FPC=W:/md/dev/freepascal/compiler/2.5.1/compiler/ppcrossx64.exe > ZIPDESTDIR=W:/md/dev/freepascal/compiler/2.5.1 FPCMAKE=fpcmake > make[3]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1' > make -C rtl install > make[4]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1/rtl' > make -C win64 all > make[5]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1/rtl/win64' > make[5]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1/rtl/win64' > fpcmake -p -Tx86_64-win64 Makefile.fpc > process_begin: CreateProcess((null), fpcmake -p -Tx86_64-win64 Makefile.fpc, > ... > ) failed. > make (e=2): The system can not find the file specified. > make[4]: *** [fpc_install] Error 2 > make[4]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1/rtl' > make[3]: *** [rtl_install] Error 2 > make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1' > make[2]: *** [installbase] Error 2 > make[2]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1' > make[1]: *** [install] Error 2 > make[1]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1' > make: *** [crossinstall] Error 2 > W:\md\dev\freepascal\compiler\2.5.1> > > Marcos Douglas > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi
On Fri, Jul 29, 2011 at 5:18 PM, Marco van de Voort wrote: > In our previous episode, Marcos Douglas said: >> > 1) manually delete the .ppu's in packages that have this problem ( I ran >> > del >> > /s *.ppu ?and *.o in packages/) >> > >> > 2) delete all old fpmake.exe ?(del /s fpmake.exe in packages/) >> >> Ok, thanks, worked! >> But why this? > > In some packages in 2.5.1, fpmake is being used on an experimental basis, to > root out problems by use in practice. Marco, When the fpmake experimental will be fixed? I think that is what is breaking my cross-compile, see: [...] make[2]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1' W:/md/dev/freepascal/binutils/2.5.1/i386-win32/ginstall.exe -m 755 -d W:\md\dev\ freepascal\compiler\2.5.1 W:/md/dev/freepascal/binutils/2.5.1/i386-win32/ginstall.exe -m 755 -d W:\md\dev\ freepascal\compiler\2.5.1/bin/i386-win32 make compiler_install FPC=W:/md/dev/freepascal/compiler/2.5.1/compiler/ppcrossx6 4.exe ZIPDESTDIR=W:/md/dev/freepascal/compiler/2.5.1 FPCMAKE=fpcmake make[3]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1' make -C compiler install make[4]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1/compiler' make -C utils install make[5]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1/compiler/utils' make[5]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1/compiler/utils' echo ppcrossx64.exe ppcrossx64.exe W:/md/dev/freepascal/binutils/2.5.1/i386-win32/ginstall.exe -m 755 -d W:\md\dev\ freepascal\compiler\2.5.1/bin/i386-win32 W:/md/dev/freepascal/binutils/2.5.1/i386-win32/cp.exe -fp ppcrossx64.exe W:\md\d ev\freepascal\compiler\2.5.1/bin/i386-win32/ppcrossx64.exe make[4]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1/compiler' make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1' make rtl_install FPC=W:/md/dev/freepascal/compiler/2.5.1/compiler/ppcrossx64.exe ZIPDESTDIR=W:/md/dev/freepascal/compiler/2.5.1 FPCMAKE=fpcmake make[3]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1' make -C rtl install make[4]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1/rtl' make -C win64 all make[5]: Entering directory `W:/md/dev/freepascal/compiler/2.5.1/rtl/win64' make[5]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1/rtl/win64' fpcmake -p -Tx86_64-win64 Makefile.fpc process_begin: CreateProcess((null), fpcmake -p -Tx86_64-win64 Makefile.fpc, ... ) failed. make (e=2): The system can not find the file specified. make[4]: *** [fpc_install] Error 2 make[4]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1/rtl' make[3]: *** [rtl_install] Error 2 make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1' make[2]: *** [installbase] Error 2 make[2]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1' make[1]: *** [install] Error 2 make[1]: Leaving directory `W:/md/dev/freepascal/compiler/2.5.1' make: *** [crossinstall] Error 2 W:\md\dev\freepascal\compiler\2.5.1> Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal