交叉编译libnpg库 ./configure CC=mipsisa32-elf-gcc --host=mipsisa32-linux 求大神给予帮助
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了交叉编译libnpg库 ./configure CC=mipsisa32-elf-gcc --host=mipsisa32-linux 求大神给予帮助相关的知识,希望对你有一定的参考价值。
root@mjayjie:/home/jayjie.chen/myshare/libpng-1.6.22# ./configure CC=mipsisa32-elf-gcc --host=mipsisa32-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mipsisa32-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether mipsisa32-elf-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of mipsisa32-elf-gcc... gcc3
checking dependency style of mipsisa32-elf-gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mipsisa32-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by mipsisa32-elf-gcc... /etc/opt/gnutools/mipsisa32-elf-3.4.4/mipsisa32-elf/bin/ld
checking if the linker (/etc/opt/gnutools/mipsisa32-elf-3.4.4/mipsisa32-elf/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... mipsisa32-elf-gcc -E
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for mipsisa32-linux-dumpbin... no
checking for mipsisa32-linux-link... no
checking for dumpbin... no
checking for link... link -dump
configure: WARNING: using cross tools not prefixed with host triplet
checking the name lister (nm) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to mipsisa32-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /etc/opt/gnutools/mipsisa32-elf-3.4.4/mipsisa32-elf/bin/ld option to reload object files... -r
checking for mipsisa32-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for mipsisa32-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mipsisa32-linux-ar... no
checking that AWK works... ok
checking if we need to force back C standard to C89... no
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for C/C++ restrict keyword... __restrict
checking for working strtod... no
checking for pow... no
checking for pow in -lm... no
configure: WARNING: cannot find library containing definition of pow
checking for memset... no
configure: error: memset not found in libc
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
这几个会不会有问题
没有就可以进行下一步。至于其他的,例如warning,可以忽略。
make和make install也是一样 参考技术A 交叉编译吗, 怎么memset这样的基本函数都没有追问
mips的交叉编译工具链,我这个是用于ecos平台的,请问有没有重新制作工具链的方法
以上是关于交叉编译libnpg库 ./configure CC=mipsisa32-elf-gcc --host=mipsisa32-linux 求大神给予帮助的主要内容,如果未能解决你的问题,请参考以下文章