forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Are LIB files made with Intel/DEC Fortran 100% compatible...

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
DanRRight



Joined: 10 Mar 2008
Posts: 2816
Location: South Pole, Antarctica

PostPosted: Thu Mar 13, 2008 5:26 pm    Post subject: Are LIB files made with Intel/DEC Fortran 100% compatible... Reply with quote

...with FTN95 ?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Thu Mar 13, 2008 6:22 pm    Post subject: Reply with quote

100%? Unknown in computing circles!

However, your libraries may well work with FTN95.

a) They probably use STDCALL and this is not the default for FTN95
(see IMPORT_LIB on the FTN95 command line and Reference Properties in Plato)

b) Passing character variables can be very tricky.
Back to top
View user's profile Send private message AIM Address
DanRRight



Joined: 10 Mar 2008
Posts: 2816
Location: South Pole, Antarctica

PostPosted: Thu Mar 13, 2008 6:34 pm    Post subject: Reply with quote

Thanks Paul,
I missed import_lib and had sometimes unexplainable problems for years with some old libraries in some specific cases. Now it works with all parameters fine
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2816
Location: South Pole, Antarctica

PostPosted: Sat Mar 15, 2008 4:33 pm    Post subject: Reply with quote

Forgot to ask. How about other compiler vendors libraries for Windows in general. Did compiler developers followed some sort of standard to make libraries compatible across the platform? Specifically, are chances good to link Lahey/Absoft/gfortran libraries with FTN95?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Mon Mar 17, 2008 8:43 am    Post subject: Reply with quote

I think that most have followed the Microsoft lead and adopted the STDCALL protocol. FTN95 is the exception where STDCALL is not the default.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group