mvalviar/demoinfo2-lin — pull request #1 by cacsar (2012-05-30 07:31:54+00:00)
Title: Corrected Makefile for GCC 4.6

Changed Makefile to take following bit of documentation into account. This appears to be necessary for GCC 4.6. Compiles on Ubuntu 12.04 amd64 using libs in the repositories.

"It makes a difference where in the command you write this option; the
linker searches and processes libraries and object files in the order
they are specified. Thus, `foo.o -lz bar.o' searches library `z' after
file foo.o but before bar.o. If bar.o refers to functions in `z', those
functions may not be loaded."
http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html