| Madhusudan Singh 2005-04-01, 3:59 pm |
| Hi
_I_am_completely_new_to_AIX_(not_to_Unix
/Linux)_and_will_not_be_using_it_for
much at all. However, I have a question regarding AIX that has cropped up
lately.
_I_am_the_author_of_fortranposix
(http://sourceforge.net/projects/fortranposix), an incomplete wrapper
library that provides a way to call functions in the GNU C library (or its
equivalents) from Fortran. It is used with gnuplotfortran. This library has
been tested and works on Linux (with gcc) and on Sun (with gcc). A user
tried to compile it on AIX using the cc compiler.
_He_reports_that_the_compilation_went_th
rough_smoothly,_but_the_linker_fails
with the following errors :
1501- 510__Compilation_successful_for_file_for
tranposix.f90.
ld: 0706-012 The -h flag is not recognized.
ld: 0706-012 The -a flag is not recognized.
gmake: *** [libfortranposix.so] Error 255
_Now,_the_library_depends_on_the_C_compi
ler_appending_a_single_underscore_to
the functions defined in the wrapper. Two questions :
1. Does cc do that ?
2. If so, could someone suggest a workaround for the errors above ?
Thanks.
|