[cfe-commits] [Patch] patches for Minix based on r146035 - switch to ELF and question on shared libraries

ben gras ben at minix3.org
Wed Dec 7 08:01:33 PST 2011


Dear all,

I'd like to submit the attached patch for commit consideration. Minix has
recently switched to GNU binutils for the de facto assembling/linking part
of the toolchain, and has switched to ELF as the default object format to
generate. Also there are some clang subdirs we want to start building. (In
general we want to be as normal and un-special-cased as possible and we're
working towards that.) The attached patch is based on r146035 and reflects
this in the clang code.
  . build all clang subdirs
  . switches the Minix platform to ELF
  . normalizes toolchain invocation

There are more Minix-related changes I'd like to submit in the future but
these are the 'easiest' (most clear-cut) ones.

Related to that I have a question: part of our 'patch burden' is because we
can't generate (and more to the point, use) shared libraries currently. So
libraries such as libprofile and libclang we have to make non-shared. Is
there a clean switch in the buildsystem we can toggle so I don't have to
hack the Makefiles; or another clean way to solve this (i.e. force
static-only for all libs)?

Thanks in advance!

Regards,

Ben Gras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111207/d5122c8e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-minix-elf-wrt-r146035.patch
Type: application/octet-stream
Size: 5077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111207/d5122c8e/attachment.obj>


More information about the cfe-commits mailing list