problem with libtool generated version script and underscores

2008-02-05 Thread Aleksey Demakov
Hi all, I try to build a library (glib to be specific) with a cross-toolchain that prepends underscore to C names. The problem is that the symbols the library has to export do not get exported. The command used to build the library is provided by the end of the message. Please note the option "-e

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Aleksey Demakov
On Feb 6, 2008 2:51 AM, Aleksey Demakov <[EMAIL PROTECTED]> wrote: > I try to build a library (glib to be specific) with a cross-toolchain > that prepends underscore to C names. The problem is that the > symbols the library has to export do not get exported. > By the way my prob

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Aleksey Demakov
On Feb 6, 2008 9:18 PM, Peter O'Gorman <[EMAIL PROTECTED]> wrote: > What is the host triplet for the system that you are building for? > Umm the canonical host name must be something like bfin-unknown-linux. > You need to set archive_expsym_cmds for that system to be similar to > interix[[3-9]]*

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Aleksey Demakov
On Feb 6, 2008 11:51 PM, Mike Frysinger <[EMAIL PROTECTED]> wrote: > > Blackfin is not the only target that utilizes underscore prefixes. a more > generic check (as noted in the previous thread you cited) would be to > consider the define from gcc __USER_LABEL_PREFIX__. > -mike > Please take a lo

Re: problem with libtool generated version script and underscores

2008-02-14 Thread Aleksey Demakov
On Thu, Feb 7, 2008 at 2:23 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > > Please take a look at AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE in libtool.m4. > [...] > > > That is while finding the correct global_symbol_pipe command it uses > > temporary variable $ac_symprfx. I think this variable could

Re: problem with libtool generated version script and underscores

2008-02-24 Thread Aleksey Demakov
On Thu, Feb 14, 2008 at 5:49 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > >>Can we see testsuite output for Libtool 2.1b (see README) for a system > >>that needs a change here? This failure should be exposed already. Esp. > >>the stresstest should expose most use cases here. > > I disagre

Re: problem with libtool generated version script and underscores

2008-02-28 Thread Aleksey Demakov
Hi all, Are there any comments on my patch? Is there anything wrong with it? Regards, Aleksey ___ http://lists.gnu.org/mailman/listinfo/libtool