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. ***