- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I have a fortran main program that calls a C routine. I have compiled the C routine using gcc and have a .o file. I cant figure out how to get the Build in Visual Studio to link the fortran and to c *.o files? Where do I tell it the name of the *.o and where it is?
thanks,
Mike Hoversten
- Marcas:
- Intel® Fortran Compiler
Link copiado
1 Responder
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
This would have to have been built by a gcc targeted for Windows, with no run time library dependency other than on the Windows libraries, such as mingw-gcc. In that case, you should be able to rename as .obj and add to the .obj files of your project. Normally, you would rebuild using the VS compiler for compatibility with ifort.

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora