The latest releases can be found at http://www.tdb.fi/builder.shtml
-Bug reports, feature reports etc. may be sent to tdb@tdb.fi
+Bug reports, feature requests etc. may be sent to tdb@tdb.fi
Read-only SVN access is available at http://svn.tdb.fi/builder
*/
Package *Builder::get_package(const string &name)
{
- PackageMap::iterator i=packages.find(format("%s/%s", name, current_arch));
+ PackageMap::iterator i=packages.find(format("%s/%s", name, current_arch->get_name()));
if(i==packages.end())
i=packages.find(name);
if(i!=packages.end())
if(cxx_ver.empty())
{
StringList argv;
- argv.push_back(get_current_arch().get_tool("CXX"));
+ argv.push_back(current_arch->get_tool("CXX"));
argv.push_back("--version");
cxx_ver=Regex("[0-9]\\.[0-9.]+").match(run_command(argv))[0].str;
while(!cxx_ver.empty() && !FS::is_dir(FS::Path("/usr/include/c++")/cxx_ver))
syspath.push_back("/usr/lib");
}
else
- syspath.push_back("/usr/"+get_current_arch().get_prefix()+"/lib");
+ syspath.push_back("/usr/"+current_arch->get_prefix()+"/lib");
if(verbose>=5)
cout<<"Looking for library "<<lib<<" with path "<<join(path.begin(), path.end())<<'\n';