The necessary parts Apple added (driverdriver.c) to enable that have not been 
updated since gcc-4.2, so one-pass universal is not available since then.

People occassionaly talk about updating driverdriver.c, and there are a few 
shell scripts floating around that do some of it, but that’s as far as it goes.

K

> On Jun 21, 2023, at 01:41, Ces VLC <cesarillo...@gmail.com> wrote:
> 
> 
> Hi!
> 
> Last time I used gcc for creating fat binaries was in the days of Snow 
> Leopard, using the Apple-bundled version of gcc, which, if I recall correctly 
> had this behaviour of letting you specify several archs in the same 
> invocation because of a patch written by Apple. I also seem to recall that 
> years later I tried a genuine (non-Apple) gcc, and creation of fat binaries 
> as a one liner was no longer available.
> 
> I know that gcc support for Apple Silicon comes as a patch, and it's not 
> upstreamed yet AFAIK, but I was wondering if that patch lets you build 
> Intel+ARM universal fat binaries in a single invocation as well, or if that's 
> not supported.
> 
> Kind regards and thanks a lot!

Reply via email to