This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Tested on i686-linux, committed on mainline. When switch -a was added to gnatbind, it was forbidden to use this new switch with -C (code generated in C). This restriction is lifted. The test for this is to create a shared library that include a compiled source generated with "gnatbind -a -C -L<lib> ..." and to invoke from a C main some subprogram of the library without calling first <lib>init. 2005-07-07 Vincent Celier <celier@adacore.com> * bindgen.adb (Gen_Output_File_C): When switch -a was specified, put the destructor/constructor attributes for <lib>final/<lib>init. * gnatbind.adb (Gnatbind): Allow -a to be used in conjunction with -C
Attachment:
difs.2
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |