This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFC: Support both Cross and Native compiler from configure
- From: Tamar Christina <Tamar dot Christina at arm dot com>
- To: "joel at rtems dot org" <joel at rtems dot org>
- Cc: binutils <binutils at sourceware dot org>, nd <nd at arm dot com>
- Date: Sun, 23 Jun 2019 14:58:32 +0000
- Subject: Re: RFC: Support both Cross and Native compiler from configure
- References: <DB6PR0802MB230914960983FF56AFB6B2EBFFE10@DB6PR0802MB2309.eurprd08.prod.outlook.com> <CAF9ehCVWVuGnPuWr_X9tm_b+_=MyGg_r_fAyebkN8rPctndYWw@mail.gmail.com>
The 06/23/2019 15:45, Joel Sherrill wrote:
>
>
> On Sun, Jun 23, 2019, 8:32 AM Tamar Christina <Tamar.Christina@arm.com<mailto:Tamar.Christina@arm.com>> wrote:
> Hi All,
>
> For AArch64 we'd like to move the generation of some of our generated files from being a part of maintainer mode to just being an artefact of the normal build.
>
> The reason we'd like to do this is two folds:
> 1) maintainer mode requires a specific version of autotools etc, which is different than what other projects require (obviously) and so you have to juggle with PATH to get it to work.
> 2) It muddles reviews with these generates files and makes commits bigger too.
> 3) people often forget to run them, resulting in half working code.
>
> But in order for us to do so we of course require to be able to detect both the native compiler and If cross compiler, the cross compiler, as the tool needs to run as part of the compilation process.
>
> In short my question is, would there be any objections to do this? Configure will then check for both.
>
> What does this generation process require? Will it add new requirements for the host environment? I'm particularly concerned about cross builds but requiring more host tools should always be evaluated.
>
It just requires a working host compiler. All the required sources are in tree.
Regards,
Tamar
> Thanks.
>
> --joel
>
>
>
> Cheers,
> Tamar
--