lists.zerezo.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** Re: [Mingw-users] Linker doesn't generated automatically import lib




2008/6/25 <Alexander.Camek@xxxxxxxxxxxxxx>:
Hi list,

I have got here a project. This project is written in different languages, mainly C, C++ and Ada.
When I do a build of the project the linker generates for all exported functions automatically an import library for the dll. But this only happens if the module is written in C or C++. This doesn't happen with any Ada module, although I use pragma Export (C, ...).

How can I avoid to write explicitly -Wl,--out-implib, to every Ada module?

Thanks for your help

Greetings

Alexander Camek

I've been working on a similar problem recently, which seems to be an issue whenever $LANG != C.
Try and have a look at MinGW's dlltool. If you feed it a .def file with symbols to export, it can create an import library for you. You'll probably find the gory details somewhere in the documentation; google also finds useful things on that topic.

Cheers,
Dennis


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users