【发布时间】:2012-07-26 10:59:00
【问题描述】:
我对开源和许可证有基本的理解问题。有人可以澄清以下情况的一些问题。请原谅,如果它是非常基本的
我正在编写一个专有软件,我计划在其中使用一些开源库。我还需要 glibc 和 C 编译器,但不想在我的操作系统中使用默认的 gcc 工具链,所以使用 crosstools-ng 构建了我自己的
1234563链接?如果是这种情况,鉴于 glibc 是 LGPL,并且我可以将其链接到我的专有软件,这种静态链接是否会对我的许可造成任何问题?我的软件仍然可以是封闭源代码吗?还是我必须释放编译的对象。
我的工具链配置如下,如果 glibc 是静态链接还是动态链接,有人可以指出我吗?
Target: x86_64-some-linux-gnu
Configured with: /home/balravin/tools/platform/x86/src/gnu/gcc/4.4.7/.build/src/gcc-4.4.7/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=x86_64-some-linux-gnu --prefix=/home/balravin/tools/platform/x86/obj/gnu/gcc/4.4.7/x86_64-some-linux-gnu --with-sysroot=/home/balravin/tools/platform/x86/obj/gnu/gcc/4.4.7/x86_64-some-linux-gnu/x86_64-some-linux-gnu/sysroot --enable-languages=c,c++,fortran --with-pkgversion='crosstool-NG 1.15.3' --disable-sjlj-exceptions --enable-__cxa_atexit --enable-libmudflap --enable-libgomp --enable-libssp --with-gmp=/home/balravin/tools/platform/x86/src/gnu/gcc/4.4.7/.build/x86_64-some-linux-gnu/buildtools --with-mpfr=/home/balravin/tools/platform/x86/src/gnu/gcc/4.4.7/.build/x86_64-some-linux-gnu/buildtools --with-ppl=/home/balravin/tools/platform/x86/src/gnu/gcc/4.4.7/.build/x86_64-some-linux-gnu/buildtools --with-cloog=/home/balravin/tools/platform/x86/src/gnu/gcc/4.4.7/.build/x86_64-some-linux-gnu/buildtools --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --enable-threads=posix --enable-target-optspace --with-long-double-128 --disable-multilib --with-local-prefix=/home/balravin/tools/platform/x86/obj/gnu/gcc/4.4.7/x86_64-some-linux-gnu/x86_64-some-linux-gnu/sysroot --enable-c99 --enable-long-long
Thread model: posix
gcc version 4.4.7 (crosstool-NG 1.15.3)
【问题讨论】:
-
如果您有兴趣,我在 area51 上为所有与开源相关的内容创建了站点提案:area51.stackexchange.com/proposals/58715/…
-
我投票决定将此问题作为离题结束,因为它是关于许可或法律问题,而不是编程或软件开发。 See here 了解详情,help center 了解更多信息。
标签: gcc cross-compiling glibc lgpl