windows下的命令行工具babun


Babun

可以直接在winodows下面编译linux代码

但是本人只成功编译过个个go的linux 和 C的linux,C++的编译不出来东西

安装很简单,下下来,直接双击批处理 install

另外建议用Visual Studio Code 使用方法在博客中也有说明

安装编译环境
pact install gcc
pact install gcc-g++

编译命令
g++ test.cpp -o test
gcc test.c -o test
gcc test.c -o test.out
gcc test.cpp -lstdc++ -o test

参考资料

windows下的命令行工具babun
http://www.luyixian.cn/news_show_6375.aspx

请教一个关于编译器的问题 
https://bbs.csdn.net/topics/390907140
g++ main.cpp -o .main
g++ main.cpp -o main

windows 下 gcc/g++ 的安装(有图,一步一步)
https://www.cnblogs.com/findumars/p/8289443.html

gcc/g++编译器的安装与说明
https://www.cnblogs.com/bj3251101/p/10745835.html

GCC编译C语言程序完整演示
http://c.biancheng.net/view/660.html

gcc: error: CreateProcess: No such file or directory解决方案
https://blog.csdn.net/a19990412/article/details/78360518

Babun
https://blog.rayuu.com/babun_gcc.html

linux中安装gcc和g++
https://www.cnblogs.com/myw31415926/archive/2013/03/13/myw31415926.html

babun替换cygwin内核(最新的2.6.0或64位cygwin内核)
https://blog.csdn.net/mengyoufengyu/article/details/53142403

原文地址:https://www.cnblogs.com/byfei/p/14104129.html