Should the passed command parameters result into the same error messages for a configuration test?

Jonathan Wakely jwakely.gcc@gmail.com
Sun Mar 24 15:02:00 GMT 2013


On 5 February 2013 18:15, Markus Elfring wrote:
> elfring@Sonne:~/Projekte/OpalVoip/OPAL/Probe> LANG=C g++ -o Video1 -Wall -Wextra
> -Wstrict-aliasing -Wfloat-equal -Wno-comment -Wno-unused -Winit-self
> -Wno-missing-field-initializers -Wreorder -felide-constructors -fexceptions
> -fPIC -DP_64BIT -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -I/usr/local/include
> -I/usr/include/SDL -L/usr/local/lib64 -lpt_s -lrt -lsasl2 -lldap -llber -lldap_r
> -lssl -lcrypto -lexpat -llua -lSDL -lpthread -lodbc -lresolv -ldl Video1.cpp

This command is invalid, the libraries should come after the files
that refer to the symbols in the library.



More information about the Gcc-help mailing list