[LLVMdev] Working on getting MingW32/native tools-only source build up
Kenneth Boyd
zaimoni at zaimoni.com
Tue Feb 5 12:36:29 PST 2008
Using MingW32/GCC 4.2.1 binary release, mix of Cygwin and MingW32
auxilliary tools, ActivePerl's Perl 5.8.8; operating system Vista. I'm
not going to worry about bootstrapping llvm-gcc until I know I can
bootstrap gcc.
1) ActivePerl uses the wrong shell (cmd.exe rather than sh.exe) when
doing backticks. I had to moderately rewrite llvm-config to use the Cwd
module's abs_path function before it worked.
Apologies in advance if this is already documented on the site: which
files would I need to modify so that llvm-config gets auto-generated
correctly? [I haven't done the work to determine what a proper patch
would be. I'd think that configure would have to test for the usability
of Cwd 'abs_path' before replacing the current $PWD implementation with
abs_path calls, which suggests I can't compose the patch (autoconf won't
install cleanly).]
2) I'm getting massive link errors on template function instantiations
(no tools are being created), and won't have time to properly play with
this further "today". It looks like they're being stripped out
prematurely; I'll be checking the GCC documentation for how to prevent
this when I do have time.
Kenneth Boyd
More information about the llvm-dev
mailing list