[C++-sig] building boost.python problems

Holger Joukl Holger.Joukl at LBBW.de
Fri Mar 5 12:34:37 CET 2004


My problems to apply Rene´s patches resulted from some mail-related issues
I think.
Some lines were wrapped where they are not in the sources and also a
problem with tabs.
Don´t know why, maybe our unspeakable Lotus Notes. Or lines already wrapped
by the
sending mail client.

Anyway, I applied the changes manually. BOTH solutions worked fine for me.

I repost the diffs here, just for completeness. Rene´s originals are
the authoritative ones (the line numbers are a little different, too), of
course.

P1:
1 hjoukl at dev-b .../v1 $ diff -u -1 gcc-tools.jam.ORIGINAL
gcc-tools.jam.rivera1_patched
--- gcc-tools.jam.ORIGINAL      Fri Mar  5 09:53:35 2004
+++ gcc-tools.jam.rivera1_patched       Fri Mar  5 11:26:02 2004
@@ -162,2 +162,3 @@
         NO_GNU_LN = true ; # sun seems not to use the GNU linker with gcc
+        NO_OBJCOPY = true ;
         }
@@ -352,4 +353,8 @@
 # prevent the merging of debug symbols (which happens to be n^2 slow)
-flags gcc .OBJCOPY : [ GLOB $(GCC_BIN_DIRECTORY) $(PATH) : objcopy ] ;
-flags gcc OBJCOPY_FLAGS <debug-symbols>on : "--set-section-flags
.debug_str=contents,debug" ;
+if ! $(NO_OBJCOPY)
+{
+    flags gcc .OBJCOPY : [ GLOB $(GCC_BIN_DIRECTORY) $(PATH) : objcopy ] ;
+    flags gcc OBJCOPY_FLAGS <debug-symbols>on : "--set-section-flags
.debug_str=contents,debug" ;
+}
+
 if ! $(on-windows)


P2:
1 hjoukl at dev-b .../v1 $ diff -u -1 gcc-tools.jam.ORIGINAL
gcc-tools.jam.rivera2_patched
--- gcc-tools.jam.ORIGINAL      Fri Mar  5 09:53:35 2004
+++ gcc-tools.jam.rivera2_patched       Fri Mar  5 12:16:32 2004
@@ -162,2 +162,3 @@
         NO_GNU_LN = true ; # sun seems not to use the GNU linker with gcc
+        flags gcc OBJCOPY_FLAGS <debug-symbols>on : "--set-section-flags
.debug_str=contents" ;
         }
@@ -167,2 +168,3 @@
         SONAME = -Wl,-soname, ;
+        flags gcc OBJCOPY_FLAGS <debug-symbols>on : "--set-section-flags
.debug_str=contents,debug" ;
         }
@@ -353,3 +355,3 @@
 flags gcc .OBJCOPY : [ GLOB $(GCC_BIN_DIRECTORY) $(PATH) : objcopy ] ;
-flags gcc OBJCOPY_FLAGS <debug-symbols>on : "--set-section-flags
.debug_str=contents,debug" ;
+
 if ! $(on-windows)
1 hjoukl at dev-b .../v1 $

So, a big thank you, Rene!
Now I am gonna try to wrap the TIB/Rv API. Follow-up questions are sure to
come, soon :-)

Holger

Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der angegebene
Empfänger sind oder falls diese E-Mail irrtümlich an Sie adressiert wurde,
verständigen Sie bitte den Absender sofort und löschen Sie die E-Mail
sodann. Das unerlaubte Kopieren sowie die unbefugte Übermittlung sind nicht
gestattet. Die Sicherheit von Übermittlungen per E-Mail kann nicht
garantiert werden. Falls Sie eine Bestätigung wünschen, fordern Sie bitte
den Inhalt der E-Mail als Hardcopy an.

The contents of this  e-mail are confidential. If you are not the named
addressee or if this transmission has been addressed to you in error,
please notify the sender immediately and then delete this e-mail.  Any
unauthorized copying and transmission is forbidden. E-Mail transmission
cannot be guaranteed to be secure. If verification is required, please
request a hard copy version.







More information about the Cplusplus-sig mailing list