On Thu, 2 Sep 2004, Clayton O'Neill wrote: > On 2 Sep 2004 15:22:39 -0000, Andy Dougherty via RT > <[EMAIL PROTECTED]> wrote: > > I'm not quite sure if I understand you correctly, since you don't want c++ > > if Configure.pl chooses gcc. Perhaps you meant icu's configure would find > > gcc? Or perhaps you mean 'g++' but happen to be calling it 'c++'? Let me > > try re-stating the problem. > > I mean g++/c++. On my system c++ looks to be a hard link to g++. I > referred to it as c++ since that's what it is called in a similar hack > in the Linux hints file.
Ah, ok. That makes a bit more sense. On *my* system, c++ is a link to Sun's CC compiler. Therefore, I'd suggest the following patch on top of yours. Of course the whole scheme still needs a lot of work, but that's the subject of a separate message. diff -u -r parrot-current/config/init/hints/solaris.pl parrot-andy/config/init/hints/solaris.pl --- parrot-current/config/init/hints/solaris.pl Thu Sep 2 03:00:12 2004 +++ parrot-andy/config/init/hints/solaris.pl Thu Sep 2 17:02:59 2004 @@ -12,7 +12,7 @@ # my $cc = Configure::Data->get('cc'); my $link = Configure::Data->get('link'); if (Configure::Data->get('gccversion')) { - Configure::Data->set('link', 'c++'); + Configure::Data->set('link', 'g++'); } else { # Going to assume Sun's compiler # In which case we need to link with the C++ compiler (CC) rather than the -- Andy Dougherty [EMAIL PROTECTED]