> I wonder if we should just bundle runtime libraries with the stage0 snapshot 
> in the future?

I think we should bundle them: https://github.com/mozilla/rust/issues/9252

On Thu, Sep 19, 2013 at 7:16 AM, Vadim <vadi...@gmail.com> wrote:
> Okay, looks like my mingw 4 fix went in last night.
>
> Here's my personal recipe for setting up mingw:
> 1. Download and install mingw-get
> 2. Install the required packages.  One can do this in GUI, but I prefer the
> command line, as it's less ambiguous:
>          mingw-get install mingw-developer-toolkit
>          mingw-get install mingw32-base
>          mingw-get install mingw32-gcc-g++
>          mingw-get install mingw32-libpthreadgc
>          mingw-get install msys-wget
> 3. Install GIT and Python, make sure they are on the PATH
> 4. In MSYS shell:  ../configure; make check-fast
>
> Until stage0 snapshot compiler has been rebuilt with new mingw, stage0
> compilation will fail because latest mingw has wrong versions of the runtime
> libraries that rustc depends on.  So:
> 5.. Get old versions of these dlls:
>         mingw-get upgrade "g++<4.6"
>         mingw-get upgrade "libpthread=2.8.0-3"
> 6.. Copy libgcc_s_dw2-1.dll, libstdc++-6.dll and libpthread-2.dll from
> %mingw%\bin into %build%\i686-pc-mingw32\stage0\bin.
> 7. Roll mingw back to the latest:
>         mingw-get upgrade
> 8.. make check-fast
>
> I wonder if we should just bundle runtime libraries with the stage0 snapshot
> in the future?
>
> Vadim
>
>
> On Mon, Sep 16, 2013 at 6:33 PM, Alex Crichton <acrich...@mozilla.com>
> wrote:
>>
>> Hey guys, so we're gonna hold off on upgrading the windows builders until
>> we're 100% sure that we won't bork them with a mingw upgrade. What I think
>> that we can do, on the other hand, is:
>>
>> 1. Land Vadim's patch onto master
>> 2. I spin up a clean windows vm (need to do that anyway)
>> 3. Could you guys send me a list of instructions to build rust on "the
>> most recent" mingw?
>> 4. Once verified, and possible bugs fixed, we can go upgrade the builders
>> and documentation about mingw
>>
>> Ideally the "build instructions" would be:
>>
>> A. Acquire mingw.
>> B. Acquire relevant gcc version 4.X
>> C. ./configure && make
>>
>> It'd be awesome to keep it that simple, and it seems that your patches
>> would have eliminated the need for patching system files?
>>
>> How does that sound to you guys?
>>
>> On Sep 16, 2013, at 6:20 PM, Vadim <vadi...@gmail.com> wrote:
>>
>
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to