例如,如果我在运行Ubuntu的机器上编译了一个使用GTK 3的简单C程序,那么我能够在其他Linux版本上运行它吗?
注意:我的实际问题是“我应该为我的Linux编译的程序贴上标签还是只给Ubuntu贴上标签?”
例如:我是否应该将我的下载页面贴上标签
Windows
program.exe
Linux
program
Macintosh
program.app
或
Windows
program.exe
Ubuntu < Version 17.04
program
Macintosh
program.app
我正在尝试将我的应用程序部署为可以在任何Linux机器上运行的独立应用程序。我已经在Qt Creator下构建了我的应用程序,并成功地静态链接了我的应用程序。但是,当我在另一台Linux机器上测试应用程序时,我得到以下错误:
libstdc++.so.6: version 'GLIBCXX_3.4.21' not found (required by ./Executable)
我不确定如何解决此错误。
我正在尝试使用Linaro Toolchain Windows Binary ( )的2012.06版本来交叉编译Qt4.8源代码,以针对嵌入式Linux ARM Cortex-8板。我能够使用这篇文章--> 中提到的CodeSourcery工具链做到这一点。但是目标板软件是用Linaro工具链构建的,所以我正在朝着这个目标努力。
我已经为上面帖子中提到的mkspec打了补丁,如下所示:
#
# qmake configuration for building with arm-none-linux-gnueabi-g++
#
include(../common/unix.conf)
Can't locate Switch.pm in @INC (you may need to install the Switch module)
(@INC contains:
/usr/local/lib/perl5/site_perl/5.10.1//x86_64-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.1/
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/