[cfe-dev] crtbegin.o and crtend.o replacements

Armin K. via cfe-dev cfe-dev at lists.llvm.org
Wed Jul 20 10:09:02 PDT 2016


On 20.07.2016 19:05, Jonathan Roelofs wrote:
> 
> 
> On 7/20/16 11:00 AM, C Bergström via cfe-dev wrote:
>> NetBSD has some iirc - I forget the exact link to them, but I suspect
>> someone else can help out with that.
> 
> http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/lib/csu/common/crtbegin.c
> 
> 
> Jon
> 

Thanks both of you.

>>
>> On Thu, Jul 21, 2016 at 12:57 AM, Armin K. via cfe-dev
>> <cfe-dev at lists.llvm.org> wrote:
>>> Hi all,
>>>
>>> I'm trying to build clang and use it as a main compiler. I've ran into
>>> a problem, however.
>>>
>>> I can easily drop libgcc* requirement by using llvm's libunwind, as it
>>> seems to be good enough, libgomp with llvm's openmp runtime, as well as
>>> libstdc++ by using libc++/libc++abi.
>>>
>>> However, the two files that I can't find a suitable replacement for are
>>> the ones mentioned in the title. On my system, those two are provided by
>>> gcc itself.
>>>
>>> Is there any replacement for those files, so they can be used in combination
>>> with glibc and GNU binutils?
>>>
>>> I have found some [1], but they are for x86_64, and I'd welcome such files
>>> for more architectures, namely armv7, armv8, x86_32, etc.
>>>
>>> [1] http://wiki.musl-libc.org/wiki/BuildingLLVM
>>>
>>>
>>> _______________________________________________
>>> cfe-dev mailing list
>>> cfe-dev at lists.llvm.org
>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160720/f092c60c/attachment.sig>


More information about the cfe-dev mailing list