On Tuesday 05 June 2001 3:35 pm, Robert Collins wrote:
> dlpreopen generates a list of symbols - say
>
> extern char _imp__free;
> <skip>
> extern char nothing;
> extern char printf;
> extern char realloc;
>
> from the source library - cyghello-2.dll
>
> "nothing" here should be extern __declspec(dllimport) char nothing;
> "_imp__free" shouldn't be present, because the actual symbol is in a
> different library. Or if it is present it should also be extern
> __declspec(dllimprt)...
>
> I'm not quite sure how to approach this, but my tentative logic is:
>
> if the library we are reading symbols from is a .dll, throw away __imp__
> symbols, and make all normal appearing symbols __declspec(dllimport).
>
> Is this likely to introduce any headaches ? Am I heading up the wrong
> tree?
That sounds like the right solution to me. As ever, the proof of the pudding
is in the eating =)O|
Cheers,
Gary.
--
())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool