View Single Post
Old 01-11-2015, 08:04 PM   #128
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I went with a basic -O2, FWIW .

I've never handled fat binaries manually, I'll see what I can come up with, if no one beats me to it (is that even doable w/ a 10.10 SDK?) .

EDIT: Yes it is, and apparently as simple as passing -arch i386 -arch x86_64 to the compiler & linker .

Code:
gcc -pipe -O2 -fomit-frame-pointer -mmacosx-version-min=10.6 -arch i386 -arch x86_64 -Wall -o patch32lsb patch32lsb.c

Last edited by NiLuJe; 01-11-2015 at 10:19 PM. Reason: Remove deprecated attachment (cf. next message) ;).
NiLuJe is offline   Reply With Quote