bootstrap for native mingw broken?

Danny Smith dansmister@gmail.com
Fri Jan 23 02:02:00 GMT 2009


On Fri, Jan 23, 2009 at 9:25 AM, Ross Ridge <rridge@csclub.uwaterloo.ca> wrote:
> Ross Ridge writes:
>> This is probably why --with-sysroot never accomplished anything useful
>> for me.  Maybe --with-sysroot has changed since I last tried using it, or
>> maybe there's something about how Kai Tietz does his "native" builds that
>> makes it works for him.  All I know is something's not working for him.
>
> NightStrike writes:
>>Right, --with-sysroot is mainly used for cross/canadian cross.  Try
>>building a mingw cross compiler from linux.  Ie, configure
>>--build=i686-pc-linux --host=i686-pc-mingw32 --target=i686-pc-mingw32
>>--prefix=/tmp/root --with-sysroot=/tmp/root
>
> I assume you mean trying to build with a cross compiler, not building
> a cross compiler.
>
>>That will 1) require a sysroot, and 2) won't work due totKai's
>>referenced new bug.
>
> So you're saying that the bootstrap isn't broken, as Kai Tietz isn't
> actually doing a native bootstrap, instead he's building a mingw hosted
> and targeted compiler using a cross compiler on Linux?  As I understand
> it, that's how Danny Smith does his builds, so why isn't he also required
> to use sysroot, or if he is, why hasn't he encountered the bug?
>
> Have you encountered this bug?
>
>                                Ross Ridge
>

I have not seen bug with either
--build=i686-pc-linux --host=i686-pc-mingw32 --target=i686-pc-mingw32

or
-build=i686-pc-mingw32 --host=i686-pc-mingw32 --target=i686-pc-mingw32

The latter uses cygwin bash and tools and is a full bootstrap and regtest.
It is what I use most often.

I don't use --with-sysroot.

Danny



More information about the Gcc-patches mailing list