Pathname = Files[i];
} else {
if (SearchPath == NULL) {
- std::cerr << "Cannot find linker input file '" << Files[i] << "'";
+ std::cerr << progname << ": Cannot find linker input file '"
+ << Files[i] << "'\n";
return true;
}
Pathname = std::string(SearchPath)+"/"+Files[i];
if (!FileExists(Pathname)) {
- std::cerr << "Cannot find linker input file '" << Files[i] << "'";
+ std::cerr << progname << ": Cannot find linker input file '"
+ << Files[i] << "'\n";
return true;
}
}
if (LinkInFile(HeadModule, Pathname, ErrorMessage, Verbose)) {
PrintAndReturn(progname, ErrorMessage,
- ": error linking in '" + Files[i] + "'");
+ ": Error linking in '" + Files[i] + "'");
return true;
}
}
// we're doing a native link and give an error if we're doing a bytecode
// link.
if (!Native) {
- PrintAndReturn(progname, "Cannot find " + Libraries[i]);
+ PrintAndReturn(progname, "Cannot find " + Libraries[i] + "\n");
return true;
}
}
Pathname = Files[i];
} else {
if (SearchPath == NULL) {
- std::cerr << "Cannot find linker input file '" << Files[i] << "'";
+ std::cerr << progname << ": Cannot find linker input file '"
+ << Files[i] << "'\n";
return true;
}
Pathname = std::string(SearchPath)+"/"+Files[i];
if (!FileExists(Pathname)) {
- std::cerr << "Cannot find linker input file '" << Files[i] << "'";
+ std::cerr << progname << ": Cannot find linker input file '"
+ << Files[i] << "'\n";
return true;
}
}
if (LinkInFile(HeadModule, Pathname, ErrorMessage, Verbose)) {
PrintAndReturn(progname, ErrorMessage,
- ": error linking in '" + Files[i] + "'");
+ ": Error linking in '" + Files[i] + "'");
return true;
}
}
// we're doing a native link and give an error if we're doing a bytecode
// link.
if (!Native) {
- PrintAndReturn(progname, "Cannot find " + Libraries[i]);
+ PrintAndReturn(progname, "Cannot find " + Libraries[i] + "\n");
return true;
}
}