- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am testing the methodology to integrate Fortran DLL modules into C++ (RAD Studio IDE) applications. All worked perfectly via the 32bit Fortran compiler integrated into the previous Intel Parallel Studio XE (Under Visual Studio 2015). First convert the .LIB file in COFF (Common Object File Format) format to COM (Common Object Module) using COFF2COM, include it into the C++ Project File (for Linking) and add the related DLL to the executable folder.
To upgrade to the latest Intel oneAPI with 64 bit Fortran Compiler (IFX) integrated into Visual Studio, the challenge is now to integrate the DLL's (64 bit Fortran) into the C++ based applications (obviously now also 64bit).
Currently, I have RAD Studio C++ Builder 11.0, which only support the Classic Win64 target platform (BCC64) and would need a specific format of DLL for integration. To make the DLL visible to the C++ code for calling, under (Classic Win64) I was led (Grok) to use the MKEXP utility to translate the DLL to a ".a" (ELF - Executable and Linkable Format) file for inclusion into the project file for Linking.
I have encountered a problem here, however. When I try to link an error is returned:
"[ilink64 Error] Fatal: Archive file 'TESTDLL.A' lists no symbols in its dictionary. "
Is there anyone with some experience that could provide some guidance on how to integrate 64 bit fortran module dll's into C++..?
Here is the contents of the *.a file as presented by Turbo Dump
------------------------------------------------------------------------------------------------------------------------
Turbo Dump Version 6.6.1.0 Copyright (c) 1988-2021 Embarcadero Technologies, Inc.
Display of File testdll.a
Ar 32-bit unix archive file
------------ Member Headers -----------
ndx member offs size mode uid gid time
0 TestDLL CA 2B8 0 0 0 Oct 23 12:18:33 2025
------------ Symbols ----------- (0 entries)
ndx name
Link Copied
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page