octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building on MinGW using MXE-built dependencies [WAS: Re: mxe-install


From: Clemens Buchacher
Subject: Re: Building on MinGW using MXE-built dependencies [WAS: Re: mxe-installer try 2]
Date: Sun, 2 Jun 2013 14:30:08 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, May 28, 2013 at 05:36:21PM -0400, John W. Eaton wrote:
> 
> If you want to attempt a native build, edit the settings at the top
> of the top-level Makefile.

Thank you. This will be very useful. I am trying this on RHEL 5.8 with:

MXE_SYSTEM := gnu-linux
MXE_NATIVE_BUILD := yes
USE_SYTEM_GCC := no

But I get the following error while building gcc:

/home/drizzd/src/mxe-octave/tmp-gcc/gcc-4.7.2.build/./gcc/xgcc 
-B/home/drizzd/src/mxe-octave/tmp-gcc/gcc-4.7.2.build/./gcc/ 
-B/home/drizzd/src/mxe-octave/usr/x86_64-unknown-linux-gnu/bin/ 
-B/home/drizzd/src/mxe-octave/usr/x86_64-unknown-linux-gnu/lib/ -isystem 
/home/drizzd/src/mxe-octave/usr/x86_64-unknown-linux-gnu/include -isystem 
/home/drizzd/src/mxe-octave/usr/x86_64-unknown-linux-gnu/sys-include    -g -O2 
-m32 -O2  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem 
./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   
-fpic -I. -I. -I../../.././gcc 
-I/home/drizzd/src/mxe-octave/tmp-gcc/gcc-4.7.2/libgcc 
-I/home/drizzd/src/mxe-octave/tmp-gcc/gcc-4.7.2/libgcc/. 
-I/home/drizzd/src/mxe-octave/tmp-gcc/gcc-4.7.2/libgcc/../gcc 
-I/home/drizzd/src/mxe-octave/tmp-gcc/gcc-4.7.2/libgcc/../include 
-I/home/drizzd/src/mxe-octave/tmp-gcc/gcc-4.7.2/libgcc/config/libbid 
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS -o unwind-dw2.o -MT 
unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c 
/home/drizzd/src/mxe-octave/tmp-gcc/gcc-4.7.2/libgcc/unwind-dw2.c 
-fvisibility=hidden -DHIDE_EXPORTS
In file included from 
/home/drizzd/src/mxe-octave/tmp-gcc/gcc-4.7.2/libgcc/gthr.h:150:0,
                 from 
/home/drizzd/src/mxe-octave/tmp-gcc/gcc-4.7.2/libgcc/unwind-dw2.c:38:
./gthr-default.h:541:21: fatal error: windows.h: No such file or directory
compilation terminated.
make[7]: *** [unwind-dw2.o] Error 1
make[7]: Leaving directory 
`/home/drizzd/src/mxe-octave/tmp-gcc/gcc-4.7.2.build/x86_64-unknown-linux-gnu/32/libgcc'

Is this supposed to work? If so I can investigate further. Otherwise
(and in the meantime) I will try to use the system GCC (version 4.1.2 in
this case).

Next error I am looking into is in build-only-arpack:
configure: error: Cannot find BLAS libraries

Somehow I ended up building Octave on really old and new systems at the
same time...

Clemens


reply via email to

[Prev in Thread] Current Thread [Next in Thread]