imatix/zguide — Issue #112: C++ examples don't build correctly with newer g++
Author: rejaxu
Created: 2011-10-18 20:14:11+00:00
State: open

When using "./build all" in the C++ examples directory on Ubuntu 11.10 the build repeatedly fails at the linking stage.

This can be solved by moving the linker flags on line 469 of the script c:
Current: COMMAND="$CCNAME $CCOPTS $FILENAME.$OBJEXT -o $FILENAME"
Edited: COMMAND="$CCNAME $FILENAME.$OBJEXT $CCOPTS -o $FILENAME"