[LLVMdev] Compiling errors from OptimizerDriver.cpp when compiling on MinGW
Henrik Bach
henrik_bach_llvm at hotmail.com
Mon Oct 18 13:16:21 PDT 2004
Hi,
I didn't get a clear idea what to do whit this problem:
OptimizerDriver.cpp seems to be unix platform specific. However, I'm
compiling this on MinGW. Shouldn't this be moved to lib/System/<platform>?
Any suggestions?
--------------------------
c:/Projects/src/llvm/tools/bugpoint/OptimizerDriver.cpp:28:22: sys/wait.h:
No such file or directory
c:/Projects/src/llvm/tools/bugpoint/OptimizerDriver.cpp: In member function
`
bool llvm::BugDriver::runPasses(const std::vector<const llvm::PassInfo*,
std::allocator<const llvm::PassInfo*> >&, std::string&, bool, bool)
const':
c:/Projects/src/llvm/tools/bugpoint/OptimizerDriver.cpp:120: error: `fork'
undeclared (first use this function)
c:/Projects/src/llvm/tools/bugpoint/OptimizerDriver.cpp:120: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
c:/Projects/src/llvm/tools/bugpoint/OptimizerDriver.cpp:133: error: `wait'
undeclared (first use this function)
c:/Projects/src/llvm/tools/bugpoint/OptimizerDriver.cpp:138: error:
`WIFEXITED'
undeclared (first use this function)
c:/Projects/src/llvm/tools/bugpoint/OptimizerDriver.cpp:138: error: `
WEXITSTATUS' undeclared (first use this function)
c:/Projects/src/llvm/tools/bugpoint/OptimizerDriver.cpp:150: error: `
WIFSIGNALED' undeclared (first use this function)
c:/Projects/src/llvm/tools/bugpoint/OptimizerDriver.cpp:151: error:
`WTERMSIG'
undeclared (first use this function)
make[2]: ***
[/C/Projects/build/MinGW/llvm/tools/bugpoint/Debug/OptimizerDriver.lo] Error
1
--------------------------
Henrik
_________________________________________________________________
Undgå pop-ups med MSN Toolbar - http://toolbar.msn.dk hent den gratis!
More information about the llvm-dev
mailing list