Re: [dev] [bc]

2018-03-15 Thread Evan Gates
On Tue, Mar 13, 2018 at 12:36 PM, Laslo Hunhold wrote: > - Point: In general I don't see the point of implementing bc directly, >given you can implement it as a dc script. Why don't you strip your >codebase down, write a simple rpn-parser and use your general >arithmetic to build some

Re: [dev] [bc]

2018-03-15 Thread Evan Gates
On Tue, Mar 13, 2018 at 1:56 PM, Michael Forney wrote: > I know next to nothing about bc and what GNU extensions are used by > timeconst.bc, but being able to build a linux kernel sounds like a > good goal to me. However, if timeconst.bc can be changed to use only > portable features of bc (in a w

Re: PATCH: make clean Re: [dev] [st] release 0.8

2018-03-15 Thread Quentin Rameau
> Hm... true. > > Maybe this belongs to 'make distclean'? Or be at least documented. A distclean target would be a better proposal. The Makefile is simple enough to be its own documentation.

Re: PATCH: make clean Re: [dev] [st] release 0.8

2018-03-15 Thread Sanel Zukan
Hm... true. Maybe this belongs to 'make distclean'? Or be at least documented. Best, Sanel Martin Tournoij writes: > On Thu, Mar 15, 2018, at 12:10, Sanel Zukan wrote: >> Here is small patch for 'make clean', to remove generated config.h. >> >> I had generated config.h long time ago and pullin

Re: PATCH: make clean Re: [dev] [st] release 0.8

2018-03-15 Thread Quentin Rameau
> On Thu, Mar 15, 2018, at 12:10, Sanel Zukan wrote: > > Here is small patch for 'make clean', to remove generated config.h. > > > > I had generated config.h long time ago and pulling the latest code + > > compiling it will generate funky compilation errors. > > What if I modified my config.h,

Re: PATCH: make clean Re: [dev] [st] release 0.8

2018-03-15 Thread Martin Tournoij
On Thu, Mar 15, 2018, at 12:10, Sanel Zukan wrote: > Here is small patch for 'make clean', to remove generated config.h. > > I had generated config.h long time ago and pulling the latest code + > compiling it will generate funky compilation errors. What if I modified my config.h, then those chang

Re: PATCH: make clean Re: [dev] [st] release 0.8

2018-03-15 Thread Sanel Zukan
Ooops, cleaning part was in wrong target. Attached fixed patch. Best, Sanel diff --git a/Makefile b/Makefile index 0b3cecd..1e095f0 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,7 @@ st: $(OBJ) clean: rm -f st $(OBJ) st-$(VERSION).tar.gz + rm -f config.h dist: clean mkdir -p st-$(VE

PATCH: make clean Re: [dev] [st] release 0.8

2018-03-15 Thread Sanel Zukan
Hi, Here is small patch for 'make clean', to remove generated config.h. I had generated config.h long time ago and pulling the latest code + compiling it will generate funky compilation errors. Best, Sanel diff --git a/Makefile b/Makefile index 0b3cecd..c7c1005 100644 --- a/Makefile +++ b/Makef