[libc++] Patch for AIX port

Joerg Sonnenberger joerg at britannica.bec.de
Thu Aug 15 11:22:14 PDT 2013


On Thu, Aug 15, 2013 at 02:18:11PM -0400, Xing Xue wrote:
> 
> 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.
> 
> +    *-ibm-*)
> +        if [ $hostOS == "linux" ]
> +        then
> +           rm -f libc++.so
> +           ln -s libc++.so.1.0 libc++.so
> +        else #AIX
> +           rm -f libc++.a
> +           ar r libc++.a shr.o
> +        fi
> +        ;;
> 
> Thanks,
> Xing

The code path seems to be specific to building a COFF library and not so
much about the compiler.

Joerg



More information about the cfe-commits mailing list