At 10:56 AM 1/9/2002 -0500, Andy Dougherty wrote:
>On Wed, 9 Jan 2002, H . Merijn Brand wrote:
>
> > HP-UX is very unwilling at this stage, including two show-stoppers
> >
> > 1. The LDFLAGS is extended with flags from config that are meant to be 
> passed
> >    to cc, not to ld
>
>Odd.  On most Unix systems, $Config{ld} = 'cc'.  Calling ld directly is
>usually tricky and usually results in missing things (such as crt0).
>However, sometimes, on some systems, one needs to call ld directly (such
>as building a shared library).
>
>For perl5, the main makefile calls (essentially)
>
>         $(CC) -o perl
>
>while the parrot Makefile calls
>
>         $(LD) -o test_main
>
>I tend to think parrot's wrong here, but there might have been a good
>reason for doing that way that I am unaware of.

It's a platform-independence issue. Non-Unix platforms need to call the 
linker, unix ones don't. Which means we've either got the makefile wrong, 
or have got the switches set in incorrect ways. Or both. Probably both--let 
me think about this some.


                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to