- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I have a C library that has been set up with a -iface:cvf type interface. I.e. if I compile the FORTRAN with -iface:cvf then it link correctly. Unfortunately in the FORTRAN I have calls to other C and FORTRAN librariesthat do not use the cvf calling convention.
From what I have read I need to set up an interface block with a CFV type compiler directive. I.e. call some routines with thecvf type convention. Something like
interface
subroutine gm_start_cad(igeofile,lugeo_in,isemod,split2)
c CDEC$ ATTRIBUTES CVF :: gm_start_cad
character*80 igeofile
integer lugeo_in, isemod
logical split2
end subroutine gm_start_cad
end interface
Unfortunately the compiler does not recognise the CVF option. I have tried various other combinations (DECORATE, ALIAS, STDCALL) but cannot get it to link. Does anyone know what set of directives I need to mimick the cvf convention? Or is there another way of doing this?
- Marcas:
- Intel® Fortran Compiler
Link copiado
- « Anterior
-
- 1
- 2
- Próximo »
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado

- 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
- « Anterior
-
- 1
- 2
- Próximo »