OCaml Forge
SCM

Detail: [#1147] Fortran files built as i386 on x86_64 ocaml builds

Bugs: Browse | Download .csv | Monitor

[#1147] Fortran files built as i386 on x86_64 ocaml builds

Date:
2012-05-04 14:48
Priority:
3
State:
Open
Submitted by:
Serge Zloto (serge)
Assigned to:
Nobody (None)
Hardware:
Macintosh
Resolution:
None
Severity:
normal
Version:
None
Component:
None
Operating System:
MacOS X
Product:
None
 
URL:
Summary:
Fortran files built as i386 on x86_64 ocaml builds

Detailed description
When building lbfgs, the gfortran compiles with the default architecture, which is i386. This fails on x86_64 ocaml builds.

proposed resolution:
In myocamlbuild.ml, add a "-m64" flag to the fortran command if Sys.word_size is 64.

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item