Skip to content

Tag: autotools

gdb can’t cross-compile for arm-linux

The Linux already having both gcc & arm-gcc in the environment path: So I configure the gdb 6.6: compiled without error, but looks like gdb used the wrong compiler. So How to indicate the correct CC for gdb? I tried make CC=arm-none-linux-gnueabi-gcc, but will get the error: Answer Don’t use –…

autogen.sh: You need gtk-doc to build this package

I want to compile LXDE’s libfm from source, but when I run ./autogen.sh, it fails with this error: Answer After some experimenting, I figured out which package to install. It was: After that ./autogen.sh executed successfully and created the ./configure script. I also needed to run sudo apt-get build-de…

Building C with automake under OS X and Linux

Currently I’m writing a RPC system for delay tolerant networks based on the Serval project from Australia (GitHub) in C. Mainly I’m developing on macOS El Capitan and everything works fine. But it is somewhat important that my code runs on macOS and Linux. But Linux makes trouble. I choose automak…