Re: Infos for Unix/Windows portable library making?

2010-04-25 Thread Ralf Wildenhues
Hello Kārlis, * Kārlis Repsons wrote on Sat, Apr 24, 2010 at 03:03:58PM CEST: > Hopefully this is sufficiently appropriate place to ask for some help with > making a portable library, which should be usable on both Unixes and Windows. > To be short, I'm still quite confused and would appreciate

Re: Infos for Unix/Windows portable library making?

2010-04-25 Thread Kārlis Repsons
On Sunday 25 April 2010 06:48:37 Mike Frysinger wrote: > if the question is cross-compiling with configure, then that's one thing. Well it is my request for some links, where there is intro/overview/examples for cross compiling an autotools project with mingw... The problem is that I don't reall

Re: Infos for Unix/Windows portable library making?

2010-04-25 Thread Thomas Dickey
On Sun, 25 Apr 2010, Mike Frysinger wrote: On Saturday 24 April 2010 17:27:28 Thomas Dickey wrote: On Sat, 24 Apr 2010, Dr. David Kirkby wrote: K??rlis Repsons wrote: Hopefully this is sufficiently appropriate place to ask for some help with making a portable library, which should be usable o

Re: Infos for Unix/Windows portable library making?

2010-04-25 Thread Ralf Wildenhues
* Kārlis Repsons wrote on Sun, Apr 25, 2010 at 12:07:44PM CEST: > On Sunday 25 April 2010 08:22:12 Ralf Wildenhues wrote: > > You can use libtool for portable creation of shared libraries. > > http://www.gnu.org/software/libtool is the place to go to, > > and libt...@gnu.org is the list to ask ques

Re: Prefix for file in source directory used in ./configure?

2010-04-25 Thread Jason Sewall
Russ Allbery writes: > Jason Sewall writes: > > > I have a script in the same directory as my configure.ac that tries to > > clean what commit in my VC we're building. > > > GIT_VERSION=`./GIT-VERSION-GEN` > > > Obviously, that './' in there doesn't work if I try to configure outside > > my source

Re: Prefix for file in source directory used in ./configure?

2010-04-25 Thread Ralf Wildenhues
* Jason Sewall wrote on Sun, Apr 25, 2010 at 05:21:25PM CEST: > Russ Allbery writes: > > > GIT_VERSION=`./GIT-VERSION-GEN` > > > > > Obviously, that './' in there doesn't work if I try to configure outside > > > my source directory. What variable do I need add as prefix to that path > > > to let bu

Re: Prefix for file in source directory used in ./configure?

2010-04-25 Thread Jason Sewall
Ralf Wildenhues gmx.de> writes: > $ac_top_srcdir, as documented in "info Autoconf 'Configuration Actions'". > Since configure is always run the top build directory, it should suffice > to use $srcdir though. Well, perhaps I understand less of autoconf than I thought I did. I tried to put GIT_VER

Re: Prefix for file in source directory used in ./configure?

2010-04-25 Thread Ralf Wildenhues
* Jason Sewall wrote on Sun, Apr 25, 2010 at 07:16:25PM CEST: > Ralf Wildenhues gmx.de> writes: > > $ac_top_srcdir, as documented in "info Autoconf 'Configuration Actions'". > > Since configure is always run the top build directory, it should suffice > > to use $srcdir though. > > Well, perhaps I