Software Archive
Read-only legacy content
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.
17060 Discussions

Building DLLs from the command line

Intel_C_Intel
Employee
493 Views
Hi,

I am trying to use the command line functionality of Fortran to build DLL's.

Using a VB front end the user selects the files they want to include in the DLL and the app creates a one line DF command through which the compiling and linking of the modules is executed.

I can get the whole process to work for upto 150 modules but, some of these DLLs need to include over 500 different files !!!!

I'm pretty sure that the line length is limited to a magic number as each one of the modules requires the full path but there is nothing in the help files to say what it is ...

alternatively if somebody could suggest a way that would work for 500+ modules that would be great .... ie should I be compiling all the modules and then linking the in stages to the DLL !?!?!?

Thanks.
0 Kudos
1 Reply
gchien
Beginner
493 Views
From your VB front-end, write out a makefile and invoke nmake to build the DLL. Using nmake, you can also compile only the source files changed from last built.

Just a thought.
Greg Chien
http://protodesign-inc.com
0 Kudos
Reply