[Top][All Lists]

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

[Tinycc-devel] apple support

From: Herman ten Brugge
Subject: [Tinycc-devel] apple support
Date: Fri, 25 Nov 2022 14:07:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

I recently added code to allow the apple m1 to work.

First I implemented the older apple code with position independent executables(pie).
After that I implemented the newer macos code.

The old code is the default.
The new code can be selected with configure option '--config-new_macho'.
I suspect that after some time the old code is not needed any more because
every one has swicthed to the new code and then the old code and this
option can be removed.

For support of apple 13.0 (Ventura) I needed to add another option '--config-codesign'.
This was needed because on this target executables needs to be signed.
This is done by running 'codesign -f -s - executeble' after it is created.

The code now runs fine at least on x86_64(10.6, 13.0) and arm64(12.3,13.0).

reply via email to

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