Post

Replies

Boosts

Views

Activity

Reply to C Code Won't Compile in MacOS Catalina or Big Sur
Thanks for the advice! I just upgraded to XCode 12.4 but unfortunately, nothing has changed. Just to add some information: I'm using an ARM 32-bit cross-compiler (arm-none-eabi). This is how I set it up on Big Sur: Downloaded "binutils-2.36.tar.xz" from ftp.gnu.org/gnu/binutils/ Outside of the binutils directory, created a folder named "build32" and ran the following commands: ../binutils-2.36/configure --target=arm-none-eabi --disable-nls --enable-languages=c --without-headers make -j4 all make install 3. Downloaded "gcc-arm-src-snapshot-10.2-2020.11.tar.xz" from developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads 4. Inside the main directory, created a subdirectory called "build32" and ran the following commands: ../gcc-arm-src-snapshot-10.2-2020.11/configure --target=arm-none-eabi --disable-nls --enable-languages=c --without-headers make -j4 all-gcc sudo make install-gcc Not sure if this could be the issue but again, any suggestions would be much appreciated!
Feb ’21