What's the difference between gnustl_static & stlport_static?

5,550 views
Skip to first unread message

Riasat Abir

unread,
Mar 18, 2011, 2:25:50 AM3/18/11
to andro...@googlegroups.com
Hi,

whats the difference between using gnustl_static & stlport_static.
I am just curious to know. Didn't find much in the NDK documentation.

Regards,
Riasat

alan

unread,
Mar 18, 2011, 5:35:39 AM3/18/11
to andro...@googlegroups.com
gunstl is based on the gnu runtime library, stlport is based on the stl port runtime library. stlport doesn't currently support rtti or exceptions but it has a free licence rather than gpl

David Turner

unread,
Mar 18, 2011, 6:48:00 AM3/18/11
to andro...@googlegroups.com, alan
On Fri, Mar 18, 2011 at 10:35 AM, alan <al...@birtles.org.uk> wrote:
gunstl is based on the gnu runtime library, stlport is based on the stl port runtime library. stlport doesn't currently support rtti or exceptions but it has a free licence rather than gpl

gnustl comes with a linking exceptions that allows you to use it for proprietary projects.
See http://www.cs.huji.ac.il/~etsman/Docs/gcc-3.4-base/libstdc++/html/17_intro/license.html

 

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.

Alex Cohn

unread,
Aug 14, 2012, 2:57:00 AM8/14/12
to andro...@googlegroups.com

 On Friday, March 18, 2011 12:48:00 PM UTC+2, David Turner wrote:
On Fri, Mar 18, 2011 at 10:35 AM, alan <al...@birtles.org.uk> wrote:
gunstl is based on the gnu runtime library, stlport is based on the stl port runtime library. stlport doesn't currently support rtti or exceptions but it has a free licence rather than gpl

gnustl comes with a linking exceptions that allows you to use it for proprietary projects.

I sincerely failed to understand this Exception. The only thing I am certain about after reading it multiple times is that I am free to pay a lot of money to a lawyer who will give me his or her interpretation of this document.

But hopefully, I am not the only one who has a very simple question: if my Application.mk includes APP_STL := gnustl_static, should I publish my native and Java code to comply with GPL?

Thanks,
Alex

Dan V.

unread,
Aug 14, 2012, 4:12:11 AM8/14/12
to andro...@googlegroups.com
The linking exception means that any apps you create that link to gnustl are *not* bound by the GPL.  So you are free to choose any license you like for your code.

David Turner

unread,
Aug 14, 2012, 5:38:04 AM8/14/12
to andro...@googlegroups.com
Due to the runtime exception, you don't have too. On the other hand, if you use gnustl_shared, you must comply with GPLv3 for libgnustl_shared.so (and only this file) which you do distribute with your application/package. How convenient/practical this is is left as an exercise for your lawyer. Good luck.
 
Thanks,
Alex

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/HbJOFL5VplEJ.
Reply all
Reply to author
Forward
0 new messages