Re: [fpc-pascal] FPC ARMEL and ARMHF under the same tree

2015-06-19 Thread leledumbo
I didn't continue yet because I'am not sure if subarch-abi are sufficient or if another directory level with e.g. fpu type, custom options (debugging info, optimization level etc.) might be useful. Or if it would be only over engineering ... fpcmkcfg already generates

[fpc-pascal] For .. in .. loops with sets and valued enums

2015-06-19 Thread Torsten Bonde Christiansen
Consider the following program: program Project1; type TMyEnum = ( a = 1, b = 3, c = 5 ); TMySet = set of TMyEnum; var Item: TMyEnum; begin for Item in TMySet do Writeln('Value = ', Integer(Item)); end. I would expect the output of the program to contain the values

Re: [fpc-pascal] For .. in .. loops with sets and valued enums

2015-06-19 Thread Peter
On 19/06/15 08:46, Torsten Bonde Christiansen wrote: program Project1; type TMyEnum = ( a = 1, b = 3, c = 5 ); TMySet = set of TMyEnum; var Item: TMyEnum; begin for Item in TMySet do Writeln('Value = ', Integer(Item)); end. My guess is that you are

Re: [fpc-pascal] FPC ARMEL and ARMHF under the same tree

2015-06-19 Thread leledumbo
You can rename the compiler binaries to anything you want. Then how would fpc be able to call the renamed binaries? I rely on fpc -P for calling the cross compiler. A bigger problem is that all units will also be stored in the same directories. If there's anyway to retrieve either the