简体   繁体   中英

How to make c++builder run with g++?

我正在学习如何进行套接字编程,我的教程是针对Unix的,所以我需要使用cygwin,但是从提示bash上为我运行代码并不方便,所以如果有人知道,请告诉我如何制作Embarcadero RAD Studio XE3对于Windows,使用g ++运行

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM