|
From: Danny S. <dan...@cl...> - 2005-11-01 18:03:20
|
----- Original Message -----
From: "Stefan Bellon"
Sent: Tuesday, 1 November 2005 21:49
> Brian Dessent wrote:
> > Stefan Bellon wrote:
>
> > > Are you sure this works like you describe it? The man page of "ld"
> > > says that --out-implib only works when linking a DLL (i.e.
> > > -shared). And in fact, the version of gcc that I have here seems to
> > > agree: --out-implib is simply ignored when linking an executable.
>
> > It works fine here:
>
> [snip]
>
> Ah, you are right. It works for C, but it does not work if the main
> program is written in Ada.
>
Don't you have to hardcode this into a pragma in Ada?
pragma Linker_Options ("-out-implib libfoo.a");
A bug report about gnatlink's failure to honour target flags was opened here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20530
and closed as invalid,
Danny
> --
> Stefan Bellon
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> MinGW-users mailing list
> Min...@li...
>
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users
|