GCC 4.x

3 views
Skip to first unread message

Ruediger Ihle

unread,
Apr 18, 2010, 3:00:14 AM4/18/10
to
Hi folks,

is there a way to build a standalone DLL (i.e. one that doesn't
require GCCxxx.DLL and LIBC06x.DLL) using the GCC4 toolset ?


--
Ruediger "Rudi" Ihle [S&T Systemtechnik GmbH, Germany]
http://www.s-t.de
Please remove all characters left of the "R" in my email address

Dave Yeo

unread,
Apr 18, 2010, 11:03:58 AM4/18/10
to
Ruediger Ihle wrote:
> Hi folks,
>
> is there a way to build a standalone DLL (i.e. one that doesn't
> require GCCxxx.DLL and LIBC06x.DLL) using the GCC4 toolset ?
>
>

set GCCOPT=-static-libgcc will remove the requirement for gccxxx.dll.
Unluckily the static version of libc06x is broken.
Dave

Allan

unread,
Apr 18, 2010, 7:03:23 PM4/18/10
to

.. and is makes all sources in use GPL


--
Allan.

It is better to close your mouth, and look like a fool,
than to open it, and remove all doubt.

Dave Yeo

unread,
Apr 18, 2010, 10:07:45 PM4/18/10
to
Allan wrote:
> On Sun, 18 Apr 2010 15:03:58 UTC, Dave Yeo<dave....@gmail.com> wrote:
>
>> Ruediger Ihle wrote:
>>> Hi folks,
>>>
>>> is there a way to build a standalone DLL (i.e. one that doesn't
>>> require GCCxxx.DLL and LIBC06x.DLL) using the GCC4 toolset ?
>>>
>>>
>>
>> set GCCOPT=-static-libgcc will remove the requirement for gccxxx.dll.
>> Unluckily the static version of libc06x is broken.
>
> .. and is makes all sources in use GPL
>
>

All the source that is included has a linking exception. We checked
pretty close before including it in Mozilla, even had to get Knut to
relicense his code.
Besides according to the FSF linking against a DLL is no different then
linking against a static lib.
Dve

Ruediger Ihle

unread,
Apr 19, 2010, 12:37:53 AM4/19/10
to
On Sun, 18 Apr 2010 15:03:58 UTC, Dave Yeo <dave....@gmail.com> wrote:

> set GCCOPT=-static-libgcc will remove the requirement for gccxxx.dll.
> Unluckily the static version of libc06x is broken.

Thanks, Dave. I'll give that a try to get at least rid of GCC442.DLL.

Reply all
Reply to author
Forward
0 new messages