I am trying to make a 32-bit program in 64-bit OS which only has 64-bit develop environment. So ld always try to link 64-bit library with my 32-bit program.
export GNUTARGET='elf32-i386'
export CFLAGS="-m32"
export LDFLAGS="-m32"
阅读(1877) | 评论(0) | 转发(0) |