On Wed, Mar 20, 2013 at 7:09 PM, evgeny <[email protected]> wrote:
> This patch has a check (test/Driver/illumos.c) if clang can find gcc's object
> files and libraries on Illumos (OpenIndiana Distribution build 151a7)
Evgeny,
Clang driver tests should be portable across operating systems. That
is, Illumos tests should not only pass, but actually test the correct
thing when they are being run on FreeBSD or Windows. There are
directories that simulate a sysroot for a particular system. Take a
look at llvm/tools/clang/test/Driver/Inputs directory. You should add
an Illumos directory there that simulates that particular gcc
installation.
There's also a way to test driver's results directly. You can use
-### option to output the commands that the driver will run. Please
take a look at test/Driver/linux-ld.c.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits