octave-maintainers
[Top][All Lists]
Advanced

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

Re: MXE-Build in linux


From: John Donoghue
Subject: Re: MXE-Build in linux
Date: Thu, 06 Jun 2013 22:53:11 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

On 06/06/2013 06:05 PM, John W. Eaton wrote:
On 06/06/2013 05:49 PM, Przemek Klosowski wrote:
On 06/06/2013 04:28 PM, John D wrote:

libtool: compile: i686-pc-mingw32-gcc
...
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/w32api/include /home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m
-c
...
-fgnu-runtime -DDLL_EXPORT -DPIC -o .libs/NXConstStr.o

i686-pc-mingw32-gcc: error:
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m:
Objective-C compiler not installed on this system

When your compile tries to make NXConstStr.o it tries to run a C
compiler on ~/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m

This file belongs to GCC so you are actually compiling GCC at this
point. If MXE is set up to do that? If so, you have to build it without
Objective C which should prevent libobjc from being built.

Oh, I see. I disabled the Objective C compiler in the GCC cross compiler because I didn't think it was used anywhere. But then I forgot to disable the Objective C compiler in the native-gcc build (that's the copy of GCC that is cross compiled to run on the Windows system and generate Windows binaries).

I checked in the following change:

  http://hg.octave.org/mxe-octave/rev/c94807091658

Does that fix the problem?

jwe

That fixed it!


reply via email to

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