[LLVMdev] "make install" fails in a cross-compilation mode with turned on optimization
Simon Atanasyan
satanasyan at mips.com
Fri Jun 22 12:43:04 PDT 2012
On Fri, Jun 22, 2012 at 1:31 AM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
> I think you can build binutils which will understand plenty of file
> format. This way strip will work on cross-compiled stuff.
Yes, it's one of the possible workarounds. Personally I use a
different approach - a wrapper for the install script which invokes an
appropriate "strip" command. But I'm interesting in general solution
works out-of-the-box.
As far as I know if Makefiles are generated by cmake, binaries are not
stripped at all. Is it a deliberate decision? If yes, I can just fix
Makefile.rules to remove strip invocation and close the problem.
--
Simon
More information about the llvm-dev
mailing list