Re: [Dev-C++] Dev settings to remove @ symbol from dll exported functions - please, help!
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Michal M. <mol...@se...> - 2003-07-18 15:14:47
|
Vladimir Olenin wrote:
> Hi, everyone!
>
> Fairly trivial question - how to remove @ symbol from exported dll
> functions. To be more exact, what flags should be set _inside_ DevC. I'm
> using MinGW 2.0 with DevC and have no problem removing it if compiling
> from command prompt with gcc (--kill-at works). But for some reason i
> absolutely can't do that if compiling from inside DevC - looks like all
> compiler/linker settings are just ignored (though, well, not really
> ignored - i see them all in generated Makefile, but --kill-at for some
> reason is ignored by dllwrap.exe tool DevC is using by default in its
> generated Makefile).
>
> So, I managed to remove @ symbols using gcc.exe -shared -Wl, --kill-at
> flags, but the same flag doesn't work for dllwrap tool. Any help would
> be greatly appreciated!
>
> vlad
after running "dllwrap --help" I saw:
-k Kill @<n> from exported names
--add-stdcall-alias Add aliases without @<n>
but i've never used that so I don't know if it helps :-)
|