[LLVMdev] How to compile llvm with mingw on Windows ?
henrik_bach_llvm at hotmail.com
Wed Sep 21 00:51:10 PDT 2005
>From: "Baptiste Lepilleur"
>Date: Wed, 21 Sep 2005 08:52:25 +0200
>Henrik Bach wrote:
>>>From: "Baptiste Lepilleur"
>>>Date: Tue, 20 Sep 2005 09:29:07 +0200
>>>Henrik Bach wrote:
>>>>Please have a look on my private Getting started with MinGW:
>>>Thanks Henrik.The make line was most useful. Though, in my case I
>>>also needed to add a -L so libimagehlp.a would be found. Here is my
>>>make line: $ make tools-only TOOLLINKOPTSB+=-limagehlp
>>>d/wut/prg/mingw/lib/ LDFLAGS+=-Wl,--no-keep-memory -r
>>>I've attempted to do this using the 'current' mingw tools.
>>>Unfortunately this lead to an internal compiler error.
>>Which version of gcc are you using? I use 3.4.2..
>So do I. Thinking about it, I've set up my configure for an optimized
>build, which has already been reported to cause internal error when
>compiling with cygwin....
I think this is a similar problem on MinGW when building in release mode. To
overcome this bug you should build in debug mode and when done use the strip
command to remove the debug information from the exectables.
>>>Given that my primary interest in building with mingw was to be able
>>>to run the test and you state that it is not posible, I think I'll
>>>just give up on that one (I managed to build it with vc++ with much
>>>less trouble). Could you indicates why we can not run the test on Windows
>>>already looked into this ?
>>I tried to use the open source version of expect for NT (ExpectNT or
>>something like that) which is rather outdated compared to the main
>>trunk of the unix version. The problem is that dejagny uses some
>>functionality not present in the outdated ExpectNT. If you can spare
>>some bucks try an updated Expect for Windows with dejagnu. I haven't
>>tried this option yet.
>ActiveState now provides a free version of expect with ActiveTcl. It seems
>to be fairly close to the last unix version.
OK - Do you want to try this out?
>LLVM Developers mailing list
>LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
Log på MSN Messenger direkte fra nettet http://webmessenger.msn.com/
More information about the llvm-dev