Henrik Bach
2004-Oct-16 13:06 UTC
[LLVMdev] Compiling errors from OptimizerDriver.cpp when compiling on MinGW
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/
Maybe Matching Threads
- [LLVMdev] Compiling errors from OptimizerDriver.cpp when compiling on MinGW
- [LLVMdev] Port succesful
- [LLVMdev] clarify comment in BugDriver.cpp
- [LLVMdev] Compiling errors from UnixLocalInferiorProcess.cpp when compiling on MinGW
- [LLVMdev] Compiling errors from UnixLocalInferiorProcess.cpp when compiling on MinGW