Re: Macro to select c++ as default compiler for c files.

2014-11-03 Thread Pippijn van Steenhoven
On Mon, Nov 03, 2014 at 03:58:14PM +0530, Lakshmi M wrote: > Can anyone please let me know how to use c++ compiler as default for > compiling my c files. One way would be to have, anywhere in your makefiles: CC = $(CXX) That would compile *all* C as C++. signature.asc Description: Digital si

Re: Newbie question: Changelog not found

2014-08-14 Thread Pippijn van Steenhoven
files be located? In the project root, where your Changelog file is. Hint: look at the casing of your file name. -- Pippijn van Steenhoven signature.asc Description: Digital signature

Re: How to run TESTS automatically on each source code change?

2014-07-31 Thread Pippijn van Steenhoven
On Thu, Jul 24, 2014 at 4:48 PM, Steffen Dettmer wrote: > Hi, > > I have a test that generates a log file, which I can manually run via > "make check". Is there a simple way to automate that? For the moment I > just created a pragmatic target "autotest", but I think it is ugly > (and too specific

Re: libtool relink problem

2011-06-30 Thread Pippijn van Steenhoven
On Wed, Jun 29, 2011 at 05:14:19PM +0200, Emmanuel Engelhart wrote: > >> From: Pippijn van Steenhoven >> Date: Mon, Jun 20, 2011 at 4:55 PM >> Subject: Re: libtool relink problem >> To: automake@gnu.org >> >> >> On Sun, Jun 19, 2011 at 03:40:06PM +0530

Re: libtool relink problem

2011-06-20 Thread Pippijn van Steenhoven
ependencies. You can then use tsort(1) to topologically sort the libraries and write the actual ${dir}_LTLIBRARIES to an included .am file. Semantically, this is what I do. In reality, I wrote a preprocessor for automake that does this, but I don't suggest using it, as it's beta a

flex header file

2011-06-12 Thread Pippijn van Steenhoven
Hi, in some of my projects, I use (reentrant) flex with the header-file option. This causes flex to generate a .h file in addition to the usual lex.yy.c file. However, ylwrap doesn't know about this. What would be the correct way to use flex with header files? Regards, -- Pippijn van Steen

Re: GSoC project idea: non-recursive automake project

2011-03-19 Thread Pippijn van Steenhoven
On Sat, Mar 19, 2011 at 10:38:39AM +0100, Pippijn van Steenhoven wrote: > On Fri, Mar 18, 2011 at 05:26:58PM -0700, Harlan Stenn wrote: > > If there was a student interested in showing how "easy" it was to use > > automake to do non-recursive Makefiles for a project,

Re: GSoC project idea: non-recursive automake project

2011-03-19 Thread Pippijn van Steenhoven
operation. It's mostly trivial. How hard are GSoC projects supposed to be? -- Pippijn van Steenhoven signature.asc Description: Digital signature

Re: GSoC project idea: non-recursive automake project

2011-03-19 Thread Pippijn van Steenhoven
On Sat, Mar 19, 2011 at 10:38:39AM +0100, Pippijn van Steenhoven wrote: > On Fri, Mar 18, 2011 at 05:26:58PM -0700, Harlan Stenn wrote: > > If there was a student interested in showing how "easy" it was to use > > automake to do non-recursive Makefiles for a project,

Re: make -j1 fails

2011-01-14 Thread Pippijn van Steenhoven
thout -jN). > Which exact FreeBSD version are you using? I'm kind of suspecting a bug > in the make implementation, or we're overlooking something with > one-shell issues. I am using FreeBSD 8.0-RELEASE-p4. -- Pippijn van Steenhoven signature.asc Description: Digital signature

make -j1 fails

2011-01-13 Thread Pippijn van Steenhoven
trigger the inference rule ".c.lo". Perhaps a solution would be to also generate explicit rules for built sources. I have attached the output of running make with and without -j1. Regards, Pippijn van Steenhoven > make V=1 axl.lo /bin/sh ../autoconf/ylwrap `test -f 'src/compiler/

Re: comments in make variable definition

2010-12-25 Thread Pippijn van Steenhoven
code search (not many entries, luckily, but still). > > Regards, >Stefano Actually it is not always ok. FreeBSD's make chokes on it in some instances: VAR = foo # this comment is ok VAR = foo \ # this is also ok VAR = foo \ # this is ok \ # <- Unassociated shell command Also, it will break $(am__append*) variables, but that is not relevant in this case. -- Pippijn van Steenhoven signature.asc Description: Digital signature

Two TESTS from the same file

2010-12-09 Thread Pippijn van Steenhoven
p.texp: ; @cp $< $@ The copying worked well and everything is ok, except that both .rexp and .texp produce .log, so after one of them has been run, the other one is not run, because the .log already exists. Any ideas on how I can get this to work without adding yet more subdirs? -- Pippij

Re: User extensions

2010-11-13 Thread Pippijn van Steenhoven
is execution graph node coverage, then I agree, but if you mean edge coverage, I don't know how you want to achieve this. Any O(x) where x>1 algorithm anywhere in the code makes it impossible. If I'm wrong, I'd like to know how Stefano produces it. -- Pippijn van Steenhoven signature.asc Description: Digital signature

Re: execvp: /bin/sh: Argument list too long

2010-11-12 Thread Pippijn van Steenhoven
On Thu, Nov 11, 2010 at 09:54:35PM +0100, Ralf Wildenhues wrote: > > In other words, I can't make dist even with GNU make 3.82? What do you > > suggest, then? > > Well, you could try my patch from > http://article.gmane.org/gmane.comp.gnu.make.bugs/4219 > (append /raw to the URL to get it unmangle

Re: execvp: /bin/sh: Argument list too long

2010-11-09 Thread Pippijn van Steenhoven
On Mon, Nov 08, 2010 at 10:11:20PM +0100, Pippijn van Steenhoven wrote: > "make distdir" fails. The Makefile.am is not a single file. A combined > file is here: http://paste.xinu.at/ou4jy/, but I'm not sure that is very > useful. A tarball with all .am files is here: ht

Re: execvp: /bin/sh: Argument list too long

2010-11-09 Thread Pippijn van Steenhoven
On Tue, Nov 09, 2010 at 10:37:24AM -0700, Bob Proulx wrote: > Pippijn van Steenhoven wrote: > > I am root on my (Linux) system and I set the stack size to unlimited. The > > libtool macro reported a few billion (or something other really large) > > for maximum argument l

Re: execvp: /bin/sh: Argument list too long

2010-11-08 Thread Pippijn van Steenhoven
On Mon, Nov 08, 2010 at 03:03:59PM -0500, Paul Smith wrote: > On Mon, 2010-11-08 at 21:01 +0100, Pippijn van Steenhoven wrote: > > I am root on my (Linux) system and I set the stack size to unlimited. > > The libtool macro reported a few billion (or something other really > &g

Re: execvp: /bin/sh: Argument list too long

2010-11-08 Thread Pippijn van Steenhoven
was (understandably) not too popular, > and I haven't gotten back to anything better yet. ;-) In other words, I can't make dist even with GNU make 3.82? What do you suggest, then? -- Pippijn van Steenhoven signature.asc Description: Digital signature

Re: execvp: /bin/sh: Argument list too long

2010-11-08 Thread Pippijn van Steenhoven
On Mon, Nov 08, 2010 at 08:03:06PM +0100, Ralf Wildenhues wrote: > * Pippijn van Steenhoven wrote on Mon, Nov 08, 2010 at 04:55:45PM CET: > > I looked through the mailing list archives and found several questions > > and proposed solutions related to this problem: > > > &

execvp: /bin/sh: Argument list too long

2010-11-08 Thread Pippijn van Steenhoven
7;t help. Maybe storing the list of dist files and check files in a different file and reading this with xargs < $file would help. Any other ideas? -- Pippijn van Steenhoven signature.asc Description: Digital signature

Re: Bison and automake together

2010-11-06 Thread Pippijn van Steenhoven
rrect (aids debugging), header file inclusions will be correct (solves your problem) and it automatically allows for multiple yacc files to coexist in one project. -- Pippijn van Steenhoven signature.asc Description: Digital signature

Re: User extensions

2010-11-01 Thread Pippijn van Steenhoven
mean the feature will soon be in git? -- Pippijn van Steenhoven signature.asc Description: Digital signature

Re: Bison and automake together

2010-11-01 Thread Pippijn van Steenhoven
to exist and #includes. It doesn't know ylwrap renamed it. You are supposed to say %defines "myparser.h" or pass bison a -o option so it produces myparser.c and myparser.h in the first place. -- Pippijn van Steenhoven signature.asc Description: Digital signature

Re: Bison and automake together

2010-10-31 Thread Pippijn van Steenhoven
On Sun, Oct 31, 2010 at 10:55:53PM +, Philip Herron wrote: > Your bison file shouldnt generate any code with includes y.tab.h. You > must have it in your field delcarations for bison. Its only your lexer > needs to see these bison definitions. It does for GLR parsers. -- Pi

Re: ylwrap - flex filename weirdness

2010-10-31 Thread Pippijn van Steenhoven
le. ylwrap doesn't like that. In fact, ylwrap doesn't like multiple parsers in one project, at all... and it doesn't bother renaming flex-generated header files, either. -- Pippijn van Steenhoven signature.asc Description: Digital signature

Re: Bison and automake together

2010-10-31 Thread Pippijn van Steenhoven
when the > scgparser.cc is compiled. What am I missing here? I solved this problem by adding my own y.tab.h which does nothing but #include "scgparser.h". -- Pippijn van Steenhoven signature.asc Description: Digital signature