亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2932 | 回復(fù): 7
打印 上一主題 下一主題

linux開發(fā)怎樣避開gpl? [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-07-04 13:22 |只看該作者 |倒序瀏覽
使用c++在linux下開發(fā),怎樣避免開源呢,動態(tài)的調(diào)用類庫也必須遵守嗎?

論壇徽章:
0
2 [報告]
發(fā)表于 2008-07-04 13:49 |只看該作者
如果你把別人的軟件作為一個整體使用,不要試圖去修改或者拆分,GPL對你是透明的

論壇徽章:
0
3 [報告]
發(fā)表于 2008-07-04 13:55 |只看該作者
原帖由 net_robber 于 2008-7-4 13:49 發(fā)表
如果你把別人的軟件作為一個整體使用,不要試圖去修改或者拆分,GPL對你是透明的

是自己開發(fā)軟件,不使用遵守pgl的source code, 但C++的類庫必須要使用啊,linux下的C++庫是pgl的,我也必須開放源代碼嗎?
透明的是什么意思?

論壇徽章:
0
4 [報告]
發(fā)表于 2008-07-04 14:16 |只看該作者
原帖由 sinoman 于 2008-7-3 21:55 發(fā)表

是自己開發(fā)軟件,不使用遵守pgl的source code, 但C++的類庫必須要使用啊,linux下的C++庫是pgl的,我也必須開放源代碼嗎?
透明的是什么意思?


libstdc++雖然是GPL的,但是有一個特殊的聲明(所謂的Runtime Exception)允許你使用里面的源代碼一起編譯到你的可執(zhí)行文件,你的軟件不必受到GPL制約。
當然GNU的C類庫glibc直接就是LGPL的。

論壇徽章:
0
5 [報告]
發(fā)表于 2008-07-04 14:21 |只看該作者
謝謝,我去找Runtime Exception看看

論壇徽章:
0
6 [報告]
發(fā)表于 2008-07-04 15:05 |只看該作者
License

There are two licenses affecting GNU libstdc++: one for the code, and one for the documentation.

There is a license section in the FAQ regarding common questions. If you have more questions, ask the FSF or the gcc mailing list.

The Code: GPL
The source code is distributed under the GNU General Public License version 2, with the so-called “Runtime Exception” as follows (or see any header or implementation file):
      As a special exception, you may use this file as part of a free software
      library without restriction.  Specifically, if other files instantiate
      templates or use macros or inline functions from this file, or you compile
      this file and link it with other files to produce an executable, this
      file does not by itself cause the resulting executable to be covered by
      the GNU General Public License.  This exception does not however
      invalidate any other reasons why the executable file might be covered by
      the GNU General Public License.
Hopefully that text is self-explanatory. If it isn't, you need to speak to your lawyer, or the Free Software Foundation.
The Documentation: GPL, FDL

意思是源代碼是例外的?我包含源代碼進行編譯的話的產(chǎn)品可以不開源?

[ 本帖最后由 sinoman 于 2008-7-4 15:06 編輯 ]

論壇徽章:
0
7 [報告]
發(fā)表于 2008-07-04 17:17 |只看該作者
gnu除了gpl,還有l(wèi)gpl。lgpl的庫盡可以放心用。

論壇徽章:
0
8 [報告]
發(fā)表于 2008-07-04 17:45 |只看該作者
lgpl的也不能隨便用的,lgpl的東西是不能靜態(tài)鏈接到自己的程序的,當然,動態(tài)鏈接可以
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP