[LLVMdev] Compiling errors from OptimizerDriver.cpp when compiling on MinGW
Henrik Bach
henrik_bach_llvm at hotmail.com
Sat Oct 16 06:06:40 PDT 2004
Hi,
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
_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/
More information about the llvm-dev
mailing list