mambo icon indicating copy to clipboard operation
mambo copied to clipboard

Building with clang

Open Manouchehri opened this issue 6 years ago • 2 comments

Still need to do more testing and fix up the Makefile, but so far it looks like MAMBO works fine with clang too!

If anyone feels like trying it before I make a PR, branch is over here: https://github.com/Manouchehri/mambo/tree/clang

Manouchehri avatar Dec 18 '18 02:12 Manouchehri

I can confirm that works to build a working MAMBO executable with clang 7.0.0 on AArch64 (albeit with some warnings). I don't think -fno-integrated-as is needed in LDFLAGS. Are you going to conditionally add the -fno-integrated-as option if CC contains clang?

lgeek avatar Dec 18 '18 16:12 lgeek

I was looking into maybe using ninja too. Builds much quicker in the first test I did with MAMBO.

Manouchehri avatar Dec 19 '18 07:12 Manouchehri