You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I try to build and install the library by Ubuntu 22.04 arm-linux-gnueabihf-gcc(version 11) but build error message as below.
runtime.c:35:10: fatal error: objc/objc-api.h: No such file or directory
35 | #include <objc/objc-api.h>
As I know objc-api.h is no support after GCC 4.7.0. (https://gcc.gnu.org/onlinedocs/gcc/Traditional-GNU-Objective-C-runtime-API.html) But I compile the library by x86 gcc, it's completely done. Below is my configure tools-make and libs-base info. If there is anyone can give me some advices? I will be really grateful for that. Thanks. Sorry if I am not clear, I will elaborate if this is still unclear.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I try to build and install the library by Ubuntu 22.04 arm-linux-gnueabihf-gcc(version 11) but build error message as below.
As I know objc-api.h is no support after GCC 4.7.0. (https://gcc.gnu.org/onlinedocs/gcc/Traditional-GNU-Objective-C-runtime-API.html) But I compile the library by x86 gcc, it's completely done. Below is my configure tools-make and libs-base info. If there is anyone can give me some advices? I will be really grateful for that. Thanks. Sorry if I am not clear, I will elaborate if this is still unclear.
tools-make:
../configure --prefix=/home/linopeng/my_project/install-gnustep-arm --host=arm-linux-gnueabihf CC=/usr/bin/arm-linux-gnueabihf-gcc CXX=/usr/bin/arm-linux-gnueabihf-g++ LD=/usr/bin/arm-linux-gnueabihf-ld AS=/usr/bin/arm-linux-gnueabihf-as NM=/usr/bin/arm-linux-gnueabihf-nm AR=/usr/bin/arm-linux-gnueabihf-ar RANLIB=/usr/bin/arm-linux-gnueabihf-ranlib READELF=/usr/bin/arm-linux-gnueabihf-readelf OBJCXX=/usr/bin/arm-linux-gnueabihf-gcc --enable-nxconstantstring
libs-make:
../configure --prefix=/home/linopeng/my_project/install-gnustep-arm --host=arm-linux-gnueabihf CC=/usr/bin/arm-linux-gnueabihf-gcc CXX=/usr/bin/arm-linux-gnueabihf-g++ LD=/usr/bin/arm-linux-gnueabihf-ld AS=/usr/bin/arm-linux-gnueabihf-as NM=/usr/bin/arm-linux-gnueabihf-nm AR=/usr/bin/arm-linux-gnueabihf-ar RANLIB=/usr/bin/arm-linux-gnueabihf-ranlib READELF=/usr/bin/arm-linux-gnueabihf-readelf OBJCXX=/usr/bin/arm-linux-gnueabihf-gcc --enable-nxconstantstring --disable-xslt --disable-icu --disable-tls
Beta Was this translation helpful? Give feedback.
All reactions