This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [HEADSUP] Moving setup sources to git
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 10 Feb 2015 18:01:33 +0100
- Subject: Re: [HEADSUP] Moving setup sources to git
- Authentication-results: sourceware.org; auth=none
- References: <20150209162434 dot GD5633 at calimero dot vinschen dot de> <CAKf2h5THPscfVewU=UcXfr20FSVGBu372-tO8RHzrhQ4d461Dg at mail dot gmail dot com> <87386evpen dot fsf at Rainer dot invalid> <54D91FA4 dot 8060302 at dronecode dot org dot uk> <87y4o6u578 dot fsf at Rainer dot invalid> <20150210083104 dot GD2878 at calimero dot vinschen dot de>
Corinna Vinschen writes:
> On Feb 9 22:48, Achim Gratz wrote:
>> At the time of writing an in-tree build configuration did not work for
>> me, although that later turned out to be an unrelated problem IIRC. At
>> the moment I actually build in-tree since you can't configure both
>> architectures in an out-of-tree build anyway.
>
> This. I don't understand. Here's what I do:
Thanks. I don't understand it either anymore because I just tried this
again (in a slightly different way because I build for 32bit on 32bit
and 64bit on 64bit) and it now works. I'm not sure what went wrong the
first time I tried it, but it was telling me something about me needing
to reconfigure and throwing away the cache each time I built for the
other architecture.
> $ bash -c "NOCONFIGURE=1 ./bootstrap.sh"
Very obvious now... but still too well hidden.
> $ cat > conf.sh <<EOF
> #!/bin/bash
> cpu=$(basename $PWD)
> [ -n "$cpu" ] && \
> ../setup/configure --host=$cpu-w64-mingw32 --target=$cpu-w64-mingw32
> EOF
That's been bothering me for a while, the test for determining the build
and host type in bootstrap.sh just doesn't give the right results most
of the time and I always have to add the --host=<...> manually. What (if
anything) is --target=<..> doing?
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables