On Sun, Sep 7, 2008 at 2:11 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> * Steven Woody wrote on Sun, Sep 07, 2008 at 07:53:43AM CEST:
>> On Tue, Sep 2, 2008 at 2:35 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
>> > Erm, have you tried
>> > CC=
On Tue, Sep 2, 2008 at 2:35 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> Hello Steven,
>
> * Steven Woody wrote on Sun, Aug 31, 2008 at 09:50:26AM CEST:
>> On Sun, Aug 31, 2008 at 11:21 AM, Ralf Wildenhues wrote:
>> >>
>> > Please try
>> >
On Sun, Aug 31, 2008 at 11:21 AM, Ralf Wildenhues
<[EMAIL PROTECTED]> wrote:
> Hello Steven,
>
> * Steven Woody wrote on Sat, Aug 30, 2008 at 05:10:06PM CEST:
>>
>> For some reasons I need to cross-compile a tar-1.13, the target is ARM
>> and the build host is i
Hi,
For some reasons I need to cross-compile a tar-1.13, the target is ARM
and the build host is i686-pc-linux-gnu. The tar-1.13's source come
with a configure, that seems generated from a very old version of
automake. For recent automake version, I have success experience to
do cross-compiling,
Thanks!
On Thu, Aug 21, 2008 at 1:42 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> * Peter Johansson wrote on Wed, Aug 20, 2008 at 05:23:10AM CEST:
>> Steven Woody wrote:
>>> 2. What's the difference between @varname@ and $(varname) in a
>>> Makefile.am
> Hi Steven,
>
> If I remember correctly a changed value in "-D flag" will not cause
> re-compilation, so if it is important that the version information
> propagates to your binary, it is likely better to generate a header file or
> even a source file than using these CPPFLAGS. I'm doing that in o
On Tue, Aug 19, 2008 at 3:43 PM, Brian Dessent <[EMAIL PROTECTED]> wrote:
> Steven Woody wrote:
>
>> Thank you. Adding -Wno-portablility to AM_INIT_AUTOMAKE works. But I
>> don't understand your other words: "For the former,
>> run the script at con
On Tue, Aug 19, 2008 at 10:51 AM, Brian Dessent <[EMAIL PROTECTED]> wrote:
> Steven Woody wrote:
>
>> How do I remove these warnings when do automake:
>>
>> src/rmeterd/Makefile.am:9: shell ../../svndate-sh: non-POSIX variable
>> name
>> src/r
Hi,
How do I remove these warnings when do automake:
src/rmeterd/Makefile.am:9: shell ../../svndate-sh: non-POSIX variable name
src/rmeterd/Makefile.am:9: (probably a GNU make extension)
in the Makefile.am, I did something like this:
rmeterd_CXXFLAGS = \
-D'SVN_
On Tue, Jul 8, 2008 at 2:00 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> * Ralf Wildenhues wrote on Mon, Jul 07, 2008 at 07:58:01PM CEST:
>> You'll want to use something like
>>
>> install-data-hook:
>> mkdir -p $(DESTDIR)$(localstatedir)/run
>
> Erm, for portability, either $(mkdir_p) (A
On Mon, Jul 7, 2008 at 3:17 PM, Steven Woody <[EMAIL PROTECTED]> wrote:
> On Mon, Jul 7, 2008 at 1:32 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
>> Hello Steven,
>>
>> * Steven Woody wrote on Mon, Jul 07, 2008 at 07:20:44AM CEST:
>>>
>>> Af
On Mon, Jul 7, 2008 at 1:32 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> Hello Steven,
>
> * Steven Woody wrote on Mon, Jul 07, 2008 at 07:20:44AM CEST:
>>
>> After 'make install', I want to do some post-install things such as
>> creating some d
Hi,
After 'make install', I want to do some post-install things such as
creating some directories, run a script etc. What is valid method in
Makefile.am to do this? Thank you.
On Mon, Jun 30, 2008 at 7:15 PM, Harlan Stenn <[EMAIL PROTECTED]> wrote:
>> On Mon, Jun 30, 2008 at 4:39 PM, Harlan Stenn <[EMAIL PROTECTED]> wrote:
>> > sysconf_SCRIPTS
>> >
>>
>> Hi,
>>
>> If I do that, 'automake' will fail and report:
>>
>> Makefile.am:10: `sysconfdir' is not a legitimate dire
On Mon, Jun 30, 2008 at 4:39 PM, Harlan Stenn <[EMAIL PROTECTED]> wrote:
> sysconf_SCRIPTS
>
Hi,
If I do that, 'automake' will fail and report:
Makefile.am:10: `sysconfdir' is not a legitimate directory for `SCRIPTS'
Did you miss somthing?
Hi,
I use "sysconf_DATA= etc/net.up etc/net.down" in my Makefile.am
and expect that when I run 'make install' then those shell scripts
(net.up, net.down) can be installed in PREFIX/etc . It really work,
just except that these scripts are not chmod to executable. How do I
make it happen? Tha
On Sat, Jun 7, 2008 at 3:46 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> * Steven Woody wrote on Fri, Jun 06, 2008 at 08:34:05PM CEST:
>> Before received your post, I tried
>> _CFLAGS = @AM_CFLAGS@ -additional-flags ...
>> but failed, but
>> _CFLA
On Sat, Jun 7, 2008 at 3:38 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> Hello Steven,
>
> * Steven Woody wrote on Fri, Jun 06, 2008 at 08:54:59PM CEST:
>> In my system, the default CXXFLAGS is '-g -O2'. But, for a particular
>> program, I need -O0 an
When I use autoconf/automake with its integrated libtool to build a
shared library, I got shared libraray named 'libfoo.so.0.0.0'. I
don't sure where the 0.0.0 comes from, and I don't like it. How can I
change it? I searched info page but found no answer.
Thanks in advance.
-
narke
In my system, the default CXXFLAGS is '-g -O2'. But, for a particular
program, I need -O0 and without -g. I tried something like:
bin_PROGRAS = xxx
xxx_CXXFLAGS = -O0
in Makefile.am. But, the final CXXFLAGS used when I compile is
actually -O0 -g -O2, the default CXXFLAGS appended to my xxx_C
On Sat, Jun 7, 2008 at 1:23 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> * Steven Woody wrote on Fri, Jun 06, 2008 at 06:44:46PM CEST:
>> On Sat, Jun 7, 2008 at 12:22 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
>> >
>> > (you can also AC_SUBST([AM_C
On Sat, Jun 7, 2008 at 12:30 AM, John Calcote <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Steven Woody wrote:
>> Hi,
>>
>> I want all my stuff by default installed in /usr/local/mypkg unless
>> user specified another &
On Sat, Jun 7, 2008 at 12:22 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> Hello Steven,
>
> * Steven Woody wrote on Fri, Jun 06, 2008 at 06:17:30PM CEST:
>>
>> My project tree have many Makefile.am in a recursive directory tree
>> and I want every Makef
Hi,
I want all my stuff by default installed in /usr/local/mypkg unless
user specified another 'preflex' value when run 'configure' script.
How can I? Thank you.
-
narke
Hi,
My project tree have many Makefile.am in a recursive directory tree
and I want every Makefile.am has a line some thing like xxx_CFLAGS =
-Wall. What's the way to do that? You see, there are many different
xxx_ in different Makefile.am.
Thanks.
-
narke
On 10/16/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> Hello Steven,
>
> * Steven Woody wrote on Mon, Oct 15, 2007 at 05:45:57PM CEST:
> > On 10/15/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> > >
> > > This looks like this file has been gener
On 10/15/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> * Steven Woody wrote on Mon, Oct 15, 2007 at 10:16:20AM CEST:
> >
> > ~/motconv/trunk/test$ grep -C2 TESTS Makefile.in
> > sysconfdir = @sysconfdir@
> > target_alias = @target_alias@
> > TESTS = All
On 10/15/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> * Steven Woody wrote on Mon, Oct 15, 2007 at 10:16:20AM CEST:
> >
> > ~/motconv/trunk/test$ grep -C2 TESTS Makefile.in
> > sysconfdir = @sysconfdir@
> > target_alias = @target_alias@
> > TESTS = All
On 10/15/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> Hello Steven,
>
> * Steven Woody wrote on Sun, Oct 14, 2007 at 05:51:45AM CEST:
> >
> > AC_INIT( [ motconv ], [ 0.1 ], [ [EMAIL PROTECTED] ] )
> > AM_INIT_AUTOMAKE( [ -Wall -Werror f
hi,
i wrote a simple sample program as well as a cpp-unit test, and then
use automake in both cygwin and linux to generate `configure' and
Makefile.in. it works well in these platforms, but has problem when
do configure/make in MinGW's MSYS. It seems the Makeifle generated
from `./configure' scri
hi,
in my automake-managed directory tree, there are some external sources
which came with plain Makefiles. i want to ask you folks, when i type
in a 'make' or 'make clean' at the top directory, how can i let the
automake dive into those external source directories and run 'make '
and 'make clea
On 9/20/06, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
Hello Steven,
* steven woody wrote on Wed, Sep 20, 2006 at 08:42:28AM CEST:
> i have a project which need to be build both on linux and cygwin. i
> have to set the LDFLAGS = -pthread in linux but it leads an error in
&g
i have a project which need to be build both on linux and cygwin. i
have to set the LDFLAGS = -pthread in linux but it leads an error in
cygwin. can automake help me? i inserted the LDFLAGS line in
Makefile.am.
thanks.
--
woody
then sun rose thinly from the sea and the old man could see the
On 1/3/06, Bob Friesenhahn <[EMAIL PROTECTED]> wrote:
> On Tue, 3 Jan 2006, Steven Woody wrote:
>
> > on linux, simplly adding a '-pthread' option to the command line gcc, i can
> > make a multi-thread c program. but if using automake, i only got many
> > u
on linux, simplly adding a '-pthread' option to the command line gcc, i can
make a multi-thread c program. but if using automake, i only got many
undefined reference to pthread_xxx errors. i've already add the '-pthread'
to the myprogram_CFLAGS variable.
can anyone help
Ralf Wildenhues <[EMAIL PROTECTED]> writes:
> Hi Steven,
>
> * Steven Woody wrote on Tue, Nov 15, 2005 at 02:23:50PM CET:
>>
>> the 'ld' has an option letting me print a link map, but this option need an
>> file name as argument. so i can not simply s
the 'ld' has an option letting me print a link map, but this option need an
file name as argument. so i can not simply specify a LDFLAGS since that is
different map file name for each object or executable. What do i do? thanks.
--
steven woody (id: narke)
Ralf Wildenhues <[EMAIL PROTECTED]> writes:
thank you Ralf. you solved the problem!
> Hi Steven,
>
> * Steven Woody wrote on Thu, Nov 10, 2005 at 06:56:52PM CET:
>> i have a main.cpp in top directory and some modules in sub-directories. each
>> module compiled as a
ing with my steps? thanks for your help.
--
steven woody (id: narke)
Virginia Woolf: You cannot find peace by avoiding life, Leonard.
- The Hours (2002)
Ralf Corsepius <[EMAIL PROTECTED]> writes:
>
> To check for C++-headers you normally have to tell the configure script
> to switch languages/compilers.
>
> Example:
> # This uses the c-compiler
> AC_CHECK_HEADERS([limits.h])
>
> # This uses the c++-compiler
> AC_LANG_PUSH([C++])
> AC_CHECK_HEADERS
Ralf Corsepius <[EMAIL PROTECTED]> writes:
> On Wed, 2005-10-26 at 21:52 +0800, Steven Woody wrote:
>> Stepan Kasal <[EMAIL PROTECTED]> writes:
>>
>> > Hello,
>> >
>> > On Tue, Oct 25, 2005 at 10:23:55PM +0800, Steven Wo
Andreas Schwab <[EMAIL PROTECTED]> writes:
> Ralf Corsepius <[EMAIL PROTECTED]> writes:
>
>> limits.h is a POSIX header. On linux it is supplied by GCC.
>>
>> So if you want to check for "limits", you should use
>> AC_CHECK_HEADERS([limits])
>>
>> If this fails, something else is broken and you wi
Stepan Kasal <[EMAIL PROTECTED]> writes:
> Hello,
>
> On Tue, Oct 25, 2005 at 10:23:55PM +0800, Steven Woody wrote:
>> #ifdef HAVE_LIMITS
>
> add line
>
> AC_CHECK_HEADERS([limits])
>
> to configure.ac (or configure.in).
>
> HTH,
> Stepan
including the header will never pass compile becase HAVE_LIMITS was
not set by the ./configure, hence the header will ask the
which however does not exist on my system.
does anyone know what's the cause and gets a solution?
--
steven woody (id: narke)
Can two friends sleep together and still love
44 matches
Mail list logo