[fpc-devel] FPC_HAS_FEATURE_RESOURCES and packages ?
Jonas Maebe
jonas.maebe at elis.ugent.be
Mon Jun 28 15:48:40 CEST 2010
Martin wrote on Mon, 28 Jun 2010:
> On 28/06/2010 14:21, Marco van de Voort wrote:
>> So probably you compile a 2.5.1 rtl (and compiler?) with 2.4.0, but somehow
>> also compile the rest with 2.4.0, while it should be 2.5.1.
>
> yep, in this case it seems my fault.
>
> I have my own batch file. As for example I try to avoid compiling
> the examples (which I believe "make all" does).
It doesn't. On most platforms, it does compile the IDE and installer though.
> To me it's just time, I do not want to spent waiting....
>
> make.exe rtl packages compiler OPTIMIZE=1 OPT="-O3 -Or
> -CpPENTIUMM -OpPENTIUMM" FPC=C:\FPC\strunc\bin\i386-win32\ppc386.exe
>
> I ended up with that order, because if I recall correctly, make
> compiler did need the packages, or something like that?
The compiler does not depend on packages. Furthermore, it's wrong to
compile the compiler only once. The main makefile does not use the
"compiler_cycle" just to test the compiler. It's a fundamental step of
the bootstrap process.
I would strongly recommend to use the "make all" target unless you are
intimately familiar with the details of FPC's bootstrapping. You can
add NOWPOCYCLE=1 to speed it up a little.
Jonas
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the fpc-devel
mailing list