http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44803
--- Comment #3 from Felipe Contreras <felipe.contreras at gmail dot com> 2010-09-27 01:28:24 UTC --- Is this not clear? It would be useful to cross-compile like this: export C_INCLUDE_PATH=/opt/arm/ffmpeg/include export LIBRARY_PATH=/opt/arm/ffmpeg/lib But LIBRARY_PATH is ignored.