求教:Windows x64或Linux平台如何编译windows X86的 fdk-aac的运行库,

keefor 2019-06-16 03:30:50
原本是打算根据iOS的编译配置,照猫画虎,有好多配置变量在configure,找不到对应的。
下面是iOS的编译配置
--host=aarch64-apple-darwin \    
CC="xcrun -sdk iphoneos clang" \    
CXX="xcrun -sdk iphoneos clang" \    
CPP="xcrun -sdk iphoneos clang -E" \    
AS="xcrun -sdk iphoneos clang" \          
CFLAGS="-arch arm64 -fembed-bitcode" \     
LDFLAGS="-arch arm64 -fembed-bitcode" \      
CPPFLAGS="-arch arm64 -fembed-bitcode" \  

如果改成x86应该怎么改?

我现在写的
--host=i386-w64-mingw32 \

不知道CC、CXX、AS、CFLAGS、LDFLAGS等后面需要写什么所以就没写
编译失败。

报如下错误
checking for i386-w64-mingw32-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/e/Download/FFmpegInterop/fdkaac/fdk-aac-0.1.6/Output/Windows10/x86':
configure: error: C compiler cannot create executables
See `config.log' for more details
+ make install
make: *** 没有规则可制作目标“install”。 停止。
...全文
305 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
keefor 2019-07-05
  • 打赏
  • 举报
回复
米有人会吗?

23,115

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧