动态 版块 发帖 消息 我的
小绿叶技术博客
小绿叶技术博客
小绿叶技术Lv154   
ubuntu20/21/22 安装 vscode 配置 gcc g++ cmake 开发环境     



#!/bin/bash
# ubuntu20/21/22 安装 vscode 配置 gcc g++ cmake 开发环境

UrlTest()
{
    URLList=( 192.168.122.80  10.111.111.80 82.157.148.144 )
    number="kong";
    for(( i=0;i<${#URLList[*]};i++ ))
    do
        pinLG=`ping -c2 -i0.3 -w2 ${URLList[$i]} | grep from`
        if [ ${#pinLG} -gt 6 ]
        then					
            number=$i
            status="加速节点通信正常,当前内网连接: ${URLList[$i]} 序号: $number "	
            echo "节点加速 [ok]"		
            break		
        else
            status="并非处于加速节点: ${URLList[$i]}  将从外网进行下载 work.eisc.cn "		
            echo "节点加速 [fall]"					
        fi
    done

    if [ $number = "kong" ]
    then 
        url="work.eisc.cn"
    else
        url="${URLList[$number]}:62011"
        read -p "是否从加速节点下载: $url  y/n? : "  selectURL
        if [ $selectURL = "y" ]
        then 
            echo "[ok] download URL = $url"
        else
            url="work.eisc.cn"
            echo "你取消了加速节点,将从外网下载 : $url"
        fi
    fi

    vscodeUrl="http://$url/ruanjian/ubuntu/deb/tools/"
    dir="/datadisk/eisc/download/vscode"

    echo "$status 下载地址: $downUrl" 
    
}
UrlTest




debList=(
vscode.deb
)

sudo mkdir -p $dir ; sudo chmod 777 $dir ; cd $dir 

download()
{
    for i in ${debList[*]}
    do
        debname=`echo $i | awk -F"_" '{print $1}'`
        debnameInstalled=`sudo dpkg -l | grep -w "ii  $debname"` 
        debnameInstalledLength=${#debnameInstalled}

        if [ $debnameInstalledLength -gt 1 ]
        then 
            echo "[ok] 该包 $i 已经安装,安装信息: $debnameInstalled"
        else
            echo "[runing] 正在检查是否下载安装包: $i"

            if [ ! -e $i ]
            then 
                echo "[runing] 当前没有下载,正在下载包:$i"

                case "$i" in 
                    "vscode.deb")    wget $vscodeUrl/$i -O $i     ;;
                    *) echo "该包没有定义下载地址,包: $i"
                esac
            else
                echo  "[ok] 已经下载: $i "
            fi

            echo "正在安装: $i"
            sudo apt install -y --fix-broken
            sudo apt install -y gcc g++ cmake make
            # 安装依赖包
            sudo dpkg -i $i
        fi
    done

}

download


echo "
vscode 配置为中文:
        1. 点击 vscode 左侧的扩展图标,打开侧边栏“EXTENSIONS”面板(魔方图标)
        2. 点击搜索并安装 chinese 简体中文 
        3. 安装完成,点击右下角 Restart 重启 vscode

vscode 支持 c/c++ 编译环境: 
        1.vscode 魔方图标搜索安装: C/C++ Extension Pack  (Popular extensions for C++ development in Visual Studio Code.)
        2.vscode 魔方图标搜索安装: Cmake Tools  
        3.重启电脑
如果 vscode 左下角还是没有出现 cmake 的功能,使用: Shift+Ctrl+p 弹出搜索 -> 输入大于符号和cmake如 > cmake -> 点击 cmake 配置,自动弹出提示进行 选择  yes

vscode 全屏模式:
        1. 键盘 Alt 按键 显示/隐藏 顶部状态栏
        2. 顶部状态栏 -> 查看 -> 外观 -> 全屏

        3. 快捷按键: F11 
		
vscode 开启变量【快速预览】
        1. 设置图标 -> 设置 -> 搜索 peek definition -> 勾选:Editor: Definition Link Opens In Peek -> 返回代码界面 -> Ctrl + 点击代码中的变量 
        2. 【大纲】 vscode 左下角大纲 -> 拉伸 ->  鼠标放置大纲一栏出现 三个点 -> 点击三个点 勾选 跟随鼠标

vscode git 查看历史版本:  扩展里面搜索安装:  git graph

vscode tab 缩进转空格 : 全选代码 点击右下角空格 弹出选择框 【将缩进转换为空格】

vscode tab 设置为按tab时插入空格:  导航栏 文件->  首选项 -> 设置 ->  搜索后勾选:   Editor:Insert Spaces  



"



# 一键安装:
# wget eisc.cn/file/ubuntu/shell/server/vscode.sh; sudo chmod +x vscode.sh ; ./vscode.sh 





 0  已被阅读了776次  楼主 2023-04-03 20:30:08
回复列表
admin
2F
小绿叶技术Lv154   







########################## 安装日志 ##########################
  /usr/bin/install -c -m 644 ${file} /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/./pstl; done
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/include”
make[3]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/include”
Making install in libsupc++
make[3]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++”
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++”
 /usr/bin/mkdir -p '/datadisk/eisc/server/cmake/gcc1310/lib/../lib64'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libsupc++.la '/datadisk/eisc/server/cmake/gcc1310/lib/../lib64'
libtool: install: /usr/bin/install -c .libs/libsupc++.lai /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libsupc++.la
libtool: install: /usr/bin/install -c .libs/libsupc++.a /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libsupc++.a
libtool: install: chmod 644 /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libsupc++.a
libtool: install: ranlib /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libsupc++.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /datadisk/eisc/server/cmake/gcc1310/lib/../lib64
----------------------------------------------------------------------
Libraries have been installed in:
   /datadisk/eisc/server/cmake/gcc1310/lib/../lib64

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash /datadisk/eisc/server/cmake/gcc1310/libstdc++-v3/../mkinstalldirs /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/bits
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/atomic_lockfree_defines.h /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/bits/atomic_lockfree_defines.h
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/cxxabi_forced.h /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/bits/cxxabi_forced.h
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/exception_defines.h /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/bits/exception_defines.h
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/exception_ptr.h /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/bits/exception_ptr.h
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/hash_bytes.h /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/bits/hash_bytes.h
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/nested_exception.h /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/bits/nested_exception.h
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/exception.h /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/bits/exception.h
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/cxxabi_init_exception.h /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/bits/cxxabi_init_exception.h
/bin/bash /datadisk/eisc/server/cmake/gcc1310/libstdc++-v3/../mkinstalldirs /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/compare /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/compare
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/cxxabi.h /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/cxxabi.h
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/exception /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/exception
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/initializer_list /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/initializer_list
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/new /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/new
 /usr/bin/install -c -m 644 ../../.././libstdc++-v3/libsupc++/typeinfo /datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0/typeinfo
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++”
make[3]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++”
Making install in src
make[3]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src”
Making install in c++98
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++98”
make[5]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++98”
make[5]: 对“install-exec-am”无需做任何事。
make[5]: 对“install-data-am”无需做任何事。
make[5]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++98”
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++98”
Making install in c++11
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++11”
make[5]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++11”
make[5]: 对“install-exec-am”无需做任何事。
make[5]: 对“install-data-am”无需做任何事。
make[5]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++11”
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++11”
Making install in c++17
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++17”
make[5]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++17”
make[5]: 对“install-exec-am”无需做任何事。
make[5]: 对“install-data-am”无需做任何事。
make[5]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++17”
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++17”
Making install in c++20
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++20”
make[5]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++20”
make[5]: 对“install-exec-am”无需做任何事。
make[5]: 对“install-data-am”无需做任何事。
make[5]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++20”
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/c++20”
Making install in filesystem
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/filesystem”
make[5]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/filesystem”
 /usr/bin/mkdir -p '/datadisk/eisc/server/cmake/gcc1310/lib/../lib64'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libstdc++fs.la '/datadisk/eisc/server/cmake/gcc1310/lib/../lib64'
libtool: install: /usr/bin/install -c .libs/libstdc++fs.lai /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++fs.la
libtool: install: /usr/bin/install -c .libs/libstdc++fs.a /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++fs.a
libtool: install: chmod 644 /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++fs.a
libtool: install: ranlib /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++fs.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /datadisk/eisc/server/cmake/gcc1310/lib/../lib64
----------------------------------------------------------------------
Libraries have been installed in:
   /datadisk/eisc/server/cmake/gcc1310/lib/../lib64

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[5]: 对“install-data-am”无需做任何事。
make[5]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/filesystem”
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/filesystem”
Making install in experimental
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/experimental”
make[5]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/experimental”
 /usr/bin/mkdir -p '/datadisk/eisc/server/cmake/gcc1310/lib/../lib64'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libstdc++exp.la '/datadisk/eisc/server/cmake/gcc1310/lib/../lib64'
libtool: install: /usr/bin/install -c .libs/libstdc++exp.lai /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++exp.la
libtool: install: /usr/bin/install -c .libs/libstdc++exp.a /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++exp.a
libtool: install: chmod 644 /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++exp.a
libtool: install: ranlib /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++exp.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /datadisk/eisc/server/cmake/gcc1310/lib/../lib64
----------------------------------------------------------------------
Libraries have been installed in:
   /datadisk/eisc/server/cmake/gcc1310/lib/../lib64

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[5]: 对“install-data-am”无需做任何事。
make[5]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/experimental”
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src/experimental”
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src”
make[5]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src”
 /usr/bin/mkdir -p '/datadisk/eisc/server/cmake/gcc1310/lib/../lib64'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libstdc++.la '/datadisk/eisc/server/cmake/gcc1310/lib/../lib64'
libtool: install: /usr/bin/install -c .libs/libstdc++.so.6.0.31 /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++.so.6.0.31
libtool: install: (cd /datadisk/eisc/server/cmake/gcc1310/lib/../lib64 && { ln -s -f libstdc++.so.6.0.31 libstdc++.so.6 || { rm -f libstdc++.so.6 && ln -s libstdc++.so.6.0.31 libstdc++.so.6; }; })
libtool: install: (cd /datadisk/eisc/server/cmake/gcc1310/lib/../lib64 && { ln -s -f libstdc++.so.6.0.31 libstdc++.so || { rm -f libstdc++.so && ln -s libstdc++.so.6.0.31 libstdc++.so; }; })
libtool: install: /usr/bin/install -c .libs/libstdc++.lai /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++.la
libtool: install: /usr/bin/install -c .libs/libstdc++.a /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++.a
libtool: install: chmod 644 /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++.a
libtool: install: ranlib /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /datadisk/eisc/server/cmake/gcc1310/lib/../lib64
----------------------------------------------------------------------
Libraries have been installed in:
   /datadisk/eisc/server/cmake/gcc1310/lib/../lib64

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[5]: 对“install-data-am”无需做任何事。
make[5]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src”
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src”
make[3]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/src”
Making install in doc
make[3]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/doc”
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/doc”
make[4]: 对“install-exec-am”无需做任何事。
make[4]: 对“install-data-am”无需做任何事。
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/doc”
make[3]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/doc”
Making install in po
make[3]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/po”
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/po”
make[4]: 对“install-exec-am”无需做任何事。
make[4]: 对“install-data-am”无需做任何事。
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/po”
make[3]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/po”
Making install in testsuite
make[3]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/testsuite”
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/testsuite”
make[4]: 对“install-exec-am”无需做任何事。
make[4]: 对“install-data-am”无需做任何事。
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/testsuite”
make[3]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/testsuite”
Making install in python
make[3]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/python”
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/python”
make[4]: 对“install-exec-am”无需做任何事。
 /usr/bin/install -c -m 644 gdb.py /datadisk/eisc/server/cmake/gcc1310/lib/../lib64/libstdc++.so.6.0.31-gdb.py
 /usr/bin/mkdir -p '/datadisk/eisc/server/cmake/gcc1310/share/gcc-13.1.0/python'
 /usr/bin/mkdir -p '/datadisk/eisc/server/cmake/gcc1310/share/gcc-13.1.0/python/libstdcxx/v6'
 /usr/bin/install -c -m 644  ../../.././libstdc++-v3/python/libstdcxx/v6/printers.py ../../.././libstdc++-v3/python/libstdcxx/v6/xmethods.py ../../.././libstdc++-v3/python/libstdcxx/v6/__init__.py '/datadisk/eisc/server/cmake/gcc1310/share/gcc-13.1.0/python/libstdcxx/v6'
 /usr/bin/mkdir -p '/datadisk/eisc/server/cmake/gcc1310/share/gcc-13.1.0/python/libstdcxx'
 /usr/bin/install -c -m 644  ../../.././libstdc++-v3/python/libstdcxx/__init__.py '/datadisk/eisc/server/cmake/gcc1310/share/gcc-13.1.0/python/libstdcxx'
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/python”
make[3]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3/python”
make[3]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3”
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/datadisk/eisc/server/cmake/gcc1310/host-x86_64-pc-linux-gnu/gcc/xgcc -B/datadisk/eisc/server/cmake/gcc1310/host-x86_64-pc-linux-gnu/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=/datadisk/eisc/server/cmake/gcc1310/missing makeinfo --split-size=5000000 --split-size=5000000  " "SHELL=/bin/bash" "RUNTESTFLAGS=" "exec_prefix=/datadisk/eisc/server/cmake/gcc1310" "infodir=/datadisk/eisc/server/cmake/gcc1310/share/info" "libdir=/datadisk/eisc/server/cmake/gcc1310/lib" "includedir=/datadisk/eisc/server/cmake/gcc1310/include" "prefix=/datadisk/eisc/server/cmake/gcc1310" "tooldir=/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu" "gxx_include_dir=/datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0" "AR=ar" "AS=/datadisk/eisc/server/cmake/gcc1310/host-x86_64-pc-linux-gnu/gcc/as" "LD=/datadisk/eisc/server/cmake/gcc1310/host-x86_64-pc-linux-gnu/gcc/collect-ld" "RANLIB=ranlib" "NM=/datadisk/eisc/server/cmake/gcc1310/host-x86_64-pc-linux-gnu/gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" DO=all multi-do # make
make[4]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3”
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/datadisk/eisc/server/cmake/gcc1310/host-x86_64-pc-linux-gnu/gcc/xgcc -B/datadisk/eisc/server/cmake/gcc1310/host-x86_64-pc-linux-gnu/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=/datadisk/eisc/server/cmake/gcc1310/missing makeinfo --split-size=5000000 --split-size=5000000   " "SHELL=/bin/bash" "RUNTESTFLAGS=" "exec_prefix=/datadisk/eisc/server/cmake/gcc1310" "infodir=/datadisk/eisc/server/cmake/gcc1310/share/info" "libdir=/datadisk/eisc/server/cmake/gcc1310/lib" "includedir=/datadisk/eisc/server/cmake/gcc1310/include" "prefix=/datadisk/eisc/server/cmake/gcc1310" "tooldir=/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu" "gxx_include_dir=/datadisk/eisc/server/cmake/gcc1310/include/c++/13.1.0" "AR=ar" "AS=/datadisk/eisc/server/cmake/gcc1310/host-x86_64-pc-linux-gnu/gcc/as" "LD=/datadisk/eisc/server/cmake/gcc1310/host-x86_64-pc-linux-gnu/gcc/collect-ld" "RANLIB=ranlib" "NM=/datadisk/eisc/server/cmake/gcc1310/host-x86_64-pc-linux-gnu/gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" DO=install multi-do # make
make[4]: 对“install-data-am”无需做任何事。
make[4]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3”
make[3]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3”
make[2]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libstdc++-v3”
make[2]: 进入目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libsanitizer”
make[2]: *** 没有规则可制作目标“install”。 停止。
make[2]: 离开目录“/datadisk/eisc/server/cmake/gcc1310/x86_64-pc-linux-gnu/libsanitizer”
make[1]: *** [Makefile:19188: install-target-libsanitizer] Error 2
make[1]: 离开目录“/datadisk/eisc/server/cmake/gcc1310”
make: *** [Makefile:2625: install] Error 2




 0   2024-02-16 13:54:29  回复

回复:ubuntu20/21/22 安装 vscode 配置 gcc g++ cmake 开发环境

guest
登录之后更精彩~
Powered by HadSky 7.12.10
© 2015-2024 PuYueTian
您的IP:34.236.191.0,2024-05-30 08:46:31,Processed in 0.02729 second(s).
Powered by HadSky
小绿叶技术博客