Talk:LLVM Cross-Compiler

From OSDev.wiki

Latest comment: 13 years ago by Solar in topic Breaks on Cygwin.
Jump to navigation Jump to search

Linux is a freestanding environment?

I noticed the need for using i686-pc-linux-gnu as the target, which essentially means that you want to build for a linux host, not a freestanding host. A cross-compiler is meant to counter all host dependencies. So can you either explain why i*86-(pc-)elf does not work, or at least guarantee that the linux and gnu parts do not drag in dependencies to stuff we don't have, or worse, stuff we don't want to have. Can we expect it to be the same in the future? - Combuster 12:06, 21 March 2011 (UTC)Reply

Breaks on Cygwin.

   Scanning dependencies of target intrinsics_gen
   [  7%] Building Intrinsics.gen...
   make[2]: *** [include/llvm/Intrinsics.gen.tmp] Fehler 127
   make[1]: *** [include/llvm/CMakeFiles/intrinsics_gen.dir/all] Fehler 2
   make: *** [all] Fehler 2

-- Solar 12:19, 21 March 2011 (UTC)Reply