cygwin vs mingw 商业化问题。

manmount 2011-04-25 03:46:39
用mingw开发的程序,据说没有版权问题,但是只能在windows下面跑,因为最底层还是调用了cl.exe,让人很不爽。

请问各位道友:

现在想用cygwin的gcc和相关类库开发,可以在linux 和 windows 下面跑的程序,有版权问题吗?
...全文
262 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
xunxun 2011-04-26
  • 打赏
  • 举报
回复
[Quote=引用 11 楼 manmount 的回复:]

是的,像最近一个叫de啥的公司,在德州法院告了google,拿到500万美元。开源是好东西,但是有陷阱。
[/Quote]
关键看开源协议是什么?不是所有的开源代码你都能直接用的……
manmount 2011-04-26
  • 打赏
  • 举报
回复
是的,像最近一个叫de啥的公司,在德州法院告了google,拿到500万美元。开源是好东西,但是有陷阱。
xunxun 2011-04-25
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 pink9527 的回复:]

好不容易学会了,还要做点东西出来,好不容易做了点东西出来,还要版权!!!!!!!!!!!!!
[/Quote]
不知道你看清楚Cygwin的协议没:http://cygwin.com/license.html。
他的意思是,公开发布的是GPL协议,亦即你只要用了他的库,由于GPL的传染性,就得以GPL协议发布(当然,你可以不发布……)。
如果想开发商业软件,就得需要向Redhat方面购买特殊许可证。

所以,在windows下使用gcc的话,尽量使用mingw/mingw64系列,这个是公共许可证,随便你怎么用。
xspace_time 2011-04-25
  • 打赏
  • 举报
回复
好不容易学会了,还要做点东西出来,好不容易做了点东西出来,还要版权!!!!!!!!!!!!!
manmount 2011-04-25
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 xunxun1982 的回复:]

引用 6 楼 manmount 的回复:

引用 5 楼 xunxun1982 的回复:

关于那个dll

这是原文:
In particular, if you intend to port a proprietary (non-GPL'd) application using Cygwin, you will need the proprietary-use license ……
[/Quote]

贫道正有此意。
xunxun 2011-04-25
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 manmount 的回复:]

引用 5 楼 xunxun1982 的回复:

关于那个dll

这是原文:
In particular, if you intend to port a proprietary (non-GPL'd) application using Cygwin, you will need the proprietary-use license for the Cygwin library. ……
[/Quote]
你可以使用

#ifdef _win32
windows code
#elif
Linux code
#endif

之类,来实现跨平台
manmount 2011-04-25
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 xunxun1982 的回复:]

关于那个dll

这是原文:
In particular, if you intend to port a proprietary (non-GPL'd) application using Cygwin, you will need the proprietary-use license for the Cygwin library. This is available for purc……
[/Quote]

明白了,还是有版权问题。可以用mingw 还是只能在windows下跑。到linux 下还得改源码。
xunxun 2011-04-25
  • 打赏
  • 举报
回复
关于那个dll

这是原文:
In particular, if you intend to port a proprietary (non-GPL'd) application using Cygwin, you will need the proprietary-use license for the Cygwin library. This is available for purchase from Red Hat; please visit http://cygwin.com/license.html for more information. All other questions should be sent to the public project mailing list cygwin@cygwin.com.

Note that when we say "free" we mean freedom, not price. The goal of such freedom is that the people who use a given piece of software should be able to change it to fit their needs, learn from it, share it with their friends, etc. The Cygwin license allows you those freedoms, so it is free software.


如果是gcc的话,windows下最好使用mingw,这个是native的,而且比cygwin的速度要快很多,当然并没有实现Linux下所有的api。
xunxun 2011-04-25
  • 打赏
  • 举报
回复
lz说的是啥?
……
[Quote=引用楼主 manmount 的回复:]
用mingw开发的程序,据说没有版权问题,但是只能在windows下面跑,因为最底层还是调用了cl.exe,让人很不爽。

请问各位道友:

现在想用cygwin的gcc和相关类库开发,可以在linux 和 windows 下面跑的程序,有版权问题吗?
[/Quote]
mingw gcc本来就是gcc port to windows,Linux下直接用gcc好了,你如果指的是编译出来的东西到处能跑,不好意思,那个东西叫Java……
谁告诉你底层调用了cl.exe?cl是vc的编译器好不好?
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 manmount 的回复:]
可是cygwin开发出个东西,要在windows下面跑,必须加个linux内核转换为windows的dll,这个有版权问题吗?
[/Quote]

哪有转换? 先搞清楚cygwin都做了啥
manmount 2011-04-25
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 luciferisnotsatan 的回复:]

gcc可以免费用,没有版权问题
[/Quote]

可是cygwin开发出个东西,要在windows下面跑,必须加个linux内核转换为windows的dll,这个有版权问题吗?
luciferisnotsatan 2011-04-25
  • 打赏
  • 举报
回复
gcc可以免费用,没有版权问题

15,440

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧