Benjamin Lindner wrote:
> Fredrik Lingvall wrote:
>> Is is possible to build Octave for 64-bit Windows?
>>
>
> Speaking for the mingw-build, there are in principal two options:
> 1) native mingw64 build
> 2) cross-building on a win32 system
>
> To try 1) I guess you would require to have all of your building
> environment as native win64 version. Don't know if this is avilable.
>
> ad 2): I have no experience in doing cross-building, so I don't know
> what one would exactly require in which (32 or 64 bit) version.
>
> Side note: ATLAS currently is built using cygwin and cygwin-gcc. So
> for 64bit ATLAS you will also need at least a 64bit-target cygwin gcc.
> Don't know about how well cross-compiling ATLAS works.
>
>
>> I had a quick look at the scripts in:
>>
>> octave-forge/svn/octave/trunk/octave-forge/admin/Windows/
>>
>> for mingw32 and msvc to see if they could be adapted to use
>>
>> http://sourceforge.net/projects/mingw-w64/
>>
>> or MSVC 2008 (express) for 64-bit WIndows. What is needed to do this?
>
> Well, it depends on *how* the mingw64 build is to be accomplished :)
>
> I had a look at the mingw-w64 project homepage. The have gcc-4.4.0
> snapshots, so not a stable gcc release yet, and no useful package
> release (mingwrt, win64api, binutils) yet. So this is highly
> experimental at the moment.
>
OK, so MSVC looks like the better option then.

I have tested the mingw-w64 (linux cross-compiler on a Gentoo amd64 box)
and I could build fftw-3.1.2 (without pthread support) and Pthread-w32
(using the 64-bit path on the mingw-w64 site). The current Windows
version of mingw-w64 come with these tools:

fllap5 mingw-w64 # ls bin
addr2line.exe  dllwrap.exe   gprof.exe       objdump.exe  windres.exe
ar.exe         gccbug        jcf-dump.exe    ranlib.exe  
x86_64-pc-mingw32-c++.exe
as.exe         gcc.exe       ld.exe          readelf.exe 
x86_64-pc-mingw32-gcc-4.4.0.exe
c++.exe        gcj.exe       libgcc_s_1.dll  size.exe    
x86_64-pc-mingw32-gcc.exe
c++filt.exe    gcov.exe      libssp-0.dll    strings.exe 
x86_64-pc-mingw32-gcj.exe
cpp.exe        g++.exe       nm.exe          strip.exe   
x86_64-pc-mingw32-g++.exe
dlltool.exe    gfortran.exe  objcopy.exe     windmc.exe  
x86_64-pc-mingw32-gfortran.exe

fllap5 mingw-w64 # ls x86_64-pc-mingw32/bin/
ar.exe  dlltool.exe  nm.exe       objdump.exe  strip.exe
as.exe  ld.exe       objcopy.exe  ranlib.exe

/F




-------------------------------------------------------------------------
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=/
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to