[Scons-users] Storing object files in different directory

Keith Prussing kprussing74 at gmail.com
Mon Oct 13 07:52:20 EDT 2014


On Oct 12, 2014, at 1:05 PM, Christopher Dimech <dimech.christopher at gmail.com> wrote:
> Yes, it picks up the .mod file, however it is  not created
> in /build/lib as defined in the VariantDir. Have also used 
> the compiler option -Ibuild/lib
> 
> However the change did not work. The file still being 
> created as ./endian.mod 
> 

Try using the `-J` flag.  That is the option for gfortran that indicates where 
the modules are to be placed.

Keith


More information about the Scons-users mailing list