From: fine AT mail DOT cern DOT ch (Valery Fine) Subject: RE: .def files for stdcall functions (was: linking problems with 17 Sep 1997 02:41:12 -0700 Message-ID: <199709170927.LAA170022.cygnus.gnu-win32@sp055.cern.ch> References: <01BCC380 DOT AA4AF2C0 AT gbird0> Reply-To: fine AT mail DOT cern DOT ch To: Colin Peters , gunther DOT ebert AT ixos-leipzig DOT de Cc: gnu-win32 AT cygnus DOT com On 17 Sep 97 at 15:45, Colin Peters wrote: > Gunther Ebert[SMTP:gunther DOT ebert AT ixos-leipzig DOT de] wrote: > >Colin Peters wrote: > >> My beef with all this is: why does GCC do it this way at all? What purpose > >> does the @NN serve? After all, GCC knows how to generate the correct > >> function call given a prototype, it *generates* the @NN, so it doesn't > >> need it to know what to do. > > > [snip] > MS used to supply just both kind of the entry points with its library @NN AND "plain" one as an alias of the first one. (at least it is always true for MS Fortran. It fits all needs I guess. I wonder COFF format allows aliases. Why GNU tools can not employ the same approach ? Dr. Valeri Faine (Valery Fine) ------------ ------------- Phone: +41 22 767 4921 CERN FAX : +41 22 767 7155 CH-1211 Geneva, 23 mailto:fine AT mail DOT cern DOT ch Switzerland http://nicewww.cern.ch/~fine - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".