Welcome to the Haiku shell. ~> gcc -v -m32 test.cpp Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/lto-wrapper Target: x86_64-unknown-haiku Configured with: /sources/gcc-4.7.3_2013_08_12/configure --build=x86_64-unknown-haiku --prefix=/packages/gcc-4.7.3_2013_08_12-2/.self/develop/tools --libexecdir=/packages/gcc-4.7.3_2013_08_12-2/.self/develop/tools/lib --mandir=/packages/gcc-4.7.3_2013_08_12-2/.self/documentation/man --docdir=/packages/gcc-4.7.3_2013_08_12-2/.self/documentation/packages/gcc --disable-nls --enable-shared --enable-languages=c,c++ --enable-lto --enable-frame-pointer --with-pkgversion=2013_08_12 --disable-multilib Thread model: single gcc version 4.7.3 (2013_08_12) COLLECT_GCC_OPTIONS='-v' '-m32' '-mtune=generic' '-march=x86-64' /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/cc1plus -quiet -v -iprefix /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/ test.cpp -fpic -Wno-multichar -quiet -dumpbase test.cpp -m32 -mtune=generic -march=x86-64 -auxbase test -version -Wno-ctor-dtor-privacy -o /tmp//ccC5aTLF.s GNU C++ (2013_08_12) version 4.7.3 (x86_64-unknown-haiku) compiled by GNU C version 4.7.3, GMP version 5.0.5, MPFR version 3.1.2, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../x86_64-unknown-haiku/include" ignoring duplicate directory "/boot/system/develop/tools/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../include/c++/4.7.3" ignoring duplicate directory "/boot/system/develop/tools/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../include/c++/4.7.3/x86_64-unknown-haiku" ignoring duplicate directory "/boot/system/develop/tools/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../include/c++/4.7.3/backward" ignoring duplicate directory "/boot/system/develop/tools/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-haiku/4.7.3/include" ignoring duplicate directory "/boot/system/develop/tools/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-haiku/4.7.3/include-fixed" ignoring nonexistent directory "/boot/system/develop/tools/bin/../lib/gcc/../../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../x86_64-unknown-haiku/include" ignoring nonexistent directory "/boot/common/non-packaged/develop/headers" ignoring nonexistent directory "/boot/common/develop/headers" ignoring nonexistent directory "/boot/system/develop/headers/os/opengl" #include "..." search starts here: #include <...> search starts here: /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../include/c++/4.7.3 /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../include/c++/4.7.3/x86_64-unknown-haiku /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../include/c++/4.7.3/backward /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/include /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/include-fixed /boot/system/develop/headers/os /boot/system/develop/headers/os/app /boot/system/develop/headers/os/device /boot/system/develop/headers/os/drivers /boot/system/develop/headers/os/game /boot/system/develop/headers/os/interface /boot/system/develop/headers/os/kernel /boot/system/develop/headers/os/locale /boot/system/develop/headers/os/mail /boot/system/develop/headers/os/media /boot/system/develop/headers/os/midi /boot/system/develop/headers/os/midi2 /boot/system/develop/headers/os/net /boot/system/develop/headers/os/storage /boot/system/develop/headers/os/support /boot/system/develop/headers/os/translation /boot/system/develop/headers/os/add-ons/graphics /boot/system/develop/headers/os/add-ons/input_server /boot/system/develop/headers/os/add-ons/mail_daemon /boot/system/develop/headers/os/add-ons/registrar /boot/system/develop/headers/os/add-ons/screen_saver /boot/system/develop/headers/os/add-ons/tracker /boot/system/develop/headers/os/be_apps/Deskbar /boot/system/develop/headers/os/be_apps/NetPositive /boot/system/develop/headers/os/be_apps/Tracker /boot/system/develop/headers/3rdparty /boot/system/develop/headers/bsd /boot/system/develop/headers/glibc /boot/system/develop/headers/gnu /boot/system/develop/headers/posix /boot/system/develop/headers End of search list. GNU C++ (2013_08_12) version 4.7.3 (x86_64-unknown-haiku) compiled by GNU C version 4.7.3, GMP version 5.0.5, MPFR version 3.1.2, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 70cabb549fd11bf6fcf02ad1e4253238 COLLECT_GCC_OPTIONS='-v' '-m32' '-mtune=generic' '-march=x86-64' /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../x86_64-unknown-haiku/bin/as -V -Qy --32 -o /tmp//ccE5cUoo.o /tmp//ccC5aTLF.s GNU assembler version 2.23.2 (x86_64-unknown-haiku) using BFD version (GNU Binutils) 2.23.2 COMPILER_PATH=/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/:/boot/system/develop/tools/bin/../lib/gcc/:/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../x86_64-unknown-haiku/bin/ BELIBRARIES=/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/:/boot/system/develop/tools/bin/../lib/gcc/:/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../x86_64-unknown-haiku/lib/:/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../:/boot/system/develop/lib/ COLLECT_GCC_OPTIONS='-v' '-m32' '-mtune=generic' '-march=x86-64' /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/collect2 -m elf_i386_haiku -shared -no-undefined /boot/system/develop/lib/crti.o /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/crtbegin.o /boot/system/develop/lib/start_dyn.o /boot/system/develop/lib/init_term_dyn.o -L/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3 -L/boot/system/develop/tools/bin/../lib/gcc -L/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../x86_64-unknown-haiku/lib -L/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../.. -L/boot/system/develop/lib /tmp//ccE5cUoo.o -lroot /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/crtend.o /boot/system/develop/lib/crtn.o /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../x86_64-unknown-haiku/bin/ld: skipping incompatible /boot/system/develop/lib/libroot.so when searching for -lroot /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/4.7.3/../../../../x86_64-unknown-haiku/bin/ld: cannot find -lroot collect2: error: ld returned 1 exit status ~>