Software Archive
Read-only legacy content

Global Commons

Intel_C_Intel
Employee
407 Views
We are currently porting some code from another platform which makes extensive use of Fortran Common blocks which are then mapped to shared memory and are used by many processes. We have acheived this under VMS with Linker options and under Tru64 by creating shared common files and incorporating them into the link.

Has anybody any idea how to acheive this in a Windows environment?
0 Kudos
2 Replies
Steven_L_Intel1
Employee
407 Views
Yes - see the DLLEXP1 and DLLEXP2 samples. The key is the linker option /SECTION.

Steve
0 Kudos
Intel_C_Intel
Employee
407 Views
DLLEXP2 does exactly what I require

Thank-you
0 Kudos
Reply