[Scons-users] how to write intel -ipo-c in sconstruct

Guo, Gcwenken gcwenken.guo at ttu.edu
Fri Aug 8 21:02:49 EDT 2014


Hi:
   I need to use intel icpc -ipo-c function so I want to turn the following stuff into sconstruct script
   icpc -ipo -c a.cpp
   icpc -ipo -c b.cpp
   icpc -ipo-c a.o b.o -o i.o (*)
   g++ -c c.cpp
   g++ c.o i.o -o exe
   
   I have no idea how to implement (*) in the sconstruct. Any idea?

Chaowen GUO


More information about the Scons-users mailing list