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 <[email protected]> написал(а): > > 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 <[email protected]> написал(а): >>> >>> 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 >>> [email protected] >>> https://lists.nongnu.org/mailman/listinfo/tinycc-devel >> >> _______________________________________________ >> Tinycc-devel mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/tinycc-devel > > _______________________________________________ > Tinycc-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
