[fpc-devel] Building Linux RTL from win32

Pierre Free Pascal pierre at freepascal.org
Tue Jan 25 17:27:31 CET 2011


  I tried it on my trunk checkout
and got no problems.
  
Did you try with -n option
to avoid reading your default fpc.cfg configuration file?

make OS_TARGET=linux OPT=-n

Pierre Muller  

> -----Message d'origine-----
> De : fpc-devel-bounces at lists.freepascal.org [mailto:fpc-devel-
> bounces at lists.freepascal.org] De la part de Alex Shishkin
> Envoyé : lundi 24 janvier 2011 19:34
> À : FPC developers' list
> Objet : [fpc-devel] Building Linux RTL from win32
> 
> When I tried to compile linux RTL from win32 (2.5.1.trunk) I got error:
> D:\src\fpc\rtl>make OS_TARGET=linux
> make -C linux all
> make[1]: Entering directory `D:/src/fpc/rtl/linux'
> d:/pp/bin/i386-win32/ppc386.exe -Tlinux -XPi386-linux- -Xr -Fi../inc
> -Fi../i386
> -Fi../unix -Fii386 -FE. -FU../../rtl/units/i386-linux -di386  si_prc.pp
> Free Pascal Compiler version 2.5.1 [2011/01/24] for i386
> Copyright (c) 1993-2010 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling si_prc.pp
> Fatal: Can't find unit objpas used by si_prc
> Fatal: Compilation aborted
> make[1]: *** [si_prc.ppu] Error 1
> make[1]: Leaving directory `D:/src/fpc/rtl/linux'
> make: *** [linux_all] Error 2
> 
> Something wrong with makefiles or I'm doing something wrong?
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list