Revision: 1808
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1808&view=rev
Author: roman_yakovenko
Date: 2010-01-18 19:54:55 +0000 (Mon, 18 Jan 2010)
Log Message:
-----------
update GCCXML to 1.129
Added Paths:
-----------
gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/
gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/8.0/
gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/README
gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/find_flags
gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/find_flags_common
Added: gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/README
===================================================================
--- gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/README (rev 0)
+++ gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/README 2010-01-18 19:54:55 UTC (rev 1808)
@@ -0,0 +1,8 @@
+IBM xlC support contributed by Hady Zalek
+
+This is a small README file regarding gccxml support for AIX and IBM xlC.
+
+The IBM xlC headers are not suitable for GCC and need to be adapted. The modified files may not be redistributed freely. This forces you to perform the following operations:
+ ./<xlC-version>/adapt_headers.sh
+
+This will produce corrected header files in the corresponding directory.
Added: gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/find_flags
===================================================================
--- gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/find_flags (rev 0)
+++ gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/find_flags 2010-01-18 19:54:55 UTC (rev 1808)
@@ -0,0 +1,51 @@
+#!/bin/sh
+#=============================================================================
+#
+# Program: GCC-XML
+# Module: $RCSfile: find_flags,v $
+# Language: C++
+# Date: $Date: 2009-06-09 18:18:45 $
+# Version: $Revision: 1.1 $
+#
+# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
+# See Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even
+# the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the above copyright notices for more information.
+#
+#=============================================================================
+
+# Find the compiler executable name.
+if test "x$1" = "x" ; then
+ if test "x${CXX}" = "x" ; then
+ CXX=xlC
+ fi
+else
+ CXX="$1"
+ shift
+ CXXFLAGS="$@"
+fi
+
+# Find the compiler version
+CXX_VERSION=`${CXX} -qversion 2>&1 | perl -ne 'print m|\WV(\d+\.\d+)|o'`
+[ -z "${CXX_VERSION}" ] && echo "Could not find compiler version" && exit 1
+
+# Compute the script dir
+SCRIPT_DIR=`dirname $0`
+if test "x$SCRIPT_DIR" = "x" ; then SCRIPT_DIR="." ; fi
+SCRIPT_DIR=`cd "$SCRIPT_DIR" ; pwd`
+
+# Compute the version-specific support dir
+CXX_SUPPORT_DIR="$SCRIPT_DIR/$CXX_VERSION"
+
+# Use the version-specific find_flags if available
+if [ -f "$CXX_SUPPORT_DIR/find_flags" ]
+then
+ . "$CXX_SUPPORT_DIR/find_flags"
+else
+ . "$SCRIPT_DIR/find_flags_common"
+fi
+
+# Print out the options
+echo $OPTIONS
Property changes on: gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/find_flags
___________________________________________________________________
Added: svn:executable
+ *
Added: gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/find_flags_common
===================================================================
--- gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/find_flags_common (rev 0)
+++ gccxml_bin/v09/linux2/share/gccxml-0.9/IBM/find_flags_common 2010-01-18 19:54:55 UTC (rev 1808)
@@ -0,0 +1,48 @@
+#!/bin/sh
+#=============================================================================
+#
+# Program: GCC-XML
+# Module: $RCSfile: find_flags_common,v $
+# Language: C++
+# Date: $Date: 2009-06-09 18:18:45 $
+# Version: $Revision: 1.1 $
+#
+# Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
+# See Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even
+# the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the above copyright notices for more information.
+#
+#=============================================================================
+
+# Find the include path directory.
+CXX_BIN_DIR=$(dirname $(which "${CXX}"))
+CXX_INC_DIR=$(dirname $CXX_BIN_DIR)/include
+
+if [ ! -d "$CXX_INC_DIR" ]
+then
+ echo "Could not find the xlC include directory in $CXX_INC_DIR"
+ exit 1
+fi
+
+GCCXML_PID="$$"
+cat > "/tmp/gccxml_identify_compiler_args$GCCXML_PID.cc" <<!
+#include <>
+!
+
+# Find the macro definition options.
+MACROS=`${CXX} ${CXXFLAGS} /tmp/gccxml_identify_compiler_args$GCCXML_PID.cc -E -V 2>&1 | perl -ne 'print m|(\W-D[^\s]+\s+)|og'`
+MACROS="${MACROS} -D_WCHAR_T -D__MATH__ -D__TOS_AIX__ -D__BUILD_RT__"
+
+# Find the include path options.
+INCLUDES="-I${CXX_INC_DIR} -I/usr/include"
+
+# Use hacked headers
+INCLUDES="-iwrapper\"$CXX_SUPPORT_DIR\" $INCLUDES"
+
+# Cleanup
+rm -rf "/tmp/gccxml_identify_compiler_args$GCCXML_PID.cc"
+
+# Format the options.
+OPTIONS="$MACROS $INCLUDES $SPECIAL"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|