Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/assembly/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为iOS构建,但链接库';libgsl.a';是为macOS而建的。如何在gsl配置中添加对iOS的体系结构支持_Ios_Gsl - Fatal编程技术网

为iOS构建,但链接库';libgsl.a';是为macOS而建的。如何在gsl配置中添加对iOS的体系结构支持

为iOS构建,但链接库';libgsl.a';是为macOS而建的。如何在gsl配置中添加对iOS的体系结构支持,ios,gsl,Ios,Gsl,我已经成功创建了libgsl.a,但无法在arm64体系结构(iOS设备)中使用 如何在gsl配置文件中添加这种架构支持?有什么想法吗 我尝试了这两个配置,但得到了相同的错误 一, sudo./configure--disable shared--disable dependency tracking--host=armv64-apple-darwin10 CFLAGS=“-I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhone

我已经成功创建了libgsl.a,但无法在arm64体系结构(iOS设备)中使用

如何在gsl配置文件中添加这种架构支持?有什么想法吗

我尝试了这两个配置,但得到了相同的错误

一,

  • sudo./configure--disable shared--disable dependency tracking--host=armv64-apple-darwin10 CFLAGS=“-I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include-I/Library/iPhone/include-isysroot/Developer/Platforms/iPhoneOS.platform/Developer/sdk/iPhoneOS14.4.sdk”CC=“/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm64-apple-darwin10-gcc-4.2.1”CPP=CPP-LDFLAGS=“-isysroot/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk”
  •  ./configure CC="gcc -arch x86_64" \
                     CXX="g++ -arch x86_64" \
                     CPP="gcc -E" CXXCPP="g++ -E"