Re: Enabling FPC_HAS_FEATURE_CONSOLEIO

leledumbo schrieb:
> Perhaps someone have a dependency graph for all of these features?
This is probably too hard to do. The goal of the feature approach is
designed more towards the possibility to create a stripped rtl for
existing targets. If you want only consoleio without file system support
I fear you need to take your own approach
_______________________________________________
fpc-pascal maillist - fpc-pascal@...http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Hello Mattias,
MG> /usr/local/share/lazarus/lazbuild --build-ide="-va -dVerboseOFExecute"
I have done all things you wrote me, but the result of compilation
didn't write any line written by WriteLn inside of IFDEFs. Maybe there
could be a bug during parsing of -d parameter and IFDEF sections were
not compiled into the code. Therefore I have commented IFDEFs out to
get them into lazbuild and the result is the following:
Compiling ./unit/ResConf.pas
Assembling resconf
An unhandled exception occurred at $00148A20 :
TOutputFilter.Execute W1
TOutputFilter.Execute W2
EAccessViolation : Access violation
$00148A20
$001479C4
$0014C8FC
$0014B04C
$001245B0
$0014FE68
$00150368
$0013320C
$0012B970
$00109034
$0011D3B4
$0012AADC
$0012ADF0
$0012BB78

Zitat von Roland Turcan <konf@...>:
> Hello Mattias,
>
> MG> /usr/local/share/lazarus/lazbuild --build-ide="-va -dVerboseOFExecute"
>
> I have done all things you wrote me, but the result of compilation
> didn't write any line written by WriteLn inside of IFDEFs. Maybe there
> could be a bug during parsing of -d parameter and IFDEF sections were
> not compiled into the code.
Or:
FPC does not automatically recompile units if a -d option is given. You must add
a -B (build all) yourself or clean up before build.
For example:
/usr/local/share/lazarus/lazbuild --build-ide="-dVerboseOFExecute -B"
> Therefore I have commented IFDEFs out to
> get them into lazbuild and the result is the following:
>
> Compiling ./unit/ResConf.pas
> Assembling resconf
> An unhandled exception occurred at $00148A20 :
> TOutputFilter.Execute W1
> TOutputFilter.Execute W2
> EAccessViolation : Access violation
> $00148A20
ok. So, it is somewhere in EndBufferingOutput.