# New Ticket Created by  "Paco Linux" 
# Please include the string:  [perl #54986]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=54986 >


Hi

Seems that $ c++ -v : Target: powerpc-apple-darwin7 gcc version 4.0.0 doesnt
like -bundle as the 1rst argument :

c++ -bundle -undefined dynamic_lookup  -L/usr/local/lib
-L/Users/paco/parrot/parrot/blib/lib -L/sw/lib  \
    -o runtime/parrot/dynext/libnci_test.bundle src/nci_test.o -lm -lgmp
-lreadline -lpcre -framework OpenGL -framework GLUT -lcrypto -lintl
c++: couldn't run 'undle-gcc-4.0.0': No such file or directory

Changing the order in config/init/hints/darwin.pm solves the problem:


-        ld_load_flags       => '-bundle -undefined dynamic_lookup',
+        ld_load_flags       => '-undefined dynamic_lookup -bundle',



Paco
--- config/init/hints/darwin.pm	Tue Mar 11 16:15:17 2008
+++ config/init/hints/darwin.pm.new	Wed May 28 19:04:12 2008
@@ -37,7 +37,7 @@
         linkflags           => '-undefined dynamic_lookup',
         ld                  => 'c++',
         ld_share_flags      => '-dynamiclib -undefined dynamic_lookup',
-        ld_load_flags       => '-bundle -undefined dynamic_lookup',
+        ld_load_flags       => '-undefined dynamic_lookup -bundle',
         memalign            => 'some_memalign',
         has_dynamic_linking => 1,
 

Reply via email to