[cfe-dev] Building clang with mingw/msys/gcc 4.4
fst911 at gmail.com
Mon Feb 28 14:42:53 PST 2011
I managed to build clang on mingw/msys today.
Running configure, make install worked for both debug and optimized builds
in general. However there were a few hitches along the way. Make would fail
ln: creating symbolic link
to `clang.exe': No such file or directory
ln: creating symbolic link `/usr/local/bin/clang++.exe' to `clang.exe': No
such file or directory
And similar errors. Running make with the -i argument finished the build,
and I manually created the links. I don't think there were any other
problems in the build, and
I changed InitHeaderSearch.cpp as instructed for clang to locate the header
clang managed to build my large (personal) project, forcing me to fix some
syntax errors gcc allowed.
Linking ran into a single multiple definition error:
multiple definition of `std::type_info::operator==(std::type_info const&)
const&) const]+0x0): first defined here
This seemed to be defined in the libstdc++, and also in each of my
I used gcc version 4.4.0 (GCC) and GNU Make 3.81
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev