pmaconi
May 7th, 2008, 05:28 AM
I am trying to configure the gedit external tools plugin to use g++ to compile a program and then execute it. Right now, I have it so that it builds correctly, but whenever it tries to execute it gets a segmentation error. I'm not sure why this problem occurs or what I can do to fix it. Any ideas?
Build Script:
g++ "$GEDIT_CURRENT_DOCUMENT_PATH" -o "${GEDIT_CURRENT_DOCUMENT_PATH%.*}"
Run Script:
"${GEDIT_CURRENT_DOCUMENT_PATH%.*}"
Build Script:
g++ "$GEDIT_CURRENT_DOCUMENT_PATH" -o "${GEDIT_CURRENT_DOCUMENT_PATH%.*}"
Run Script:
"${GEDIT_CURRENT_DOCUMENT_PATH%.*}"