Hi, In makefiles on Ubuntu & Debian machines, previously you could set
CPPFLAGS=$(some paths) LDFLAGS=$(some libraries) and "make main" would compile by default using something like this command: g++ $(CPPFLAGS) $(LDFLAGS) main.cpp -o main Now it gives linking errors because it seems g++-4.6 has changed (maybe what was previously a bug?). Is it now compulsory for linking flags to come after the sources to which they apply? I've tested with g++-4.4 and make 3.81-8 on ubuntu, and the above works, but it doesn't work with g++-4.6. Is there a different variable I could set other than LDFLAGS for a generic makefile like that? Thanks _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
