mixed language programming
Ok I have just realised that the search forums thing didn;t work for me and there was a post before asking a similar question. I guess that means no compilers come with the package and you have to use the ones with linux. Will the mixed language features work with g95? is that a supported compiler? I noticed everyone is talking about g77...
>>>>>>>>old message follows
Hi fellow forum writers!
Im a bit out of my domain here as I'm a java guy. I'm tossing up whether to download the Sun Studio 11 program and try it out. It says on the site that it doesn't come with any compilers if you are in the linux version- just an IDE. Is this true? Some people have been saying it does from reading the forums (well not explicitly saying it does but it seemed that way).
Well that is beside the point of my topic. The real reason I am posting is I was wondering if there was a way in Sun Studio 11 to make mixed language programming easy. I have some spectral analysis functions that I have written in fortran 95, that I was hoping to call from a C or C++ program. I have tried just about anything you could imagine with free compilers under linux, but they always seem to not work. Has anyone managed to get it to work? If its possible I reckon ill download it and try else Ill give up and try to re-write my routines in C or C++.
Now before you say "why didn't you write them in C or C++ to start with?" Ill reply and tell you that I learnt Fortran95 first and mucked around with that to do these. Now I need to use C/C++ so I wanted to make a wrapper routine/class.
Look forward to any replies and advice, even web sites you know of, and I hope maybe ill see some of you in Java land! lol (that was a joke...)
Jason.
Message was edited by:
fireman.sparkey

