RE: compiling scripts to bytecode with Automake?

2014-06-20 Thread anonymous532
Sorry I have no idea how to properly reply to my initial message as I am not subscribed to the mailing list. Anyhow.. Never thought I would write this, but extending Automake is really easy! I'll write my solution here in case someone finds this with a search engine. Below is what I came up wit

Re: compiling different files with different C compilers

2012-06-07 Thread Miles Bader
NightStrike writes: >> suppose that my program is composed of 2 files f1.c and f2.c. f1.c is >> written in C89 and f2.c in C99. I would like that f1.c is compiled >> with a C89 compiler  and f2.c is compiled with a C99 compiler. >> >> How can I achieve that in Makefile.am ? >> >> Also, in configur

Re: compiling different files with different C compilers

2012-06-07 Thread NightStrike
On Thu, Jun 7, 2012 at 12:35 PM, Vincent Torri wrote: > Hey > > suppose that my program is composed of 2 files f1.c and f2.c. f1.c is > written in C89 and f2.c in C99. I would like that f1.c is compiled > with a C89 compiler  and f2.c is compiled with a C99 compiler. > > How can I achieve that in

Re: Compiling statically

2008-07-06 Thread Ralf Wildenhues
Hello Paulo, * Paulo J. Matos wrote on Thu, Jun 26, 2008 at 02:34:50PM CEST: > To compile a program fully-statically I do: > ./configure CPPFLAGS="-DNDEBUG -I../../libfileIO-0.2.3/src" > CXXFLAGS="-O3" LDFLAGS="-static-libgcc -static -Wl,-Bstatic > -L../../libfileIO-0.2.3/src" You can try somethi

Re: Compiling statically

2008-06-26 Thread Paulo J. Matos
Dear all, I am sorry for the repetition of emails but my university internet connection has been up and down lately and I thought it hadn't been sent. Truly sorry, -- Paulo Jorge Matos - pocm at soton.ac.uk http://www.personal.soton.ac.uk/pocm PhD Student @ ECS University of Southampton, UK

Re: Compiling project requiring w/ source requiring different compilers

2008-01-23 Thread Ralf Wildenhues
Hello Jason, * jasond wrote on Tue, Jan 22, 2008 at 08:28:58PM CET: > > I have a > project that will be comprised of two key subbranches: one containing C++ > code that can be compiled into a couple of different libs and a second > branch that contains "mex" files. When I say, "mex" file I speci

Re: compiling in the build time

2005-11-04 Thread Harlan Stenn
You might want to check out the NTP code - I think I have something in there to recompile a new 'version.c' on every link. H

Re: compiling in the build time

2005-11-04 Thread Tim Van Holder
Ralf Wildenhues wrote: > Hi David, Warren. > > * Warren Young wrote on Fri, Nov 04, 2005 at 01:49:42AM CET: > >>David Byron wrote: >> >>>What I'm having trouble with is getting the builddate.c recipe to happen >>>at the right time. >> >>Could you make it depend on *.o except for builddate.o? I

RE: compiling in the build time

2005-11-04 Thread David Byron
On Friday, November 4th, Ralf Wildenhues wrote: > Can't you just make it depend on the other source files? > > builddate.c: $(geoidx_SOURCES) > echo ... > > Don't forget to mention the header file somewhere, by the > way (in geoidx_SOURCES would be fine). I could, but what about any

Re: compiling in the build time

2005-11-04 Thread Ralf Wildenhues
Hi Tim, * Tim Van Holder wrote on Fri, Nov 04, 2005 at 04:33:49PM CET: > Ralf Wildenhues wrote: > > > > Can't you just make it depend on the other source files? > > > > builddate.c: $(geoidx_SOURCES) > > echo ... > > Well, it all depends on what "the build timestamp" is supposed to

Re: compiling in the build time

2005-11-04 Thread n.g.
how about this ? : builddate.c: geoidx.c echo $date > buildate.c On 11/4/05, David Byron <[EMAIL PROTECTED]> wrote: > This feels like a faq, but I couldn't find anything related so here > goes. > > I'd like to compile in the build time into my application. I have a > recipe like this: >

Re: compiling in the build time

2005-11-04 Thread Ralf Wildenhues
Hi David, Warren. * Warren Young wrote on Fri, Nov 04, 2005 at 01:49:42AM CET: > David Byron wrote: > > > >What I'm having trouble with is getting the builddate.c recipe to happen > >at the right time. > > Could you make it depend on *.o except for builddate.o? If any of those > change, rebui

Re: compiling in the build time

2005-11-04 Thread Stepan Kasal
Hello, On Thu, Nov 03, 2005 at 10:40:35AM -0800, David Byron wrote: > geoidx: $(OBJS) > > > > > But I'm not sure how to get automake to generate a Makefile like this. one idea: 1) add a dependecy: geoidx_DEPENDENCIES = builddate-stamp (Look at the generated Makefile.in, if geoidx_DEPE

Re: compiling in the build time

2005-11-03 Thread Warren Young
David Byron wrote: What I'm having trouble with is getting the builddate.c recipe to happen at the right time. Could you make it depend on *.o except for builddate.o? If any of those change, rebuild builddate.c, which will cause builddate.o to be rebuilt.

Re: Compiling large number of files

2004-10-06 Thread Ralf Wildenhues
* v p wrote on Thu, Oct 07, 2004 at 01:08:54AM CEST: > Hi Guys, > I have a question. I am using autotools to build my static library. > The way I do it is, I have a Makefile.am as > lib_LIBRARIES = libmylib.a > libmylib_a_SOURCES = xyz.c abc.c etc. > > The problem is the number of source files is

Re: Compiling large number of files

2004-10-06 Thread Warren Young
v p wrote: I have a much faster build on windows and the windows project compiles a bunch of files at a time. Visual C++ is a much faster compiler than g++. automake and make do not enter into it.

Re: Compiling large number of files

2004-10-06 Thread v p
I have a much faster build on windows and the windows project compiles a bunch of files at a time. So, I thought that might be the reason. Looks like it is not. -VP On Wed, 06 Oct 2004 17:31:46 -0600, Warren Young <[EMAIL PROTECTED]> wrote: > v p wrote: > > Loading 'gcc' into memory for each file

Re: Compiling large number of files

2004-10-06 Thread Warren Young
v p wrote: Loading 'gcc' into memory for each file is a time consuming process Have you measured this, or are you speculating? If I could make generated makefile do this, my build process will be much faster. This is a limitation of make, not of the autotools.

Re: Compiling large number of files

2004-10-06 Thread Bob Friesenhahn
On Wed, 6 Oct 2004, v p wrote: Hi Guys, I have a question. I am using autotools to build my static library. The way I do it is, I have a Makefile.am as lib_LIBRARIES = libmylib.a libmylib_a_SOURCES = xyz.c abc.c etc. The problem is the number of source files is huge (1659 files to be precise) and t

RE: Compiling 32-bit code on 64-bit HP-UX

2003-09-23 Thread Boehne, Robert
Martin, Even on a 64-bit capable machine, aCC defaults to 32-bit libraries. Having config.guess return hppa2.0w does not change the output that is produced, aCC will produce whatever you tell it to (32-bit by default). When you're running a configure script you want to set both (for C) CPPFLAGS a

Re: Compiling 32-bit code on 64-bit HP-UX

2003-09-23 Thread Kevin Ryde
Martin Frydl <[EMAIL PROTECTED]> writes: > > - config.guess does not use CFLAGS when making compilation checks but > this can be "fixed" by providing necessary flags directly in CC > variable I think the cpu type guessed is supposed to depend only on the system, not on an intended compiler mode.

Re: Compiling

2001-12-31 Thread Tom Tromey
> ">" == Srinivas Cheruku <[EMAIL PROTECTED]> writes: >> I have downloaded dejagnu-1.4.2. I have done >> Making check in libdejagnu >> mksh: Fatal error in reader: = missing from replacement macro reference I have no idea why this might happen, sorry. You'd probably have to ask on the dejag

RE: Compiling

2001-12-30 Thread Srinivas Cheruku
> To: Srinivas Cheruku > Cc: [EMAIL PROTECTED] > Subject: Re: Compiling > > >>>>> "Srinivas" == Srinivas Cheruku <[EMAIL PROTECTED]> writes: > > Srinivas> runtest not found, check skipped > > Srinivas> It says check skipped. can y

Re: Compiling

2001-12-30 Thread Tom Tromey
> "Srinivas" == Srinivas Cheruku <[EMAIL PROTECTED]> writes: Srinivas> runtest not found, check skipped Srinivas> It says check skipped. can you tell me why it has skipped Srinivas> the check. "runtest not found". `runtest' is the name of the dejagnu driver program. You must not have dejagn

Re: Compiling different extensions based on packages

2001-04-04 Thread Akim Demaille
> "Lars" == Lars von Wedel <[EMAIL PROTECTED]> writes: Lars> How would these best be taken into account in Lars> configure.in/Makefile.am? See the node `The top-level `Makefile.am´ in the doc.