Page 1 of 1

无法使用gcc

Posted: 2024-10-15 3:06
by Winchell
问题:
gcc安装正常,但gcc无法使用。

平台:
幸狐 Luckfox Pico Ultra开发板

请问该如何解决?

Re: 无法使用gcc

Posted: 2024-10-15 6:11
by Alenwowo
Winchell wrote: 2024-10-15 3:06 问题:
gcc安装正常,但gcc无法使用。

平台:
幸狐 Luckfox Pico Ultra开发板

请问该如何解决?
您好,这边建议你先使用外部的工具链在虚拟机编译呢,目前板端gcc编译是存在一些问题,这里推荐您使用这个编译器进行编译:gcc-linaro-11.3.1-2022.06-x86_64_arm-linux-gnueabihf.tar.xz 下载链接:https://snapshots.linaro.org/gnu-toolch ... gnueabihf/

Re: 无法使用gcc

Posted: 2024-10-15 8:57
by Winchell
Alenwowo wrote: 2024-10-15 6:11 您好,这边建议你先使用外部的工具链在虚拟机编译呢,目前板端gcc编译是存在一些问题,这里推荐您使用这个编译器进行编译:gcc-linaro-11.3.1-2022.06-x86_64_arm-linux-gnueabihf.tar.xz 下载链接:https://snapshots.linaro.org/gnu-toolch ... gnueabihf/
请问这个gcc版本是指的用于虚拟机工具链环境中的gcc版本,还是指的这个gcc也能在开发板中直接编译。

gcc版本:gcc-linaro-11.3.1-2022.06-x86_64_arm-linux-gnueabihf.tar.xz

Re: 无法使用gcc

Posted: 2024-10-15 8:59
by Alenwowo
Winchell wrote: 2024-10-15 8:57
Alenwowo wrote: 2024-10-15 6:11 您好,这边建议你先使用外部的工具链在虚拟机编译呢,目前板端gcc编译是存在一些问题,这里推荐您使用这个编译器进行编译:gcc-linaro-11.3.1-2022.06-x86_64_arm-linux-gnueabihf.tar.xz 下载链接:https://snapshots.linaro.org/gnu-toolch ... gnueabihf/
请问这个gcc版本是指的用于虚拟机工具链环境中的gcc版本,还是指的这个gcc也能在开发板中直接编译。

gcc版本:gcc-linaro-11.3.1-2022.06-x86_64_arm-linux-gnueabihf.tar.xz
都可以的