tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.8k stars 318 forks source link

Using gcc assembler #391

Open iTrooz opened 11 months ago

iTrooz commented 11 months ago

It seems like ./build_gcc will make gcc use the clang assembler. Unfortunately, this sometimes cause problems. In my case, I get this error: "ambiguous instructions require an explicit suffix (could be 'filds', or 'fildl')" Screenshot

tpoechtrager commented 10 months ago

You could try to build OSXCross with DISABLE_CLANG_AS=1 ./build.sh. Maybe you will have some luck with that.

iTrooz commented 8 months ago

Hey ! So sorry for the late answer

Doesn't ./build.sh build utilities for a Clang compiler ? In my case, I would like to build with gcc, so I don't think this would be a solution