我正在学习如何进行套接字编程,我的教程是针对 Unix 的,所以我需要使用 cygwin,但是从提示 bash 运行代码对我来说并不方便,所以如果有人知道,请告诉我如何制作 Embarcadero RAD Studio XE3使用 g++ 运行的 Windows
问问题
118 次
1 回答
0
You cannot. C++builder XE3 generates executables for:
- Windows using the VCL
- Windows using the firemonkey framework
- Windows console applications
- OSX using the firemonkey framework
XE4 will generate executables for iOS as well.
However XE3 will not generate console applications that run on Unix.
Cygwin is a framework that allows unix console applications to run under Windows.
It only accepts Unix applications to run inside it.
If you want to write a unix console app, you'll have to compile your c++ code in a compiler that supports it, like gcc.
于 2014-05-14T12:52:18.517 回答