This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]