- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have some .a library files generated with cygwin. Is it possible to use them with IVF? I've tried treating them as regular .lib files and included them under project setttings' linker options. However, that didn't work.
So, given a .a file, how do I use it or how do I convert it to .lib?
So, given a .a file, how do I use it or how do I convert it to .lib?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You leave a lot of possibilities open. Cygwin .a files will work with 32-bit Windows, within limits. They won't work with 64-bit windows, as cygwin doesn't support the /machine tag. In our usual usage, we create the .a files from objects built by IVF and MSVC (or ICL). The Microsoft linker throws a warning for each object which has been renamed to .o, and sometimes there is difficulty with correct handling of the differences between C and C++. It would be quite difficult to use .a files generated by g77, gfortran, or g++. gcc might fall in the middle, but you would have to deal with the linkage conventions being different from what is usually expected with gcc. Evidently, you get quickly into areas of non-support.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page