preparing a mingw-llvm package; problems with %mingw_configure environment variables
Eric Smith
eric at brouhaha.com
Mon May 7 18:22:59 UTC 2012
Kalev Lember wrote:
> I have a vague recollection that llvm supports both autotools and
> cmake builds systems. Perhaps another idea would be to use cmake, if
> it's easier to cross compile llvm with it?
LLVM's cmake build system cannot produce the DLLs at all, so I'll stick
with the autotools.
> Does it work if you replace the following:
> %global __strip %{mingw_strip}
> %global __objdump %{mingw_objdump}
> %global _use_internal_dependency_generator 0
> %global __find_requires %{mingw_findrequires}
> %global __find_provides %{mingw_debug_install_post}
>
> with:
> %{?mingw_package_header}
Yes, that seems to have solved the problem.
Thanks much for the help and advice!
One more question has arisen. The LLVM build system installs an
"llvm-config" Perl script, providing functionality specific to
pkg-config, in %{mingw32_bindir}. If w64 builds were working, there
would be a different one in %{mingw64_bindir}. Since the script runs on
the build system, not Windows, should I leave it there, or do something
like move/rename it to %{_bindir}/mingw32_llvm_config?
Best regards,
Eric
More information about the mingw
mailing list