You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: this first recipe wont work with scons 0.96.1 or lower.
#!pythonenv=Environment(
# LINKCOM needs to be specifed here because of the special handling when# linking against the static libgcc and stdc++LINKCOM="$LINK -o $TARGET $SOURCES $_LIBDIRFLAGS $_LIBFLAGS $LINKFLAGS",
LINKFLAGS="-static-libgcc -ldl -Xlinker -B -Xlinker static -lstdc++")
prog=env.Program(target='myprog',source='main.cpp');