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
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
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
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
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
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
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
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
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
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
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:
>
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
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
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.
* 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
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.
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
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.
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
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
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.
> ">" == 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
> 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
> "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
> "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.
25 matches
Mail list logo