[fpc-devel] Building trunk on Win32
Sven Barth
pascaldragon at googlemail.com
Sat Nov 26 14:45:21 CET 2011
On 26.11.2011 14:17, Leonardo M. Ramé wrote:
> Hi Pierre, I uninstalled my 2.4.4 release then downloaded it again from the fpc site, and installed, to be sure I'm using the release version. Then, went to my fpc-svn trunk directory, then "cd compiler" and did a "e:\fpc-bin\bin\i386-win32\make clean all" (I use e:\fpc-bin\bin\i386-win32\make to avoid interferences with borland's make).
>
> Here's the compiling output:
>
> e:/FPC-bin/bin/i386-Win32/rm.exe -f ppcross386.exe ppc.exe ppc1.exe ppc2.exe ppc3.exe ./msg2inc.exe pp1.wpo pp2.wpo
> e:/FPC-bin/bin/i386-Win32/rm.exe -f ppc386.exe ppc68k.exe ppcx64.exe ppcppc.exe ppcsparc.exe ppcppc64.exe ppcarm.exe ppcmips.exe ppcmipsel.exe ppc386.exe ppcwpo1.exe ppcwpo2.exe
> e:/FPC-bin/bin/i386-Win32/rm.exe -f pp.exe pp.o libppp.a libimppp.a
> e:/FPC-bin/bin/i386-Win32/rm.exe -rf units
> e:/FPC-bin/bin/i386-Win32/rm.exe -f *.o *.ppu *.rst *.s *.a *.dll *.ppl
> e:/FPC-bin/bin/i386-Win32/rm.exe -rf *.sl
> e:/FPC-bin/bin/i386-Win32/rm.exe -f fpcmade.* Package.fpc ppas.bat script.res link.res
> e:/FPC-bin/bin/i386-Win32/rm.exe -f *_ppas.bat
> e:/fpc-bin/bin/i386-win32/make -C utils cleanall
> make[1]: Entering directory `E:/fpc/compiler/utils'
> e:/FPC-bin/bin/i386-Win32/rm.exe -f fpc.exe ppufiles.exe ppudump.exe ppumove.exe fpcsubst.exe mkarmins.exe mkx86ins.exe fpc.o ppufiles.o ppudump.o ppumove.o fpcsubst.o mkarmins.o mkx86ins.o libpfpc.a libpppufiles.a libpppudump.a libpppumove.a libpfpcsubst.a libpmkarmins.a libpmkx86ins.a libimpfpc.a libimpppufiles.a libimpppudump.a libimpppumove.a libimpfpcsubst.a libimpmkarmins.a libimpmkx86ins.a
> e:/FPC-bin/bin/i386-Win32/rm.exe -f units/i386-win32/ppu.ppu units/i386-win32/crc.ppu units/i386-win32/usubst.ppu
> e:/FPC-bin/bin/i386-Win32/rm.exe -rf units
> e:/FPC-bin/bin/i386-Win32/rm.exe -f *.o *.ppu *.rst *.s *.a *.dll *.ppl
> e:/FPC-bin/bin/i386-Win32/rm.exe -rf *.sl
> e:/FPC-bin/bin/i386-Win32/rm.exe -f fpcmade.* Package.fpc ppas.bat script.res link.res
> e:/FPC-bin/bin/i386-Win32/rm.exe -f *_ppas.bat
> make[1]: Leaving directory `E:/fpc/compiler/utils'
> e:/FPC-bin/bin/i386-Win32/rm.exe -rf i386/units
> e:/FPC-bin/bin/i386-Win32/rm.exe -f i386/*.o i386/*.ppu i386/*.rst i386/*.s i386/*.a i386/*.dll i386/*.ppl
> e:/FPC-bin/bin/i386-Win32/rm.exe -f i386/ppc386.exe i386/ppc68k.exe i386/ppcx64.exe i386/ppcppc.exe i386/ppcsparc.exe i386/ppcppc64.exe i386/ppcarm.exe i386/ppcmips.exe i386/ppcmipsel.exe i386/ppc386.exe
> e:/fpc-bin/bin/i386-win32/make -C utils clean
> make[1]: Entering directory `E:/fpc/compiler/utils'
> e:/FPC-bin/bin/i386-Win32/rm.exe -f fpc.exe ppufiles.exe ppudump.exe ppumove.exe fpcsubst.exe mkarmins.exe mkx86ins.exe fpc.o ppufiles.o ppudump.o ppumove.o fpcsubst.o mkarmins.o mkx86ins.o libpfpc.a libpppufiles.a libpppudump.a libpppumove.a libpfpcsubst.a libpmkarmins.a libpmkx86ins.a libimpfpc.a libimpppufiles.a libimpppudump.a libimpppumove.a libimpfpcsubst.a libimpmkarmins.a libimpmkx86ins.a
> e:/FPC-bin/bin/i386-Win32/rm.exe -f units/i386-win32/ppu.ppu units/i386-win32/crc.ppu units/i386-win32/usubst.ppu
> e:/FPC-bin/bin/i386-Win32/rm.exe -f fpcmade.i386-win32 Package.fpc ppas.bat script.res link.res
> e:/FPC-bin/bin/i386-Win32/rm.exe -f *.s *_ppas.bat
> make[1]: Leaving directory `E:/fpc/compiler/utils'
> e:/FPC-bin/bin/i386-Win32/gmkdir.exe -p i386/units/i386-win32
> E:/pp/bin/i386-win32/ppc386.exe -Fui386 -Fusystems -Fu../rtl/units/i386-win32 -Fii386 -FE. -FUi386/units/i386-win32 -di386 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas
> Free Pascal Compiler version 2.7.1 [2011/09/14] for i386
> Copyright (c) 1993-2011 by Florian Klaempfl and others
> Target OS: Win32 for i386
> Compiling pp.pas
> Compiling globals.pas
> Compiling cutils.pas
> Compiling cclasses.pas
> Compiling globtype.pas
> Compiling cstreams.pas
> Compiling cfileutl.pas
> Compiling systems.pas
> Compiling comphook.pas
> Compiling finput.pas
> Compiling comphook.pas
> Compiling globals.pas
> Compiling .\i386\cpuinfo.pas
> Compiling version.pas
> Compiling compiler.pas
> Compiling verbose.pas
> Compiling cmsgs.pas
> Compiling fmodule.pas
> Compiling ogbase.pas
> Compiling owbase.pas
> Compiling aasmbase.pas
> Compiling fmodule.pas
> Compiling symbase.pas
> Compiling symconst.pas
> Compiling symsym.pas
> Compiling widestr.pas
> Compiling cp8859_1.pas
> cp8859_1.pas(273,13) Error: Unknown record field identifier "cp"
> cp8859_1.pas(273,18) Fatal: Syntax error, "identifier" expected but ";" found
> Fatal: Compilation aborted
Are you sure that your checkout is clean and up to date? Does the "uses"
in cp8859_1.pas look like this:
uses
{$if FPC_FULLVERSION<20700}ccharset{$else}charset{$endif};
Also try the following:
cd compiler
make cycle
This will first compile the trunk RTL and then the trunk compiler using
your 2.4.4 compiler and then both will be recompiled using the trunk
compiler.
Regards,
Sven
More information about the fpc-devel
mailing list