[2003-01-21] David Abrahams wrote: >Toon Knapen <[EMAIL PROTECTED]> writes: > >> On Tuesday 21 January 2003 16:30, Rene Rivera wrote: >>> BUt I can't figure out why it doesn't detect the toolset? All the build.sh >>> does is check to see if "xlc" is in the path. >> I can confirm that xlc is in the path. So that's not it. Note though that >> calling 'xlc' without arguments will launch the manpages and thus you need to >> type 'q' to get to your prompt again. >> >>> Or do you mean that it uses >>> some other toolset to build bjam? >> Nope, no gcc is installed so it uses xlc or xlC. > >In general, invoking a compiler without arguments is likely to produce >strange results. Many just give an error. On Sun, for example, if >you want to know the version you have to give a filename, even if it >doesn't exist. Maybe we should be doing this detection slightly >differently.
The script doesn't invoke the compiler to check if it's in the path. It just asks the shell if it's in the PATH directories. Specifically it test the result of "hash xlc", in this case. So it could be that the "hash" command doesn't work in AIX as I expected. -- grafik - Don't Assume Anything -- [EMAIL PROTECTED] - [EMAIL PROTECTED] -- 102708583@icq _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost