iOS i386 build produces x86_64 lib

22 views
Skip to first unread message

Johan Lantz

unread,
Jun 16, 2015, 8:35:35 AM6/16/15
to discuss...@googlegroups.com
Hi 

When I build libyuv for the iOS i386 simulator it produces the x86_64 version of the lib.

This first line produce the x86_64 lib as expected
GYP_DEFINES="OS=ios target_arch=x64" GYP_CROSSCOMPILE=1 GYP_GENERATOR_FLAGS=\"output_dir=out_ios\" ./gyp_libyuv -f ninja --depth=. libyuv.gyp

but when trying to use the ia32 setting instead, it still builds ok but it output the x86_64 version again instead of the i386 one.
GYP_DEFINES="OS=ios target_arch=ia32" GYP_CROSSCOMPILE=1 GYP_GENERATOR_FLAGS=\"output_dir=out_ios\" ./gyp_libyuv -f ninja --depth=. libyuv.gyp

This means I am not able to produce the i386 version for older simulators.

Did anyone test this recently? Any ideas?

Thanks

Johan
Reply all
Reply to author
Forward
0 new messages