Usage of __attribute__ ((alias , )) with PGI compiler

Hi,

I am using PGI compiler version 6.2 (also tried with PGI version 7.0).
I am trying to use attribute ((alias , )) to define alias to function.
The code is compiled without any error, but the function’s symbol is not defined.

For example:

void my_func__ ( MPI_Fint * ) attribute ((alias (“my_func”)));

I can see my_func symbol but not my_func__ (using nm command).

It was successfull with the following compilers:
GCC
INTEL
PATHSCALE

Is it possible with PGI compiler???

Thanks
Olga

Hi Olga,

Support for the alias attribute will be available in PGI 7.1 which is currently scheduled for release Autumn 2007.

  • Mat

Hi Mat,

Thanks for your reply.

Is there another option in PGI compiler that is similar to alias attribute?

Thanks
Olga

Unfortunately, no.