Actually "@X" were removed from all .def files to maintain compatibility with MSVC compiler, and GCC will do this silently with "--enable-stdcall-fixup" (which didn't work for some reason when enabled a few month ago).
WBR, Aleksey Bragin.
On Nov 11, 2006, at 11:33 PM, ekohl@svn.reactos.org wrote:
Author: ekohl Date: Sat Nov 11 23:33:06 2006 New Revision: 24722
URL: http://svn.reactos.org/svn/reactos?rev=24722&view=rev Log: KbdLayerDescriptor is a STDCALL function. -=skip=- Modified: trunk/reactos/dll/keyboard/kbdbe/kbdbe.def URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/keyboard/ kbdbe/kbdbe.def?rev=24722&r1=24721&r2=24722&view=diff ====================================================================== ======== --- trunk/reactos/dll/keyboard/kbdbe/kbdbe.def (original) +++ trunk/reactos/dll/keyboard/kbdbe/kbdbe.def Sat Nov 11 23:33:06 2006 @@ -4,5 +4,5 @@ LIBRARY kbdbe.dll
EXPORTS -KbdLayerDescriptor +KbdLayerDescriptor@0 ;EOF
-=skip=-
Great I guess no one new exactly what was being given up.
I did not notice at the time.
There was a advantage to having @X with dllwrap in binutils can build a import library without building the dll or having the dll.
Makes source of a Reactos SDK a lot smaller.
In case of a update in binutils breaking .a or .o compatibly. .o has happened a few times. The import library can still be created. MSVC striped them. If you are giving up .def with correct internal information to build a new import library without having the .dll source code. Might as well consider giving up .a files as well. Mingw ld can directly link against .dll. Would reduce the space required to build reactos.
Question cannot MSVC build import lib file any more without the dll.
Other option is to build into the system to generate import library build .def files if asked. Might require gcc to do it.
Peter Dolding Aleksey Bragin wrote:
Actually "@X" were removed from all .def files to maintain compatibility with MSVC compiler, and GCC will do this silently with "--enable-stdcall-fixup" (which didn't work for some reason when enabled a few month ago).
WBR, Aleksey Bragin.
On Nov 11, 2006, at 11:33 PM, ekohl@svn.reactos.org wrote:
Author: ekohl Date: Sat Nov 11 23:33:06 2006 New Revision: 24722
URL: http://svn.reactos.org/svn/reactos?rev=24722&view=rev Log: KbdLayerDescriptor is a STDCALL function. -=skip=- Modified: trunk/reactos/dll/keyboard/kbdbe/kbdbe.def URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/keyboard/ kbdbe/kbdbe.def?rev=24722&r1=24721&r2=24722&view=diff ====================================================================== ======== --- trunk/reactos/dll/keyboard/kbdbe/kbdbe.def (original) +++ trunk/reactos/dll/keyboard/kbdbe/kbdbe.def Sat Nov 11 23:33:06 2006 @@ -4,5 +4,5 @@ LIBRARY kbdbe.dll
EXPORTS -KbdLayerDescriptor +KbdLayerDescriptor@0 ;EOF
-=skip=-
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev