This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Should the passed command parameters result into the same error messages for a configuration test?
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Markus Elfring <Markus dot Elfring at web dot de>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 24 Mar 2013 15:02:19 +0000
- Subject: Re: Should the passed command parameters result into the same error messages for a configuration test?
- References: <51114C3A dot 3030806 at web dot de>
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.