[fpc-devel] Adapting MakeFile to make subfolders for targets with sub architectures

2018-07-22 Thread Christo
I'm trying to change the build process for target AVR so that different sub architectures end up in different subfolders.  At the moment the default behaviour is that e.g. the RTL object files are saved to ./rtl/units/avr-embedded, regardless of the subarch specified.   This means that if one reb

Re: [fpc-devel] Adapting MakeFile to make subfolders for targets with sub architectures

2018-07-22 Thread Sven Barth via fpc-devel
Am 22.07.2018 um 10:31 schrieb Christo: I'm trying to change the build process for target AVR so that different sub architectures end up in different subfolders.  At the moment the default behaviour is that e.g. the RTL object files are saved to ./rtl/units/avr-embedded, regardless of the subar

Re: [fpc-devel] Compile time functions

2018-07-22 Thread Martok
Am 22.07.2018 um 06:03 schrieb J. Gareth Moreton: > Pure functions cannot be > evaluated at compile time if one of the arguments is a variable (or at the > very > least, not deterministic) Do you have an idea how to prove that yet? The way I see it now, this is the only hard issue, every other com

Re: [fpc-devel] Compile time functions

2018-07-22 Thread J. Gareth Moreton
On Sun 22/07/18 14:57 , Martok list...@martoks-place.de sent: > Am 22.07.2018 um 06:03 schrieb J. Gareth Moreton: > > > Pure functions cannot be > > > evaluated at compile time if one of the > arguments is a variable (or at the very > > least, not deterministic) > > Do you have an idea how to