///
// fred.cpp
#include
int main()
{
::std::cout << "Hello World of Fred" << ::std::endl;
return 0;
}
///
// tcxx.flx
include "src/tools/toolchain_clang_config";
include "src/tools/toolchain_interface";
var toolchain-maker =
Dynlink::load-pl
I have just added (completely untested so don't use yet!):
// src/tools/toolchain_interface.flx
interface toolchain_t {
whatami : 1 -> string;
host_os : 1 -> string;
target_os : 1 -> string;
cxx_compiler_vendor : 1 -> string;
cxx_static_object_compiler : (dst:string,src: string) -> int