[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [Tinycc-dev] Some question about tinycc in macOS
From: |
Andrei Warkentin |
Subject: |
Re: [Tinycc-devel] [Tinycc-dev] Some question about tinycc in macOS |
Date: |
Fri, 5 May 2017 14:17:00 +0300 |
I don't think anyone is actively adding Mach-O support. You're welcome to work
on it. It's hard to qualify and quantify the work since I don't know much
beyond the very basics of the Mach-O and fat binary format. I'd start with a
fixed address statically linked binary if that's possible in OSX land.
A
> 5 мая 2017 г., в 11:29, Haoran Wang <address@hidden> написал(а):
>
> Thanks a lot, i was wondering whether some one is doing such staff to
> add Mach-O supoort, or this function is not needed in tinycc project?
> And i am not sure how hard this work would be, if i want do it as my
> hobby project?
> --
> haoran wang
>> On Fri, May 05, 2017 at 10:29:54AM +0300, Andrei Warkentin wrote:
>> Hi Haoran,
>>
>> A native tinycc compiler can only be used in script mode today (i.e. with
>> -run). There is no Mach-O generation at the moment. I imagine that when
>> Mach-O is added it would be done similar
>> to the PE-COFF support, where the intermediate (object) format is still ELF.
>>
>> A
>>
>>> 5 мая 2017 г., в 5:02, Haoran Wang <address@hidden> написал(а):
>>>
>>> I tried to build tinycc in Mac (Darwin Kernel Version 16.5.0), i can build
>>> the program, but it seems that tinycc can not work properly? it can not
>>> link the obj file, and i found the format of the obj file is `ELF 64-bit
>>> LSB relocatable, x86-64`, so the tinycc can not work in macOS?
>>> _______________________________________________
>>> Tinycc-devel mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>>
>> _______________________________________________
>> Tinycc-devel mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel