Of course you are perfectly right. (And thanks for the fast hint.) By starting CT Center properly with admin privileges, the build process succeeds.
I think I'm getting old forgetting those things....
There is still an Error in the log, but it seems to cause no adverse effect:
C:\codetyphon\fpc\bin\i386-win32\make.exe: Entering directory `C:/codetyphon/fpcsrc/utils/fpcm'
C:/codetyphon/fpc/bin/i386-win32/gmkdir.exe -p units/i386-win32
ppc386.exe -Fu../../rtl/units/i386-win32 -Fu../../packages/paszlib -Fu../../packages/fcl-process -Fu../../packages/hash -Fu../../packages/fpmkunit -Fu../../packages/fcl-base -FE. -FUunits/i386-win32 -di386 fpcmake.pp
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\system.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\fpintres.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\objpas.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\getopts.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\sysutils.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\windows.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\sysconst.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\windirs.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\dos.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\strings.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\classes.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\rtlconsts.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\types.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\typinfo.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/08/31 11:16:18); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
fpcmdic.pp(71,1) Fatal: There were 14 errors compiling module, stopping
Fatal: Compilation aborted
C:\codetyphon\fpc\bin\i386-win32\make.exe: *** [fpcmake.exe] Error 1
C:\codetyphon\fpc\bin\i386-win32\make.exe: Leaving directory `C:/codetyphon/fpcsrc/utils/fpcm'
And this one:
make.exe[5]: Entering directory `C:/codetyphon/fpcsrc/rtl/linux'
C:/codetyphon/fpc/bin/i386-win32/gmkdir.exe -p C:/codetyphon/fpcsrc/rtl/units/powerpc-linux
powerpc-linux-as -o C:/codetyphon/fpcsrc/rtl/units/powerpc-linux/prt0.o powerpc/prt0.as
powerpc-linux-as -o C:/codetyphon/fpcsrc/rtl/units/powerpc-linux/dllprt0.o powerpc/dllprt0.as
powerpc-linux-as -o C:/codetyphon/fpcsrc/rtl/units/powerpc-linux/cprt0.o powerpc/cprt0.as
powerpc-linux-as -o C:/codetyphon/fpcsrc/rtl/units/powerpc-linux/gprt0.o powerpc/gprt0.as
C:/codetyphon/fpcsrc/compiler/ppcrossppc.exe -Ur -Tlinux -Ppowerpc -XPpowerpc-linux- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../powerpc -Fi../unix -Fipowerpc -FE. -FUC:/codetyphon/fpcsrc/rtl/units/powerpc-linux -dpowerpc -dRELEASE -Us -Sg system.pp
text.inc(1774,14) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
text.inc(1998,44) Warning: Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
system.pp(380) Error: Assembler powerpc-linux-as.exe not found, switching to external assembling
system.pp(380) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make.exe[5]: *** [system.ppu] Error 1
make.exe[5]: Leaving directory `C:/codetyphon/fpcsrc/rtl/linux'
make.exe[4]: *** [linux_all] Error 2
make.exe[4]: Leaving directory `C:/codetyphon/fpcsrc/rtl'
make.exe[3]: *** [rtl] Error 2
make.exe[3]: Leaving directory `C:/codetyphon/fpcsrc/compiler'
make.exe[2]: *** [cycle] Error 2
make.exe[2]: Leaving directory `C:/codetyphon/fpcsrc/compiler'
make.exe[1]: *** [compiler_cycle] Error 2
make.exe[1]: Leaving directory `C:/codetyphon/fpcsrc'
C:\codetyphon\fpc\bin\i386-win32\make.exe: *** [build-stamp.powerpc-linux] Error 2
1 Datei(en) kopiert.
[INFO]: !!! Cross compiler Executable ppcrossppc.exe for FPC32, Build OK. !!!
Still the cross-element for powerpc-linux is created and my PPC-test-project cross-compiles, only linking fails, although I copied all libs from the target system (Linux plu405_GA0526 2.4.21 #1 Mo 25. Jun 14:30:57 CEST 2007 ppc unknown) to a lib dir, and pointed the project -Fl to there.
The linker only finds the first libdl.so correctly, but then complains about:
C:\codetyphon_ipclibs\/libdl.so: undefined reference to `strcpy@GLIBC_2.0'
C:\codetyphon_ipclibs\/libdl.so: undefined reference to `free@GLIBC_2.0'
C:\codetyphon_ipclibs\/libdl.so: undefined reference to `write@GLIBC_2.0'
C:\codetyphon_ipclibs\/libdl.so: undefined reference to `__dcgettext@GLIBC_2.0'
C:\codetyphon_ipclibs\/libdl.so: undefined reference to `_dl_close@GLIBC_2.0'
...
libc.so and libstdc++.so and it's variants (libstdc++.so.6, libstdc++.so.6.0.2) are there...
But this is not related to CT, only a typical libs issue while crosscompiling...
Thank you for the admin hint (maybe not the first nor last time).