Can gcc13 create fat binaries for Intel+ARM in one-liner?

Ces VLC cesarillovlc at gmail.com
Thu Jun 22 18:11:14 UTC 2023


Thanks a lot, Ken.

César


On Wed, Jun 21, 2023 at 3:34 PM Ken Cunningham <
ken.cunningham.webuse at gmail.com> wrote:

> 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 <cesarillovlc at 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!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20230622/9a0991b6/attachment.htm>


More information about the macports-users mailing list