octave-maintainers
[Top][All Lists]
Advanced

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

Re: Building MXE / nettle


From: Stefan Mahr
Subject: Re: Building MXE / nettle
Date: Sun, 23 Jun 2013 22:55:52 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

>>>>>>> 'nettle' fails to build for mingw builds, since you introduced a new
>>>>>>> variable 'CCAS' that not exist. The patch below works as temporary
>>>>>>> solution.
>>>>>> Could you be more specific which changeset broke compilation and under
>>>>>> which system? I try to be careful not to interfere with the other build
>>>>>> systems, but maybe I overlooked something.
>>>>>
>>>>> Changeset 9c56d108c141 and b39e8dc859f7:
>>>>>
>>>>> Maybe found the root cause: You add
>>>>> +    MXE_CCAS := gcc
>>>>> in Makefile.in to native build, but not to cross build.
>>>>>
>>>>
>>>> That's indeed a leftover, but AFAIK MXE_CCAS variable is not used
>>>> anywhere, so I don't see how this can be a problem.
>>>> 
>>> Ok, you're right, adding MXE_CCAS doesn't fix the problem.
>>> 
>>> Your patch 'msvc-nettle-1.patch' introduce a variable CCAS to
>>> 'config.make.in <http://config.make.in>'. In 'nettle.mk
>>> <http://nettle.mk>' you set CCAS=gcc for msvc builds. For
>>> non-msvc builds (or at least at my system) CCAS is unknown, so
>>> compiling will fail. 
>> 
>> The real problem is that the mentioned patch should *not* be applied
>> on non-MSVC system. Actually, I see that I made a mistake there [1].
>> This should use "$(MXE_SYSTEM)" instead of hardcoded "msvc". That's
>> why the patch gets applied.
> 
> Should be fixed with this:
> 
> http://hg.octave.org/mxe-octave/rev/fd2f3cb4c360

Works now, thanks.


reply via email to

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