gcc emulating advanced edg wrapper script