Porting

To another operating system, I went through some of the FreeBSD source code(makefiles, Makefile.depend). I tried using cmake to create binaries. Cmake is a problematic software. If I can be guide on which files I need to edit in order to fully make it part of base compiler. GPL v3 programs such as gnu toolchain must be avoided.
 
What are you doing there? Trying to build something from the FreeBSD source tree for another OS is a very strange idea. LLVM/clang already is portable software and exists for many platforms. You can download it from https://llvm.org/
 
You see when you port gcc and binutils you edit certain files like bfd(binutils ) and config.ac(gcc) to make it more portable. I also want to know about clang because using cmake is a problematic
 
FreeBSD 9.3 has been End-of-Life since December 2016 and is not supported any more.

 
Back
Top