Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] How to build a 64 bit fortran executable on Vista 64 bit with eclipse (32 bits...)

João Oliveira a écrit :
Hi all,

the problem as far as I understand it, is related with the binary parser. The current version of CDT does not include a valid 64 bit parser.

The solution is to install a recent one, possibly a nightly build. I upgrade CDT to 6.1.0 and everything start working.

http://download.eclipse.org/tools/cdt/builds/6.1.0/index.html
Thanks indeed for the information.

I downloaded
http://eclipse.ialto.org/eclipse/downloads/drops/S-3.6M3-200910301201/eclipse-SDK-3.6M3-win32-x86_64.zip,
- http://download.eclipse.org/tools/cdt/builds/6.1.0/I.I200911060806/cdt-master-6.1.0-I200911060806.zip,
- http://eclipse.ialto.org/tools/ptp/photran/builds/5.0.0/I.I200910081739/photran-master-5.0.0-I200910081739.zip
+ ftp://ftp.equation.com/gcc/gcc-4.4.2-64.exe,
+http://cds-esd.sun.com/ESD6/JSCDL/jdk/6u17-b04/jre-6u17-windows-x64.exe?AuthParam=1257977769_e3daede230d2b27267e971e4e89ec541&TicketId=co04K0z2QT02OyrnMkU9hHKWMSw%3D&GroupName=CDS&FilePath=/ESD6/JSCDL/jdk/6u17-b04/jre-6u17-windows-x64.exe&File=jre-6u17-windows-x64.exe

Everything installs correctly and a classical hello world "fortran project" compiles correctly and links correctly (provided I added gfortran linker to the tool chain).
However, the binary hello.exe is created in folder Debug but still not recognized as a valid binary by eclipse (even if I add -mwindows in the link options as recommended on the www.equation.com site)
Furthermore, if I type hello in the Debug directory in a command window, the application crashes...

=> Which version of the 64 bits gfortran/gcc compilers binaries are you using ? Downloaded from where ?

--

Sincerely yours,

Michel DEVEL
 

Back to the top