[LLVMdev] Status of blocks runtime in compiler-rt?
Jean-Daniel Dupas
devlists at shadowlab.org
Wed Sep 23 00:12:34 PDT 2009
Le 23 sept. 2009 à 04:40, Jordan K. Hubbard a écrit :
>
> On Sep 21, 2009, at 6:21 PM, Shantonu Sen wrote:
>
>> I've committed my changes to hook up the BlocksRuntime/
>> subdirectory of compiler-rt, using CMake.
>>
>> The cmake build process is documented at <http://llvm.org/docs/CMake.html
>> >
>
> Whoops, looks like the presence of a CMakeFiles directory in the
> SRCROOT was screwing things up, even when I was in a build
> subdirectory. Blowing that away has everything humming away
> properly now.
>
> Yep, just got my blocks "hello world!" example to work on FreeBSD 9-
> current! Success!
>
> Now to figure out just where to stick this so it's as pervasively
> available on FreeBSD as it is on Mac OS X. Libc? Really?
>
I think you can either use the Apple approach (libSystem which
contains libc, libdispatch, asl, block runtime, libgcc and other APIs)
or the way it works previously, a separate library that the compiler
links automatically like libgcc_s.
-- Jean-Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090923/6ecbab47/attachment.html>
More information about the llvm-dev
mailing list