Workflow

2013-05-06 Thread Martin Kalbfuß
Hi Guys, I've created a new gtk+ project using autotools. Everything works fine. But it isn't completely clear to me how to use it properly in my development cycle. I write/change code or data. Then I compile. If it compiles and links properly, I run some automated tests and run the program to tes

Support for gnu-pascal

2009-09-14 Thread Martin Kalbfuß
Hi, I try to build a simple hello world program written in pascal(gpc). There's no AC_PROG_GPC or something. So I have to do it on my own. gpc supports all gcc options + some pascal specific options. hat I have so far: confgure.ac: # -*-

Re: Support for gnu-pascal

2009-09-15 Thread Martin Kalbfuß
Thanks a lot. It works now. A native support GNU-Pascal would be fantastic. > -Ursprüngliche Nachricht- > Von: "Ralf Wildenhues" > Gesendet: 15.09.09 06:12:29 > An: Martin Kalbfuß > CC: automake@gnu.org > Betreff: Re: Support for gnu-pascal > Hello Mart

autotest with libraries

2009-09-16 Thread Martin Kalbfuß
Hi again, I try to build up a test suit for my library. I have a description for using autotest for a program. But haven't found anything about testing libraries. Are there any good descriptions or examples? Currently I only have TESTS= slltest check_PROGRAMS = $(TESTS) slltest_SOU

modula-2 modules

2009-09-21 Thread Martin Kalbfuß
Hi, Last time I was here, I asked how to compile a program writen in a foreign language. Now I try to distribute GNU Modula-2 Modules with Autotools. Modula-2 doesn't use archived static libraries like C does. Instead the object files are distributed and installed with the definition modules in a

Re: modula-2 modules

2009-09-21 Thread Martin Kalbfuß
Am Montag, den 21.09.2009, 22:43 +0200 schrieb Ralf Wildenhues: > You'll need to write the rules for compilation yourself. > Thanks for your answer. But I have a problem about lib_LIBRARIES. Automake wants an ".a" suffix. Is there a way to disable this?

autotools selects m2c to compile mod files

2009-09-21 Thread Martin Kalbfuß
Hi, I created my Makefile.am and configure.ac: scr/Makefile.am ### moddir=/home/martin/opt/lib/gcc/i686-pc-linux-gnu/4.1.2/gm2 SUFFIXES = .mod mod.o: $(GM2) $(GM2FLAGS) $(AM_GM2FLAGS) -c -o $@ $< noinst_LIBRARIES = libVectorMath.a l

Re: autotools selects m2c to compile mod files

2009-09-22 Thread Martin Kalbfuß
asking google for "gnu-make m2c" gave me the needed answers. Now my files look like: src/Makefile.am ### moddir=/home/martin/opt/lib/gcc/i686-pc-linux-gnu/4.1.2/gm2 noinst_LIBRARIES = libVectorMath.a libVectorMath_a_SOURCES = VectorMath.mod l

Only compiling objects, without creating a library

2009-10-13 Thread Martin Kalbfuß
Hi, I want to create a library for the GNU-Modula compiler. But the libraries are pure object files in a separate directory. Some kind of package. Is there a target for this? Thanks

Re: Only compiling objects, without creating a library

2009-10-14 Thread Martin Kalbfuß
g step in one go. So most stuff should be already there. Am Mittwoch, den 14.10.2009, 07:01 +0200 schrieb Ralf Wildenhues: > Hello Martin, > > * Martin Kalbfuß wrote on Tue, Oct 13, 2009 at 11:21:13PM CEST: > > I want to create a library for the GNU-Modula compiler. But the >

Tell the linker to use another object suffix

2009-11-23 Thread Martin Kalbfuß
Hi, I replaced the default linker by setting object_LINK to "gm2 -o $@" ,But this doesn't work, because gm2 needs the source file names instead of the object file names. Can I tell automake or make to pass .mod instead of .o to the linker? Thanks -- Martin Kalbfuß

shell variables in configure.ac

2009-12-14 Thread Martin Kalbfuß
Hi, I have the following lines in configure.ac SKMAJOR=0 SKMINOR=1 SKPATCH=2 SDLMAJOR=1 SDLMINOR=2 SDLPATCH=13 AC_PREREQ([2.64]) AC_INIT([SK], [0.1.0-1.2.13], [ma.kalbf...@web.de]) AC_CONFIG_SRCDIR([src/VideoBase.def]) AM_INIT_AUTOMAKE([]) # config.h AC_DEFINE_UNQUOTED([SKMajor], [$SKMAJOR], [M

special dependencies

2009-12-22 Thread Martin Kalbfuß
Hi, I've created the following Makefile.am SUFFIXES = .c .mod .o M2CFLAGS = \ -fcheck-all \ -funbounded-by-reference \ -Wpedantic \ -Wpedantic-param-names \ -Wpedantic-cast \ -fcpp sklibdir = $(libdir)/gm2/sk sklib_LIBRARIES = libsk.a libsk_a_S

development work flow

2010-01-10 Thread Martin Kalbfuß
m should find it's data files. passing something to config.h, use an environment variable or something similar? Thanks, -- Martin Kalbfuß

libname with versio number

2010-01-10 Thread Martin Kalbfuß
found")], [#include ]) But I want to have a configure.ac recognizing later versions up to 4.9.17, too. How would I do this? Thanks, -- Martin Kalbfuß

Re: Baked-in paths

2010-03-14 Thread Martin Kalbfuß
Am Sonntag, den 14.03.2010, 22:29 + schrieb Reuben Thomas: > I imagine this question has been asked before, but searching the > archives, the net and the manual didn't help me with the following: > > I have a C program which loads some scripts at runtime. These are > stored in datadir (e.g. /u

css for html output of texi documentation

2010-07-12 Thread Martin Kalbfuß
Hi, I have written some documentation using textinfo. I have an css files to customize the html output. But I don't know how to tell automake to use the css file for the creation of the html pages. Is this possible? Thanks, Martin

Re: css for html output of texi documentation

2010-07-15 Thread Martin Kalbfuß
Thanks Ralf. This works perfectly. My HTML pages look much more beautiful now. Am Montag, den 12.07.2010, 20:01 +0200 schrieb Ralf Wildenhues: > Hello Martin, > > * Martin Kalbfuß wrote on Mon, Jul 12, 2010 at 12:34:50PM CEST: > > I have written some documentation using textinfo