]> git.tdb.fi Git - builder.git/blobdiff - source/gnucompiler.cpp
Generate export definitions with dlltool
[builder.git] / source / gnucompiler.cpp
index 43e8e300ad08132bb8cf5ce72d4d254fdd463cd8..a3052df1a6d4a4b2041ec5940e75239d4f6ffccf 100644 (file)
@@ -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");