[Scons-users] Change order of parameters in linker call

William Blevins wblevins001 at gmail.com
Wed Aug 5 10:59:41 EDT 2015


Can you please provide us with your SConscript calls?

On Wed, Aug 5, 2015 at 10:40 AM, Viktor Dick <viktordick86 at gmail.com> wrote:

>
> Hi,
> I just now noticed that on ubuntu 14.04, the linker seems to have
> problems with the way it is called by scons. In particular,
>
> g++ -o test test.o -L/usr/lib/x86_64-linux-gnu -lboost_system
>
> works while
>
> g++ -o test -L /usr/lib/x86_64-linux-gnu -lboost_system test.o
>
> throws linker errors. Unfortunately, the second way is the one that is
> chosen by SCons by default when using the Program() builder.
>
> Is there a quick fix to tell scons to change the order of the parameters
> or do I have to write a complete builder for this?
>
> Regards,
> Viktor
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150805/3f3309b0/attachment.html>


More information about the Scons-users mailing list