[PATCH 0 of 1] Enable building on MSYS/Cygwin shell using nativeGCC when configure executed via abs path.

Ray Donnelly mingw.android at gmail.com
Tue Jul 16 14:39:11 CEST 2013


On Tue, Jul 16, 2013 at 1:32 PM, Sisyphus <sisyphus at dodo.com.au> wrote:
>
> ----- Original Message -----
> From: "Ray Donnelly"
>
>> The only ways I can see to avoid this issue are:
>>
>> 1. Have srcdir only contain relative paths (e.g. configuring with
>> ./configure rather than <ABS_DIR>/configure)
>
> Do you mean that you're wanting to build gmp from some location other than
> the top-level gmp source directory ?
> Ought that be supported ? In the gmp docs that I've looked at I see mention
> only of './configure' - no mention of being able to do
> '<ABS_DIR>/configure'.

Yes, it is very standard for autotooled packages to be built in this
way. It's a very common way to build software. I ran into this issue
when porting crosstool-ng so that MSYS can be used as the build
machine, but basically anyone who tries to compile GCC on MSYS or
Cygwin using native Windows GCC will hit this problem unless they use
relative paths or one of the other hacks I mentioned to work around
it.

>
> BTW, I did find that '<ABS_DIR>/configure' works fine - but only if
> <ABS_DIR> (which, obviously, is the top-level gmp source directory) is the
> current working dir.
>
> Cheers,
> Rob
>


More information about the gmp-bugs mailing list