RE: [fpc-devel] Building Linux RTL from win32

2011-01-25 Thread Pierre Free Pascal
  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-boun...@lists.freepascal.org [mailto:fpc-devel-
 boun...@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\rtlmake 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@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-devel

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Building Linux RTL from win32

2011-01-25 Thread Alex Shishkin

25.01.2011 19:27, Pierre Free Pascal пишет:

   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


Thanks. With -n option it works.

Alex
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Building Linux RTL from win32

2011-01-25 Thread Jonas Maebe

On 25 Jan 2011, at 23:57, Alex Shishkin wrote:

 25.01.2011 19:27, Pierre Free Pascal пишет:
   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
 
 Thanks. With -n option it works.

You should always use the top-level Makefile in the fpc directory, it 
automatically passes several options that will prevent this and other problems.


Jonas___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel