From: <spa...@us...> - 2009-06-16 04:17:08
|
Revision: 8556 http://x10.svn.sourceforge.net/x10/?rev=8556&view=rev Author: sparksparkspark Date: 2009-06-16 04:17:06 +0000 (Tue, 16 Jun 2009) Log Message: ----------- Turn on line numbers in exception traces on linux. If you need -lbfd, on debian-based distros it's found in the binutils-dev package. Modified Paths: -------------- trunk/x10.cppbackend.17/src/polyglot/ext/x10cpp/visit/X10CPPTranslator.java trunk/x10.runtime.17/src-cpp/Makefile Modified: trunk/x10.cppbackend.17/src/polyglot/ext/x10cpp/visit/X10CPPTranslator.java =================================================================== --- trunk/x10.cppbackend.17/src/polyglot/ext/x10cpp/visit/X10CPPTranslator.java 2009-06-16 03:40:25 UTC (rev 8555) +++ trunk/x10.cppbackend.17/src/polyglot/ext/x10cpp/visit/X10CPPTranslator.java 2009-06-16 04:17:06 UTC (rev 8556) @@ -666,6 +666,7 @@ /** These go after the files */ public static final String[] postArgsLinux = new String[] { "-Wl,-export-dynamic", + "-lbfd", "-lrt", }; Modified: trunk/x10.runtime.17/src-cpp/Makefile =================================================================== --- trunk/x10.runtime.17/src-cpp/Makefile 2009-06-16 03:40:25 UTC (rev 8555) +++ trunk/x10.runtime.17/src-cpp/Makefile 2009-06-16 04:17:06 UTC (rev 8556) @@ -39,7 +39,7 @@ ALL_CUDA_OBJECTS += x10aux/cuda/cuda_utils.o endif -CXXFLAGS += $(INCLUDE_DIRS) -Igen +CXXFLAGS += $(INCLUDE_DIRS) -Igen -DUSE_BFD ifeq ($(shell uname -s),AIX) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |