Re: cross compilation to w32

2008-03-09 Thread Roumen Petrov

Roumen Petrov wrote:

Ralf Wildenhues wrote:

* Roumen Petrov wrote on Sun, Mar 09, 2008 at 05:01:30PM CET:

[SNIP]


Hmm during the tests tests/demo/helldl.exe is compiled many times.
First is ok, later don't produce output(exit code 127) and 
tests/demo/.libs/helldl.exe crash.


Roumen


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: portability of -Lrelative_directory_name

2008-02-24 Thread Roumen Petrov

Bruno Haible wrote:

Hi,

A while ago someone said that if in a build directory I have a (not yet
installed) ../lib/libfoo.la, to link with this library I should *not* use

   libtool ... -L../lib -lfoo

but rather mention the .la file explicitly:

   libtool ... -L../lib ../lib/libfoo.la
or
   libtool ... ../lib/libfoo.la

Now I see the same advice in the second-to-last paragraph of
  http://wiki.finkproject.org/index.php/Fink:Porting_Notes

Is it true that references to non-yet-installed libool libraries should not be
made with -l? If so, it would be worth to document this in the libtool
documentation. I didn't find it there.

Bruno

  


Automake document this in paragraph Program and Library Variables 
xxx_LIBADD and xxx_LDADD

But if project don't use automake may be good libtool to detail too.


Roumen



___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: Word splitting with zsh fix

2006-02-12 Thread Roumen Petrov

Hi Raúl,

I would like to know if option SH_WORD_SPLIT is set problem is solved too ?

Test case:
===
#!/bin/zsh

VAR=v1 v2

for V in ${VAR}; do
 echo V1=$V
done

setopt SH_WORD_SPLIT
for V in ${VAR}; do
 echo V2=$V
done
===
When SH_WORD_SPLIT is set zsh work as bash, ksh, ash etc.


DervishD wrote:

Hi all :)

I've spotted a problem with libtool that has to do with the word
splitting that Zsh does in the expression '${1+$@}' (which, in
turn, is a workaround to fix the $@ expansion problem when the
variable is empty in old shells). GNU autoconf has already corrected
this problem, and I'm using a similar fix for libtool. The patch is
gzipped and attached to this message.

Looking at the SUS (POSIX) standard, I'm not sure if field
splitting should be performed in the above expression or not, so I
don't know if the correct behaviour is what Bash does or what Zsh
does. Anyway, I'm not here looking for a culprit but for a solution.
I will be glad to discuss the issue, anyway, just for curiosity's
sake ;)

I've tested the patch against littlecms sources, because that's
the package where the problem was spotted by David Gómez Espinosa
[EMAIL PROTECTED]. The patch was suggested by Andrey Borzenkov
[EMAIL PROTECTED].

Thanks in advance and happy hacking :)

Raúl Núñez de Arenas Coronado





___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool





___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool