[Scons-users] Getting builds to work with the -j flag

Paweł Tomulik ptomulik at meil.pw.edu.pl
Fri Feb 19 01:48:55 EST 2016


Actually, I've tested it with GCC. The problem with -j was initially the
same, and LIBPATH solved it.


W dniu 18.02.2016 o 23:57, William Blevins pisze:
> And Pawel probably wins the gold star!
> 
> I assume this is a difference in the default LIBPATH assumptions between
> SCons and VS that the link occurs at all.
> 
> On Thu, Feb 18, 2016 at 10:33 PM, Paweł Tomulik <ptomulik at meil.pw.edu.pl
> <mailto:ptomulik at meil.pw.edu.pl>> wrote:
> 
>     W dniu 18.02.2016 o 00:40, Steve Robinson pisze:
>     > SharedLibrary('add', 'add.cpp')
>     > Program('main', 'main.cpp', LIBS='add')
> 
> 
>     Try:
> 
>     Program('main', 'main.cpp', LIBS=['add'], LIBPATH=['.'])
> 
>     --
>     Pawel Tomulik
>     _______________________________________________
>     Scons-users mailing list
>     Scons-users at scons.org <mailto:Scons-users at scons.org>
>     https://pairlist4.pair.net/mailman/listinfo/scons-users
> 
> 
> 
> 
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
> 


-- 
Pawel Tomulik


More information about the Scons-users mailing list