Hi,

the email below was somehow never sent, since it stayed in my Drafts 
folder, so I send it again.

Werner

Ok,

one step forward. The import library libplplotf77cd.dll.a (to which is
linked to) doesn't contain any symbols. If I change in plstubs.h
STUB_LAU to

#define FNAME(x,y)      PLDLLIMPEXP y##_
#define FNAME_(x,y)     y##_

it's still not possible to link to libplplotf77cd.dll.a (although it
contains symbols of the correct name - but it's possible to link
directly to libplplotf77cd.dll if I make changes to the files produced
by cmake. So it seems that for MinGW 4.x.x the functions are also not
exported by default (as with Visual C++) - I thought that this is now
possible but not default (there is some visibility flag which can be set).

Maybe someone has some additional ideas.

Werner

Werner Smekal wrote:
>> Could you send the nm output for libplplotf77cd as well?  That library
>> defines plsetopt7, but it may have the wrong underscoring convention or
>> there may be some import/export of symbols problem.  That library is
>> mentioned in your detailed linking command above.  Is the choice of library
>> name and syntax of the command correct?
> 
> gfortran also allows to change how many underscores are added ( 
> http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gfortran/Code-Gen-Options.html#Code-Gen-Options
>  
> ) and in plstubs.h this can also be changed. But some tries didn't help 
> anything and I don't know in which direction I should go, since the 
> names show up in the library as well as in the object file which is 
> linked to the library. Can't find anything useful in the internet so far.
> 
> Werner
> 
> 


-- 
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
        +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to