Colin Finck ha scritto:
Unfortunately, it looks like it's unfixable if we
keep on directly using ld
for linking (as introduced in these revisions) instead of calling the gcc
frontend.
ld supports response files, like Microsoft tools:
@FILE Read options from FILE
(from ld --help)
Passing "-lgcc" also doesn't work,
because mingw32-ld only seems to search
for libraries in "mingw32/lib", not "lib/gcc/mingw32/4.1.3" as gcc
does.
let's import libgcc then. It makes sense to me for our build environment
to be completely self-contained