gforth
[Top][All Lists]
Advanced

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

Re: [gforth] Compile gforth on Cygwin


From: Dennis Ruffer
Subject: Re: [gforth] Compile gforth on Cygwin
Date: Sun, 1 Apr 2018 06:00:43 -0700

A note of reminder, this is not Cygwin, but WSL.

 

DaR

 

From: Anton Ertl
Sent: Sunday, April 1, 2018 5:44 AM
To: address@hidden
Subject: Re: [gforth] Compile gforth on Cygwin

 

On Sun, Apr 01, 2018 at 02:24:35PM +0200, Bernd Paysan wrote:

> All chcon errors are ignored one way or the other.  If MASSAGE_EXE is called

> in a longer script line, with ($(MASSAGE_EXE $@ || true), otherwise with

> preceeding - to that line. The latter results in an error message with

> "(ignored)" afterwards.

 

Indeed, the last one looks as follows:

 

cd engine && make libgforth-itc OPT=-noll OPTDEFINES= OPTOBJECTS=dblsub.o

make[1]: Entering directory '/home/druffer/gforth/engine'

make[1]: 'libgforth-itc' is up to date.

make[1]: Leaving directory '/home/druffer/gforth/engine'

ln -s -f engine/libgforth-itc libgforth-itc

chcon -t unconfined_execmem_exec_t libgforth-itc

chcon: can't apply partial context to unlabeled file 'libgforth-itc'

Makefile:1243: recipe for target 'libgforth-itc' failed

make: [libgforth-itc] Error 1 (ignored)

 

> I'll change all those to the || true method, which does not list an error.

 

At least "make" does not report an error, the chcon still does, e.g.:

 

if test -z "-ll-reg"; then \

        for i in -ll-reg -noll-reg -ll -noll; do rm gforth${i}; make DOSTRIP=tru

+e optgforth OPT=$i && cp -p gforth${i} gforth-ll-reg && break; done; \

else \

        (cd engine && make DOSTRIP=true gforth-ll-reg ) && \

        cp -p engine/gforth-ll-reg gforth-ll-reg && \

        (chcon -t unconfined_execmem_exec_t gforth-ll-reg || true); \

        true; \

         make checkone check-nofast ENGINE=./engine/gforth-ll-reg; \

fi

make[3]: Entering directory '/home/druffer/gforth/engine'

make[3]: 'gforth-ll-reg' is up to date.

make[3]: Leaving directory '/home/druffer/gforth/engine'

chcon: can't apply partial context to unlabeled file 'gforth-ll-reg'

 

- anton

 

 

 


reply via email to

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