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 24 March 2013 18:27, Markus Elfring wrote:
>>> Can the given source file "Video1.cpp" be specified as the last parameter on the
>>> command line?
>>
>> No.
>
> I do not see so far that link options must be passed as last parameters.
> http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Invoking-GCC.html

Look harder:

You can mix options and other arguments. For the most part, the order
you use doesn't matter. Order does matter when you use several options
of the same kind; for example, if you specify -L more than once, the
directories are searched in the order specified. *** Also, the
placement of the -l option is significant. ***


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