Re: Configure fix
[email protected] (Jeff Clites) Sun, 25 Apr 2004 23:35:49 -0700
| Newsgroups | perl.ponie.dev |
|---|---|
| Message-ID | <[email protected]> |
On Apr 24, 2004, at 7:13 AM, Nicholas Clark wrote: > and I don't know the best way to fix this. The cause is ICU (again) - > it > needs to be linked with the C++ runtime libraries. The problem comes > because > currently Perl's Makefile is constructed in such a way that the same > command > is used for both compiling and linking, so the "obvious" solution of > link > with the C++ compiler doesn't work. Trying to compile Perl with the C++ > compiler fell over because parrot's internals weren't valid C++ One solution is probably to build ICU as shared libraries, which won't require the static linker to deal with C++. But at the moment I can't get the parrot version of ICU to build shared; it used to, which means we're probably broken something. Alternatively, if perl's makefile supports supplying separate link flags, it may be possible to convince the compiler to do-the-right-thing at link time. (I believe that compilers often don't actually do the linking themselves, but rather know how to invoke a separate linker appropriately. That might allow this to work.) JEff