GCC for Windows environment

xiaoxiao2021-03-06  45

GCC for Windows environment

If you install MINGW, if you are installed in C: / MingW

Setting the environment variables as follows:

PATH: C: / mingw / bin; (if you have another C compiler installed, be sure to put the compiler path you want to use in the forefront)

Library_path: C: / MingW / LIB

C_INCLUDE_PATH: C: / MINGW / INCLUDE

CPLUS_INCLUDE_PATH: C: / MingW / Include / C / 3.2.3; C: / Mingw / Include / C / 3.2.3 / MingW32;

C: / mingw / include / c / 3.2.3 / backward; c: / mingw / include

Basically, you can choose an IDE because I use Java at the same time, so I chose double material IDE Eclipse3.01, and Eclipse wants to identify C / C needs to install an extension CDT

I will introduce how to install C CDT in the next one.

转载请注明原文地址:https://www.9cbs.com/read-73544.html

New Post(0)