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

2018-08-13 Thread Joost van der Sluis
Op 11-08-18 om 10:22 schreef Christo: In my mind it was easier to think of subarch/abi options as extending the target concept, so each valid combination of CPU-OS-SUBARCH-ABI results in a unique target, which ends up in a separate directory.  This concept seems to fit in well with the current

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

2018-08-11 Thread Christo
On Mon, 2018-08-06 at 13:44 +0200, Joost van der Sluis wrote: > Op 06-08-18 om 07:32 schreef Christo: > > > > * In fpmkunit.pp: > >    * add support for new command line options subarch and abi > >    * include subarch and abi in MakeTargetString function > I did not have a look at your patch.

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

2018-08-06 Thread Joost van der Sluis
Op 06-08-18 om 07:32 schreef Christo: * In fpmkunit.pp:   * add support for new command line options subarch and abi   * include subarch and abi in MakeTargetString function I did not have a look at your patch. But this should not be necessary. Fpmkunit supports Package-Variants. In

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

2018-08-05 Thread Christo
On Sat, 2018-07-28 at 22:48 +0200, Christo wrote: > On Thu, 2018-07-26 at 22:19 +0200, Florian Klämpfl wrote: > > > > > Well, I got also stuck on the fpmake problem :( > > Yes, it appears to me that fpmkunit lack support for subarch & ABI at the > moment, else it > would > have been easy to

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

2018-07-28 Thread Christo
On Thu, 2018-07-26 at 22:19 +0200, Florian Klämpfl wrote: > Well, I got also stuck on the fpmake problem :( Yes, it appears to me that fpmkunit lack support for subarch & ABI at the moment, else it would have been easy to modify TPackage.GetUnitsOutputDir in a similar way.

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

2018-07-26 Thread Florian Klämpfl
Am 22.07.2018 um 12:55 schrieb 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

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

2018-07-23 Thread Christo Crause
On Sun, Jul 22, 2018 at 12:55 PM, Sven Barth via fpc-devel < fpc-devel@lists.freepascal.org> wrote: > 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

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

[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