|
|
Just wanted to report that I successfully built 1.4.x (Build 20201120-aa140973) on my M1 MacBook Air natively. To compile FLTK, nothing special was needed:
make clean ./configure --enable-localpng --enable-localzlib make
Using lipo shows that the compiled test applications are indeed built for ARM:
sf@Air-von-Stefan test % lipo ./blocks -archs arm64
I used this FLTK build to statically build my (commercial) application and again used lipo to create the universal binary:
lipo -create application-binary-arm application-binary-intel -output application-binary-fat
application-binary-fat then replaced the single architecture binary within the .app bundle created by my build script (a Bash file). Signing and notarizing the .app bundle was then straightforward as always.
Having received my M1 MacBook on Friday, I was already able to ship a universal binary for my application on Monday. So I want to thank all the FLTK developers for their great work!
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/db30ad15-e0d2-4480-903f-72d751955408n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |