log4cxx编译arm gcc相关信息

arm-gcc版本

root@lyyzd-VirtualBox:/# arm-linux-gnueabi-g++ -v
使用内建 specs。
COLLECT_GCC=arm-linux-gnueabi-g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/lto-wrapper
目标:arm-linux-gnueabi
配置为:../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-12ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.7.3 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-gnu-unique-object --disable-libmudflap --disable-libitm --enable-plugin --with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --enable-multilib --disable-sjlj-exceptions --with-arch=armv5t --with-float=soft --disable-werror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-linux-gnueabi --program-prefix=arm-linux-gnueabi- --includedir=/usr/arm-linux-gnueabi/include
线程模型:posix
gcc 版本 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1)

log4cxx configure执行控制台日志

root@lyyzd-VirtualBox:/opt/apache-log4cxx-0.10.0# ./configure --prefix=/usr/arm-linux-gnueabi/log4cxx CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ --with-apr=/usr/arm-linux-gnueabi/apr --host=arm-linux --with-apr-util=/usr/arm-linux-gnueabi/apr-util --with-odbc=unixODBC 
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... no
checking for strip... strip
checking for style of include used by make... GNU
checking for arm-linux-gcc... arm-linux-gnueabi-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gnueabi-gcc accepts -g... yes
checking for arm-linux-gnueabi-gcc option to accept ANSI C... none needed
checking dependency style of arm-linux-gnueabi-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by arm-linux-gnueabi-gcc... /usr/arm-linux-gnueabi/bin/ld
checking if the linker (/usr/arm-linux-gnueabi/bin/ld) is GNU ld... yes
checking for /usr/arm-linux-gnueabi/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... arm-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for arm-linux-g++... arm-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-linux-gnueabi-g++ accepts -g... yes
checking dependency style of arm-linux-gnueabi-g++... gcc3
checking how to run the C++ preprocessor... arm-linux-gnueabi-g++ -E
checking for arm-linux-g77... no
checking for arm-linux-f77... no
checking for arm-linux-xlf... no
checking for arm-linux-frt... no
checking for arm-linux-pgf77... no
checking for arm-linux-fort77... no
checking for arm-linux-fl32... no
checking for arm-linux-af77... no
checking for arm-linux-f90... no
checking for arm-linux-xlf90... no
checking for arm-linux-pgf90... no
checking for arm-linux-epcf90... no
checking for arm-linux-f95... no
checking for arm-linux-fort... no
checking for arm-linux-xlf95... no
checking for arm-linux-ifc... no
checking for arm-linux-efc... no
checking for arm-linux-pgf95... no
checking for arm-linux-lf95... no
checking for arm-linux-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse nm output from arm-linux-gnueabi-gcc object... ok
checking for objdir... .libs
checking for arm-linux-ar... no
checking for ar... ar
checking for arm-linux-ranlib... no
checking for ranlib... ranlib
checking for arm-linux-strip... strip
checking if arm-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-linux-gnueabi-gcc option to produce PIC... -fPIC
checking if arm-linux-gnueabi-gcc PIC flag -fPIC works... yes
checking if arm-linux-gnueabi-gcc static flag -static works... yes
checking if arm-linux-gnueabi-gcc supports -c -o file.o... yes
checking whether the arm-linux-gnueabi-gcc linker (/usr/arm-linux-gnueabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by arm-linux-gnueabi-g++... /usr/arm-linux-gnueabi/bin/ld
checking if the linker (/usr/arm-linux-gnueabi/bin/ld) is GNU ld... yes
checking whether the arm-linux-gnueabi-g++ linker (/usr/arm-linux-gnueabi/bin/ld) supports shared libraries... yes
checking for arm-linux-gnueabi-g++ option to produce PIC... -fPIC
checking if arm-linux-gnueabi-g++ PIC flag -fPIC works... yes
checking if arm-linux-gnueabi-g++ static flag -static works... yes
checking if arm-linux-gnueabi-g++ supports -c -o file.o... yes
checking whether the arm-linux-gnueabi-g++ linker (/usr/arm-linux-gnueabi/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for arm-linux-g++... (cached) arm-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether arm-linux-gnueabi-g++ accepts -g... (cached) yes
checking dependency style of arm-linux-gnueabi-g++... (cached) gcc3
checking how to run the C++ preprocessor... arm-linux-gnueabi-g++ -E
checking for doxygen... no
checking for APR... yes
checking for APR-util... yes
checking for mbsrtowcs... yes
checking for wcstombs... yes
checking for syslog... yes
checking locale usability... yes
checking locale presence... yes
checking for locale... yes
checking for wchar_t... yes
checking for fwide... yes
checking for arm-linux-ranlib... ranlib
checking for ODBC support... no
checking for SMTP support... no
checking charset type... auto
checking logchar type... utf-8
configure: creating ./config.status
config.status: creating Makefile
config.status: creating liblog4cxx.pc
config.status: creating src/Makefile
config.status: creating src/main/Makefile
config.status: creating src/main/cpp/Makefile
config.status: creating src/main/include/Makefile
config.status: creating src/main/include/log4cxx/log4cxx.h
config.status: creating src/main/include/log4cxx/private/log4cxx_private.h
config.status: creating src/main/include/log4cxx/private/Makefile
config.status: creating src/main/include/log4cxx/Makefile
config.status: creating src/main/include/log4cxx/helpers/Makefile
config.status: creating src/main/include/log4cxx/net/Makefile
config.status: creating src/main/include/log4cxx/nt/Makefile
config.status: creating src/main/include/log4cxx/spi/Makefile
config.status: creating src/main/include/log4cxx/spi/location/Makefile
config.status: creating src/main/include/log4cxx/varia/Makefile
config.status: creating src/main/include/log4cxx/xml/Makefile
config.status: creating src/main/include/log4cxx/config/Makefile
config.status: creating src/main/include/log4cxx/db/Makefile
config.status: creating src/main/include/log4cxx/rolling/Makefile
config.status: creating src/main/include/log4cxx/pattern/Makefile
config.status: creating src/main/include/log4cxx/filter/Makefile
config.status: creating src/site/Makefile
config.status: creating src/site/doxy/Makefile
config.status: creating src/site/doxy/Doxyfile
config.status: creating src/test/Makefile
config.status: creating src/test/resources/Makefile
config.status: creating src/test/resources/input/Makefile
config.status: creating src/test/resources/input/ndc/Makefile
config.status: creating src/test/resources/input/rolling/Makefile
config.status: creating src/test/resources/input/xml/Makefile
config.status: creating src/test/cpp/Makefile
config.status: creating src/test/resources/witness/Makefile
config.status: creating src/test/resources/witness/encoding/Makefile
config.status: creating src/test/resources/witness/ndc/Makefile
config.status: creating src/test/resources/witness/rolling/Makefile
config.status: creating src/examples/Makefile
config.status: creating src/examples/cpp/Makefile
config.status: executing depfiles commands

log4cxx make执行控制台日志(截取部分)

if /bin/bash ../../../libtool --tag=CXX --mode=compile arm-linux-gnueabi-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MBSRTOWCS=1 -DHAVE_WCSTOMBS=1 -DHAVE_SYSLOG=1 -DHAVE_FWIDE=1  -I. -I. -I../../../src/main/include -I../../../src/main/include  -DLINUX -D_REENTRANT -D_GNU_SOURCE  -I/usr/arm-linux-gnueabi/apr/include/apr-1   -I/usr/arm-linux-gnueabi/apr-util/include/apr-1   -g -O2 -MT odbcappender.lo -MD -MP -MF ".deps/odbcappender.Tpo" -c -o odbcappender.lo odbcappender.cpp; \
    then mv -f ".deps/odbcappender.Tpo" ".deps/odbcappender.Plo"; else rm -f ".deps/odbcappender.Tpo"; exit 1; fi
 arm-linux-gnueabi-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MBSRTOWCS=1 -DHAVE_WCSTOMBS=1 -DHAVE_SYSLOG=1 -DHAVE_FWIDE=1 -I. -I. -I../../../src/main/include -I../../../src/main/include -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/arm-linux-gnueabi/apr/include/apr-1 -I/usr/arm-linux-gnueabi/apr-util/include/apr-1 -g -O2 -MT odbcappender.lo -MD -MP -MF .deps/odbcappender.Tpo -c odbcappender.cpp  -fPIC -DPIC -o .libs/odbcappender.o
 arm-linux-gnueabi-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MBSRTOWCS=1 -DHAVE_WCSTOMBS=1 -DHAVE_SYSLOG=1 -DHAVE_FWIDE=1 -I. -I. -I../../../src/main/include -I../../../src/main/include -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/arm-linux-gnueabi/apr/include/apr-1 -I/usr/arm-linux-gnueabi/apr-util/include/apr-1 -g -O2 -MT odbcappender.lo -MD -MP -MF .deps/odbcappender.Tpo -c odbcappender.cpp -o odbcappender.o >/dev/null 2>&1

你可能感兴趣的:(log4cxx编译arm gcc相关信息)