X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgnucompiler.cpp;h=a3052df1a6d4a4b2041ec5940e75239d4f6ffccf;hb=a957405689fafa1afc233182a3756e36ea34281c;hp=43e8e300ad08132bb8cf5ce72d4d254fdd463cd8;hpb=33d74db3e99f35a8984d4ad9b703f709d07d44c5;p=builder.git diff --git a/source/gnucompiler.cpp b/source/gnucompiler.cpp index 43e8e30..a3052df 100644 --- a/source/gnucompiler.cpp +++ b/source/gnucompiler.cpp @@ -20,6 +20,8 @@ GnuCompiler::GnuCompiler(Builder &b, const Architecture &a, const string &t, con if(architecture->is_cross()) command = format("%s-%s", architecture->get_cross_prefix(), command); executable = builder.get_vfs().find_binary(command); + if(!executable) + builder.problem(string(), format("Can't find executable %s for tool %s", command, tag)); if(architecture->is_native()) system_path.push_back("/usr/include");