[LLVMdev] Compile llvm-gcc fortran backend using mingw
rcsaba at gmail.com
Tue Oct 18 08:07:26 PDT 2011
On Tue, Oct 18, 2011 at 3:26 AM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> 2011/10/18 Albert Graef <Dr.Graef at t-online.de>:
>> On 10/17/2011 04:44 PM, Duncan Sands wrote:
>>> PS: A more convincing (IMO) argument against dragonegg is that it doesn't
>>> work on windows. That's because the gcc plugin architecture doesn't work
>>> on windows. Takumi has been thinking about this and has been enable to
>>> get dragonegg to work on windows anyway using some clever tricks.
>> Interesting, thanks for the information. Is that already available
>> somewhere, or are there any plans to release it along with LLVM 3.0?
>> I don't use Windows much myself, but some Pure users and many of my
>> students do. Pure relies on LLVM-capable compilers for its C/C++/Fortran
>> inlining capabilities, so being able to just point Windows users to a
>> binary llvm-gcc package to make that work is very convenient. Of course
>> we can stick to the latest llvm-gcc 4.2 on Windows for a while, but if
>> there's a dragonegg version that works there then I'd certainly like to
>> give that a whirl some time.
> Not yet. I have to do;
> 1) Submit my patches to upstream gcc.
> 2) Let patches applied by distributors (mingw, tdm, and cygwin)
> X) Then, I could apply my tweaks :D
> GCC is required;
> 1) cc1*.exe should export (dllexport) available symbols.
> 2) People could use the distro "--enable-plugins and symbol-exported-cc1.exe"
> With my experiments, dragonegg can run on cygwin.
> Cygwin has its dlopen and dlsym.
> For mingw, I have to implement their emulator. (It would not be hard)
Just a http://en.wikipedia.org/wiki/Small_matter_of_programming then :)
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
More information about the llvm-dev