[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] Cygwin / Windows problem with .def files
From: |
Gerrit P. Haase |
Subject: |
[Gm2] Cygwin / Windows problem with .def files |
Date: |
Sun, 15 Aug 2004 16:13:14 +0200 |
Hello,
it seems to confuse gcc (compiled with --enable-languages=c,gm2,...)
when I try to link a shared library with a .def file (usual way to
tell gcc/ld which symbols to export from the shared library):
gcc -shared mylib.def mylib.o other_object.o \
-Wl,--more-linker-flags \
-o mylib.dll
gcc tries to execute gm2l now.
It is possible to pass the .def file directly to the linker with -Wl,
but it is not needed to do so if .def is not a gcc-known gm2 specific
suffix. Even libtool doesn't use -Wl, to pass the .def file to the
linker.
Gerrit
--
=^..^=
- [Gm2] Cygwin / Windows problem with .def files,
Gerrit P. Haase <=