zoukankan      html  css  js  c++  java
  • MinGW中的头文件路径级环境变量设置

    整理自

    MinGW中的头文件路径

     


    C头文件目录%MINGW_PATH%/include下有头文件,里面有strcpy等c函数的声明。

    C++头文件目录%MINGW_PATH%/lib/gcc/mingw32/4.4.0/include/c++下有头文件,里面有std::string类的声明。


    //家目录

    MINGW_PATH=D:/MinGW


    //C头文件目录

    C_INCLUDE_PATH=%MINGW_PATH%/include;%MINGW_PATH%/lib/gcc/mingw32/3.4.5/include


    //C++头文件目录

    CPLUS_INCLUDE_PATH=%MINGW_PATH%/include/c++/3.4.5;%MINGW_PATH%/include/c++/3.4.5/mingw32;%MINGW_PATH%/include/c++/3.4.5/backward


    //在QT Creator带的MinGW中C++头文件目录均在lib文件夹下

    CPLUS_INCLUDE_PATH=%MINGW_PATH%/lib/gcc/mingw32/4.4.0/include/c++


    //库目录

    LIBRARY_PATH=%MINGW_PATH%/lib;%MINGW_PATH%/lib/gcc/mingw32/3.4.5 


    //可执行程序目录

    PATH=%MINGW_PATH%/bin;%MINGW_PATH%/libexec/gcc/mingw32/3.4.5

  • 相关阅读:
    php
    php
    linux 网络管理基础 OSI ISO IOS的区别
    Linux 添加交换分区的步骤
    linux 命令
    linux命令
    linux 命令
    linux 命令
    Linux命令
    linux命令- 挂载命令 mount
  • 原文地址:https://www.cnblogs.com/noble/p/4144236.html
Copyright © 2011-2022 走看看