<html><body>
<p><font size="2" face="sans-serif">We may use libc++ on other platforms in addition to AIX. So, instead of having one triple for each platform that IBM C++ compiler supports, IBM specific stuff is grouped under triple ibm. Notice "linux" is under -ibm-. Changing -ibm- to -aix- does not make sense.</font><br>
<br>
<tt><font size="2">+ *-ibm-*)<br>
+ if [ $hostOS == "linux" ]<br>
+ then<br>
+ rm -f libc++.so<br>
+ ln -s libc++.so.1.0 libc++.so<br>
+ else #AIX<br>
+ rm -f libc++.a<br>
+ ar r libc++.a shr.o<br>
+ fi<br>
+ ;;</font></tt><br>
<font size="2" face="sans-serif"><br>
Thanks,<br>
Xing<br>
<br>
</font><tt><font size="2"><br>
On Thu, Aug 15, 2013 at 10:51:08AM -0400, Howard Hinnant wrote:<br>
> On Aug 15, 2013, at 7:20 AM, Joerg Sonnenberger <joerg@britannica.bec.de> wrote:<br>
> <br>
> > On Tue, Aug 13, 2013 at 08:59:13PM -0400, Howard Hinnant wrote:<br>
> >> diff -ruN libcxx.orig/lib/buildit libcxx/lib/buildit<br>
> >> --- libcxx.orig/lib/buildit 2013-08-13 15:51:00.510247093 -0400<br>
> >> +++ libcxx/lib/buildit 2013-08-12 17:45:00.180244845 -0400<br>
> >> @@ -136,13 +153,23 @@<br>
> >> ;;<br>
> >> *-*-mingw*)<br>
> >> ;;<br>
> >> + *-ibm-*)<br>
> >> + if [ $hostOS == "linux" ]<br>
> >> + then<br>
> >> + rm -f libc++.so<br>
> >> + ln -s libc++.so.1.0 libc++.so<br>
> >> + else #AIX<br>
> >> + rm -f libc++.a<br>
> >> + ar r libc++.a shr.o<br>
> >> + fi<br>
> >> + ;;<br>
> >> *)<br>
> >> rm -f libc++.so<br>
> >> - ln -s libc++.so.1 libc++.so<br>
> >> + ln -s libc++.so.1.0 libc++.so<br>
> >> ;;<br>
> >> esac<br>
> > <br>
> > Why is this matching the vendor at all?<br>
> <br>
> I can speak for -apple-:<br>
> <br>
> Because that's the way I need it built and it isn't what others need.<br>
<br>
The Apple branches all match the OS part of the triple, not the vendor?<br>
What I mean is: shouldn't this be *-*-aix or whatever.<br>
<br>
Joerg</font></tt><br>
</body></html>