Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29282 Discussions

building a dll with a lot of routine in a lot of files

gpasa
Beginner
427 Views
Hi all,
I need to build a dll from an existing library made up of more than a thousand files each containing a function or a routine.
I don't want to edit each one to add the
!DEC$ ATTRIBUTES DLLEXPORT
part.

How can I export all the routines ? Is there an available script that adds the !DEC$ declaration ?

I heard of the .def files, but cannot find a usable description in the doc. Can someone tell me how it works ? I browsed the forum and saw that .def files contains the number of arguments of each subroutine. That would also require opening all the files to see how many arguments are in the routine/function.

Is there a better way ?
0 Kudos
0 Replies
Reply