« Return to Thread: How to create a relocatable dll with mingw

Re: How to create a relocatable dll with mingw

by Earnie :: Rate this Message:

| View in Thread

Do not top post.

On Thu, Apr 19, 2012 at 1:45 PM, Srinivas Cherukumilli <vasu_c@...> wrote:
>
> Thanks for the response Earnie,
>
> But, unfortunatley it does not work.
>
> gcc complains about the missing '.a'
> $ gcc -shared -o test1.dll test1.o --out-implib libtest1.dll.a
> gcc.exe: libtest1.dll.a: No such file or directory
>

Sorry it should be -Wl,--out-implib,libtest1.dll.a since it is a linker option.

--
Earnie
-- https://sites.google.com/site/earnieboyd

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@...?subject=unsubscribe

 « Return to Thread: How to create a relocatable dll with mingw