[Scons-users] Getting builds to work with the -j flag
William Blevins
wblevins001 at gmail.com
Fri Feb 19 07:16:19 EST 2016
This seems to be a discrepancy between linker behavior and SCons dependency
generation behavior with regards to LIBPATH since some linkers are
automatically checking "." after evaluating LIBPATH contents. I imagine
that fixing something like this would require changes on a per linker
basis? This isn't explicitly a failure but it's peculiar I suppose.
On Fri, Feb 19, 2016 at 6:48 AM, Paweł Tomulik <ptomulik at meil.pw.edu.pl>
wrote:
> 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
> _______________________________________________
> 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/20160219/ab5b6877/attachment.html>
More information about the Scons-users
mailing list