tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Unable to link a binary on OS X


From: David Mertens
Subject: Re: [Tinycc-devel] Unable to link a binary on OS X
Date: Mon, 16 Dec 2013 07:24:29 -0500

Kevin -

This would be fantastic to have imho. When using tcc on Mac, I've just used it to run code immediately after compiling, but being able to compile executable binaries on Mac with tcc would be great! Post back when you hit blocking issues in case somebody here has insights.

David


On Mon, Dec 16, 2013 at 4:26 AM, Kevin Ingwersen <address@hidden> wrote:
I’ll see if I could do that. I am a pretty young C developer actually, but I want to at least give it a try. :)
Resource: https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html
Am 16.12.2013 um 10:16 schrieb address@hidden:

Kevin Ingwersen <address@hidden> wrote:

Hey there.

Another issue I’d like to report is, that TCC seems to be unable to
link on OS X. I belive its because Mac doesnt quite use ELF, as far as
I know. At least, that is what somebody said about objcopy.

Mac OS X uses an object file format called "mach-o" which is largely
unique to it.  Someone would have to teach tcc how to generate and
link this object file format.

Arnold


_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel




--
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]