On Wed May 28 10:52:08 2008, [EMAIL PROTECTED] wrote:
> 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:  

We have another patch pending to config/init/hints/darwin.pm from
tetragon
(http://rt.perl.org/rt3/Ticket/Attachment/412932/187608/arch-config-patch_v2.txt).
 Since both patches reference ld_load_flags, I wonder if you could try
out your patch in conjunction with hers so that we can be sure both play
well together.

If they don't conflict, then we should try to get results on (at least)
the following platforms:   ppc/OS X 10.4, ppc/OS X 10.5, intel/OS X 10.5.

I haven't had a chance to try your patch myself, but I am very
interested in this patch because I was experiencing that '-undle'
problem when I first joined the Parrot project in Nov 2006 and was
attempting to build Parrot with a gcc 4.0 which I had attempted to
compile myself.

Thank you very much.
kid51

Reply via email to