bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How configure libtool on msys/mingw


From: Красько Олександр
Subject: How configure libtool on msys/mingw
Date: Mon, 6 Mar 2006 13:56:32 +0200

Hi all. (forgive  me for my bad English)
I must building gnunet (http://gnunet.org/hacking_win32_build.php3) in
msys/mingw (windows xp). Libtool is thus used but after implementation
./configure I get ./libtool scripts for a msvc environment :
##################
 # When not using gcc, we currently assume that we are using
 # Microsoft Visual C++.

1)fix_srcfile_path=`cygpath -w "$srcfile"`
it is changed by me on :
fix_srcfile_path=`echo "$srcfile"`

2)old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
it is changed by me on :
old_archive_cmds='ar rcs \$oldlib\$oldobjs\$old_deplibs'

3) # FIXME: Setting linknames here is a bad hack.
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo
"$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
##################
I do not know that to me to do  with a variable number of 3, what
replacement I need to conduct in place of "%-link -dll~linknames= %" (
# FIXME: Setting linknames here is and bad hack.) and that in general
these parameters must report ld.exe. Help me please. Without terms of 
"-link -dll~linknames=" I receive error message:
------------------
libmingw32.a(main.o)(.text+0x106):main.c: undefined reference to address@hidden'
collect2: ld returned 1 exit status
make[4]: *** [libgnunetutil.la] Error 1
------------------

p.s. do not judge me, this my the first acquaintance with libtool,
hide by the with environment of mingw/msys in general.
it was send  to following addresses:  address@hidden
address@hidden address@hidden address@hidden
address@hidden
:)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]