On Mon, 27 Oct 2008, Ralf Wildenhues wrote:

It would help if you posted, for a library where this fails, the output
of the './libtool --mode=link' line with --debug added as first
argument;

the command is:

/bin/sh ../../../libtool --debug --tag=CC --mode=link arm-mingw32ce-gcc -g -O2 -no-undefined -Wl,--enable-auto-import -version-info 0:1:0 -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib -o libdl.la -rpath /home/torri/local/wince/lib libdl_la-dlfcn.lo ../../../src/lib/libevil.la > libtool_link.txt 2>&1

the result is in the attached file libtool_link.txt


also, please post the output of
 ./libtool --tag=CXX --config

the result is in the  attached file libtool_config.txt

thank you

Vincent Torri
libtool: enabling shell trace mode
+ test 17 -gt 0
+ opt=--tag=CC
+ shift
+ case $opt in
+ func_opt_split --tag=CC
+ func_opt_split_opt=--tag
+ func_opt_split_arg=CC
+ set dummy --tag CC --mode=link arm-mingw32ce-gcc -g -O2 -no-undefined 
-Wl,--enable-auto-import -version-info 0:1:0 -L/home/torri/local/wince/lib 
-L/home/torri/local/opt/cegcc/lib -o libdl.la -rpath 
/home/torri/local/wince/lib libdl_la-dlfcn.lo ../../../src/lib/libevil.la
+ shift
+ test 18 -gt 0
+ opt=--tag
+ shift
+ case $opt in
+ test 17 -eq 0
+ preserve_args=' --debug --tag CC'
+ func_enable_tag CC
+ tagname=CC
+ re_begincf='^# ### BEGIN LIBTOOL TAG CONFIG: CC$'
+ re_endcf='^# ### END LIBTOOL TAG CONFIG: CC$'
+ sed_extractcf='/^# ### BEGIN LIBTOOL TAG CONFIG: CC$/,/^# ### END LIBTOOL TAG 
CONFIG: CC$/p'
+ case $tagname in
+ case $tagname in
+ shift
+ test 16 -gt 0
+ opt=--mode=link
+ shift
+ case $opt in
+ func_opt_split --mode=link
+ func_opt_split_opt=--mode
+ func_opt_split_arg=link
+ set dummy --mode link arm-mingw32ce-gcc -g -O2 -no-undefined 
-Wl,--enable-auto-import -version-info 0:1:0 -L/home/torri/local/wince/lib 
-L/home/torri/local/opt/cegcc/lib -o libdl.la -rpath 
/home/torri/local/wince/lib libdl_la-dlfcn.lo ../../../src/lib/libevil.la
+ shift
+ test 17 -gt 0
+ opt=--mode
+ shift
+ case $opt in
+ test 16 -eq 0
+ case $1 in
+ mode=link
+ shift
+ test 15 -gt 0
+ opt=arm-mingw32ce-gcc
+ shift
+ case $opt in
+ nonopt=arm-mingw32ce-gcc
+ break
+ case $host in
+ opt_duplicate_compiler_generated_deps=:
+ : 1
+ false
+ func_check_version_match
+ test 1.3012 '!=' 1.3012
+ test yes '!=' yes
+ test -z link
+ eval 'std_shrext=".dll"'
++ std_shrext=.dll
+ test -n ''
+ generic_help='Try `libtool --help'\'' for more information.'
+ help='Try `libtool --help --mode=link'\'' for more information.'
+ false
+ test link = compile
+ false
+ test link = execute
+ test link = finish
+ test link = install
+ test link = link
+ func_mode_link -g -O2 -no-undefined -Wl,--enable-auto-import -version-info 
0:1:0 -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib -o 
libdl.la -rpath /home/torri/local/wince/lib libdl_la-dlfcn.lo 
../../../src/lib/libevil.la
+ set -x
+ case $host in
+ allow_undefined=yes
+ libtool_args=arm-mingw32ce-gcc
+ base_compile='arm-mingw32ce-gcc -g -O2 -no-undefined -Wl,--enable-auto-import 
-version-info 0:1:0 -L/home/torri/local/wince/lib 
-L/home/torri/local/opt/cegcc/lib -o libdl.la -rpath 
/home/torri/local/wince/lib libdl_la-dlfcn.lo ../../../src/lib/libevil.la'
+ compile_command=arm-mingw32ce-gcc
+ finalize_command=arm-mingw32ce-gcc
+ compile_rpath=
+ finalize_rpath=
+ compile_shlibpath=
+ finalize_shlibpath=
+ convenience=
+ old_convenience=
+ deplibs=
+ old_deplibs=
+ compiler_flags=
+ linker_flags=
+ dllsearchpath=
++ pwd
+ lib_search_path=/home/torri/tmp/svnroot_wince/e17/proto/evil/src/lib/.libs
+ inst_prefix_dir=
+ new_inherited_linker_flags=
+ avoid_version=no
+ dlfiles=
+ dlprefiles=
+ dlself=no
+ export_dynamic=no
+ export_symbols=
+ export_symbols_regex=
+ generated=
+ libobjs=
+ ltlibs=
+ module=no
+ no_install=no
+ objs=
+ non_pic_objects=
+ precious_files_regex=
+ prefer_static_libs=no
+ preload=no
+ prev=
+ prevarg=
+ release=
+ rpath=
+ xrpath=
+ perm_rpath=
+ temp_rpath=
+ thread_safe=no
+ vinfo=
+ vinfo_number=no
+ weak_libs=
+ single_module=-Wl,-single_module
+ func_infer_tag arm-mingw32ce-gcc -g -O2 -no-undefined 
-Wl,--enable-auto-import -version-info 0:1:0 -L/home/torri/local/wince/lib 
-L/home/torri/local/opt/cegcc/lib -o libdl.la -rpath 
/home/torri/local/wince/lib libdl_la-dlfcn.lo ../../../src/lib/libevil.la
+ set -x
+ test -n 'CXX '
+ test -z CC
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ for arg in '"$@"'
+ case $arg in
+ test -n ''
+ test 14 -gt 0
+ arg=-g
+ shift
+ func_quote_for_eval -g
+ case $1 in
+ func_quote_for_eval_unquoted_result=-g
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=-g
+ qarg=-g
+ func_append libtool_args ' -g'
+ eval 'libtool_args+=$2'
++ libtool_args+=' -g'
+ test -n ''
+ prevarg=-g
+ case $arg in
+ func_quote_for_eval -g
+ case $1 in
+ func_quote_for_eval_unquoted_result=-g
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=-g
+ arg=-g
+ test -n -g
+ func_append compile_command ' -g'
+ eval 'compile_command+=$2'
++ compile_command+=' -g'
+ func_append finalize_command ' -g'
+ eval 'finalize_command+=$2'
++ finalize_command+=' -g'
+ test 13 -gt 0
+ arg=-O2
+ shift
+ func_quote_for_eval -O2
+ case $1 in
+ func_quote_for_eval_unquoted_result=-O2
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=-O2
+ qarg=-O2
+ func_append libtool_args ' -O2'
+ eval 'libtool_args+=$2'
++ libtool_args+=' -O2'
+ test -n ''
+ prevarg=-O2
+ case $arg in
+ func_quote_for_eval -O2
+ case $1 in
+ func_quote_for_eval_unquoted_result=-O2
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=-O2
+ arg=-O2
+ test -n -O2
+ func_append compile_command ' -O2'
+ eval 'compile_command+=$2'
++ compile_command+=' -O2'
+ func_append finalize_command ' -O2'
+ eval 'finalize_command+=$2'
++ finalize_command+=' -O2'
+ test 12 -gt 0
+ arg=-no-undefined
+ shift
+ func_quote_for_eval -no-undefined
+ case $1 in
+ func_quote_for_eval_unquoted_result=-no-undefined
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=-no-undefined
+ qarg=-no-undefined
+ func_append libtool_args ' -no-undefined'
+ eval 'libtool_args+=$2'
++ libtool_args+=' -no-undefined'
+ test -n ''
+ prevarg=-no-undefined
+ case $arg in
+ allow_undefined=no
+ continue
+ test 11 -gt 0
+ arg=-Wl,--enable-auto-import
+ shift
+ func_quote_for_eval -Wl,--enable-auto-import
+ case $1 in
+ func_quote_for_eval_unquoted_result=-Wl,--enable-auto-import
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=-Wl,--enable-auto-import
+ qarg=-Wl,--enable-auto-import
+ func_append libtool_args ' -Wl,--enable-auto-import'
+ eval 'libtool_args+=$2'
++ libtool_args+=' -Wl,--enable-auto-import'
+ test -n ''
+ prevarg=-Wl,--enable-auto-import
+ case $arg in
+ func_stripname -Wl, '' -Wl,--enable-auto-import
+ func_stripname_result=-Wl,--enable-auto-import
+ func_stripname_result=--enable-auto-import
+ func_stripname_result=--enable-auto-import
+ args=--enable-auto-import
+ arg=
+ save_ifs='    
'
+ IFS=,
+ for flag in '$args'
+ IFS='         
'
+ func_quote_for_eval --enable-auto-import
+ case $1 in
+ func_quote_for_eval_unquoted_result=--enable-auto-import
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=--enable-auto-import
+ arg=' -Wl,--enable-auto-import'
+ compiler_flags=' -Wl,--enable-auto-import'
+ linker_flags=' --enable-auto-import'
+ IFS='         
'
+ func_stripname ' ' '' ' -Wl,--enable-auto-import'
+ func_stripname_result=' -Wl,--enable-auto-import'
+ func_stripname_result=-Wl,--enable-auto-import
+ func_stripname_result=-Wl,--enable-auto-import
+ arg=-Wl,--enable-auto-import
+ test -n -Wl,--enable-auto-import
+ func_append compile_command ' -Wl,--enable-auto-import'
+ eval 'compile_command+=$2'
++ compile_command+=' -Wl,--enable-auto-import'
+ func_append finalize_command ' -Wl,--enable-auto-import'
+ eval 'finalize_command+=$2'
++ finalize_command+=' -Wl,--enable-auto-import'
+ test 10 -gt 0
+ arg=-version-info
+ shift
+ func_quote_for_eval -version-info
+ case $1 in
+ func_quote_for_eval_unquoted_result=-version-info
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=-version-info
+ qarg=-version-info
+ func_append libtool_args ' -version-info'
+ eval 'libtool_args+=$2'
++ libtool_args+=' -version-info'
+ test -n ''
+ prevarg=-version-info
+ case $arg in
+ prev=vinfo
+ continue
+ test 9 -gt 0
+ arg=0:1:0
+ shift
+ func_quote_for_eval 0:1:0
+ case $1 in
+ func_quote_for_eval_unquoted_result=0:1:0
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=0:1:0
+ qarg=0:1:0
+ func_append libtool_args ' 0:1:0'
+ eval 'libtool_args+=$2'
++ libtool_args+=' 0:1:0'
+ test -n vinfo
+ case $prev in
+ case $prev in
+ eval 'vinfo="$arg"'
++ vinfo=0:1:0
+ prev=
+ continue
+ test 8 -gt 0
+ arg=-L/home/torri/local/wince/lib
+ shift
+ func_quote_for_eval -L/home/torri/local/wince/lib
+ case $1 in
+ func_quote_for_eval_unquoted_result=-L/home/torri/local/wince/lib
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=-L/home/torri/local/wince/lib
+ qarg=-L/home/torri/local/wince/lib
+ func_append libtool_args ' -L/home/torri/local/wince/lib'
+ eval 'libtool_args+=$2'
++ libtool_args+=' -L/home/torri/local/wince/lib'
+ test -n ''
+ prevarg=-L/home/torri/local/wince/lib
+ case $arg in
+ func_stripname -L '' -L/home/torri/local/wince/lib
+ func_stripname_result=-L/home/torri/local/wince/lib
+ func_stripname_result=/home/torri/local/wince/lib
+ func_stripname_result=/home/torri/local/wince/lib
+ dir=/home/torri/local/wince/lib
+ test -z /home/torri/local/wince/lib
+ case $dir in
+ case "$deplibs " in
+ deplibs=' -L/home/torri/local/wince/lib'
+ lib_search_path='/home/torri/tmp/svnroot_wince/e17/proto/evil/src/lib/.libs 
/home/torri/local/wince/lib'
+ case $host in
++ echo X/home/torri/local/wince/lib
++ /bin/sed -e '1s/^X//' -e 's*/lib$*/bin*'
+ testbindir=/home/torri/local/wince/bin
+ case :$dllsearchpath: in
+ dllsearchpath=/home/torri/local/wince/lib
+ case :$dllsearchpath: in
+ dllsearchpath=/home/torri/local/wince/lib:/home/torri/local/wince/bin
+ continue
+ test 7 -gt 0
+ arg=-L/home/torri/local/opt/cegcc/lib
+ shift
+ func_quote_for_eval -L/home/torri/local/opt/cegcc/lib
+ case $1 in
+ func_quote_for_eval_unquoted_result=-L/home/torri/local/opt/cegcc/lib
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=-L/home/torri/local/opt/cegcc/lib
+ qarg=-L/home/torri/local/opt/cegcc/lib
+ func_append libtool_args ' -L/home/torri/local/opt/cegcc/lib'
+ eval 'libtool_args+=$2'
++ libtool_args+=' -L/home/torri/local/opt/cegcc/lib'
+ test -n ''
+ prevarg=-L/home/torri/local/opt/cegcc/lib
+ case $arg in
+ func_stripname -L '' -L/home/torri/local/opt/cegcc/lib
+ func_stripname_result=-L/home/torri/local/opt/cegcc/lib
+ func_stripname_result=/home/torri/local/opt/cegcc/lib
+ func_stripname_result=/home/torri/local/opt/cegcc/lib
+ dir=/home/torri/local/opt/cegcc/lib
+ test -z /home/torri/local/opt/cegcc/lib
+ case $dir in
+ case "$deplibs " in
+ deplibs=' -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib'
+ lib_search_path='/home/torri/tmp/svnroot_wince/e17/proto/evil/src/lib/.libs 
/home/torri/local/wince/lib /home/torri/local/opt/cegcc/lib'
+ case $host in
++ echo X/home/torri/local/opt/cegcc/lib
++ /bin/sed -e '1s/^X//' -e 's*/lib$*/bin*'
+ testbindir=/home/torri/local/opt/cegcc/bin
+ case :$dllsearchpath: in
+ 
dllsearchpath=/home/torri/local/wince/lib:/home/torri/local/wince/bin:/home/torri/local/opt/cegcc/lib
+ case :$dllsearchpath: in
+ 
dllsearchpath=/home/torri/local/wince/lib:/home/torri/local/wince/bin:/home/torri/local/opt/cegcc/lib:/home/torri/local/opt/cegcc/bin
+ continue
+ test 6 -gt 0
+ arg=-o
+ shift
+ func_quote_for_eval -o
+ case $1 in
+ func_quote_for_eval_unquoted_result=-o
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=-o
+ qarg=-o
+ func_append libtool_args ' -o'
+ eval 'libtool_args+=$2'
++ libtool_args+=' -o'
+ test -n ''
+ prevarg=-o
+ case $arg in
+ prev=output
+ test -n -o
+ func_append compile_command ' -o'
+ eval 'compile_command+=$2'
++ compile_command+=' -o'
+ func_append finalize_command ' -o'
+ eval 'finalize_command+=$2'
++ finalize_command+=' -o'
+ test 5 -gt 0
+ arg=libdl.la
+ shift
+ func_quote_for_eval libdl.la
+ case $1 in
+ func_quote_for_eval_unquoted_result=libdl.la
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=libdl.la
+ qarg=libdl.la
+ func_append libtool_args ' libdl.la'
+ eval 'libtool_args+=$2'
++ libtool_args+=' libdl.la'
+ test -n output
+ case $prev in
+ func_append compile_command ' @OUTPUT@'
+ eval 'compile_command+=$2'
++ compile_command+=' @OUTPUT@'
+ func_append finalize_command ' @OUTPUT@'
+ eval 'finalize_command+=$2'
++ finalize_command+=' @OUTPUT@'
+ case $prev in
+ eval 'output="$arg"'
++ output=libdl.la
+ prev=
+ continue
+ test 4 -gt 0
+ arg=-rpath
+ shift
+ func_quote_for_eval -rpath
+ case $1 in
+ func_quote_for_eval_unquoted_result=-rpath
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=-rpath
+ qarg=-rpath
+ func_append libtool_args ' -rpath'
+ eval 'libtool_args+=$2'
++ libtool_args+=' -rpath'
+ test -n ''
+ prevarg=-rpath
+ case $arg in
+ prev=rpath
+ continue
+ test 3 -gt 0
+ arg=/home/torri/local/wince/lib
+ shift
+ func_quote_for_eval /home/torri/local/wince/lib
+ case $1 in
+ func_quote_for_eval_unquoted_result=/home/torri/local/wince/lib
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=/home/torri/local/wince/lib
+ qarg=/home/torri/local/wince/lib
+ func_append libtool_args ' /home/torri/local/wince/lib'
+ eval 'libtool_args+=$2'
++ libtool_args+=' /home/torri/local/wince/lib'
+ test -n rpath
+ case $prev in
+ case $prev in
+ case $arg in
+ test rpath = rpath
+ case "$rpath " in
+ rpath=' /home/torri/local/wince/lib'
+ prev=
+ continue
+ test 2 -gt 0
+ arg=libdl_la-dlfcn.lo
+ shift
+ func_quote_for_eval libdl_la-dlfcn.lo
+ case $1 in
+ func_quote_for_eval_unquoted_result=libdl_la-dlfcn.lo
+ case $func_quote_for_eval_unquoted_result in
+ func_quote_for_eval_result=libdl_la-dlfcn.lo
+ qarg=libdl_la-dlfcn.lo
+ func_append libtool_args ' libdl_la-dlfcn.lo'
+ eval 'libtool_args+=$2'
++ libtool_args+=' libdl_la-dlfcn.lo'
+ test -n ''
+ prevarg=libdl_la-dlfcn.lo
+ case $arg in
+ func_lalib_unsafe_p libdl_la-dlfcn.lo
+ lalib_p=no
+ test -f libdl_la-dlfcn.lo
+ test no = yes
+ false
+ func_fatal_error '`libdl_la-dlfcn.lo'\'' is not a valid libtool object'
+ func_error '`libdl_la-dlfcn.lo'\'' is not a valid libtool object'
+ echo 'libtool: link: `libdl_la-dlfcn.lo'\'' is not a valid libtool object'
libtool: link: `libdl_la-dlfcn.lo' is not a valid libtool object
+ exit 1
# Assembler program.
AS=arm-mingw32ce-as

# DLL creation program.
DLLTOOL=arm-mingw32ce-dlltool

# Object dumper program.
OBJDUMP=arm-mingw32ce-objdump

# Which release of libtool.m4 was used?
macro_version=2.2.6
macro_revision=1.3012

# Whether or not to build shared libraries.
build_libtool_libs=yes

# Whether or not to build static libraries.
build_old_libs=yes

# What type of objects to build.
pic_mode=default

# Whether or not to optimize for fast installation.
fast_install=needless

# The host system.
host_alias=arm-mingw32ce
host=arm-unknown-mingw32ce
host_os=mingw32ce

# The build system.
build_alias=
build=x86_64-unknown-linux-gnu
build_os=linux-gnu

# A sed program that does not truncate output.
SED="/bin/sed"

# Sed that helps us avoid accidentally triggering echo(1) options like -n.
Xsed="$SED -e 1s/^X//"

# A grep program that handles long lines.
GREP="/bin/grep"

# An ERE matcher.
EGREP="/bin/grep -E"

# A literal string matcher.
FGREP="/bin/grep -F"

# A BSD- or MS-compatible name lister.
NM="/home/torri/local/opt/mingw32ce/bin/arm-mingw32ce-nm -B"

# Whether we need soft or hard links.
LN_S="ln -s"

# What is the maximum length of a command?
max_cmd_len=98304

# Object file suffix (normally "o").
objext=o

# Executable file suffix (normally "").
exeext=

# whether the shell understands "unset".
lt_unset=unset

# turn spaces into newlines.
SP2NL="tr \\040 \\012"

# turn newlines into spaces.
NL2SP="tr \\015\\012 \\040\\040"

# How to create reloadable object files.
reload_flag=" -r"
reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"

# Method to check whether dependent libraries are shared objects.
deplibs_check_method="file_magic ^x86 archive import|^x86 DLL"

# Command to use when deplibs_check_method == "file_magic".
file_magic_cmd="func_win32_libid"

# The archiver.
AR="arm-mingw32ce-ar"
AR_FLAGS="cru"

# A symbol stripping program.
STRIP="arm-mingw32ce-strip"

# Commands used to install an old-style archive.
RANLIB="arm-mingw32ce-ranlib"
old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib"
old_postuninstall_cmds=""

# A C compiler.
LTCC="arm-mingw32ce-gcc"

# LTCC compiler flags.
LTCFLAGS="-g -O2"

# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe="sed -n -e 's/^.*[    ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[      
 ][      ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'"

# Transform the output of nm in a proper C declaration.
global_symbol_to_cdecl="sed -n -e 's/^T .* \\(.*\\)\$/extern int \\1();/p' -e 
's/^[ABCDGIRSTW]* .* \\(.*\\)\$/extern char \\1;/p'"

# Transform the output of nm in a C name address pair.
global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/  {\\\"\\1\\\", 
(void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ ]*\\)\$/  {\"\\2\", 
(void *) \\&\\2},/p'"

# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \\([^ ]*\\) \$/  
{\\\"\\1\\\", (void *) 0},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\(lib[^ 
]*\\)\$/  {\"\\2\", (void *) \\&\\2},/p' -e 's/^[ABCDGIRSTW]* \\([^ ]*\\) \\([^ 
]*\\)\$/  {\"lib\\2\", (void *) \\&\\2},/p'"

# The name of the directory that contains temporary libtool files.
objdir=.libs

# Shell to use when invoking shell scripts.
SHELL="/bin/sh"

# An echo program that does not interpret backslashes.
ECHO="echo"

# Used to examine libraries when file_magic_cmd begins with "file".
MAGIC_CMD=file

# Must we lock files when doing compilation?
need_locks="no"

# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=""

# Tool to change global to local symbols on Mac OS X.
NMEDIT=""

# Tool to manipulate fat objects and archives on Mac OS X.
LIPO=""

# ldd/readelf like tool for Mach-O binaries on Mac OS X.
OTOOL=""

# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
OTOOL64=""

# Old archive suffix (normally "a").
libext=a

# Shared library suffix (normally ".so").
shrext_cmds=".dll"

# The commands to extract the exported symbol list from a shared archive.
extract_expsyms_cmds=""

# Variables whose values should be saved in libtool wrapper scripts and
# restored at link time.
variables_saved_for_relink="PATH PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH 
LIBRARY_PATH"

# Do we need the "lib" prefix for modules?
need_lib_prefix=no

# Do we need a version for libraries?
need_version=no

# Library versioning type.
version_type=windows

# Shared library runtime path variable.
runpath_var=LD_RUN_PATH

# Shared library path variable.
shlibpath_var=PATH

# Is shlibpath searched before the hard-coded library search path?
shlibpath_overrides_runpath=yes

# Format of library name prefix.
libname_spec="lib\$name"

# List of archive names.  First name is the real one, the rest are links.
# The last name is the one that the linker finds with -lNAME
library_names_spec="\$libname.dll.a"

# The coded name of the library, if different from the real name.
soname_spec="\${libname}\`echo \${release} | \$SED -e 
s/[.]/-/g\`\${versuffix}\${shared_ext}"

# Command to use after installation of a shared archive.
postinstall_cmds="base_file=\\\`basename \\\${file}\\\`~
      dlpath=\\\`\$SHELL 2>&1 -c '. \$dir/'\\\${base_file}'i; echo 
\\\$dlname'\\\`~
      dldir=\$destdir/\\\`dirname \\\$dlpath\\\`~
      test -d \\\$dldir || mkdir -p \\\$dldir~
      \$install_prog \$dir/\$dlname \\\$dldir/\$dlname~
      chmod a+x \\\$dldir/\$dlname~
      if test -n '\$stripme' && test -n '\$striplib'; then
        eval '\$striplib \\\$dldir/\$dlname' || exit \\\$?;
      fi"

# Command to use after uninstallation of a shared archive.
postuninstall_cmds="dldll=\\\`\$SHELL 2>&1 -c '. \$file; echo \\\$dlname'\\\`~
      dlpath=\$dir/\\\$dldll~
       \$RM \\\$dlpath"

# Commands used to finish a libtool library installation in a directory.
finish_cmds=""

# As "finish_cmds", except a single script fragment to be evaled but
# not shown.
finish_eval=""

# Whether we should hardcode library paths into libraries.
hardcode_into_libs=no

# Compile-time system search path for libraries.
sys_lib_search_path_spec=" 
/home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.1.0/ 
/usr/lib/gcc/arm-mingw32ce/4.1.0/ 
/home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.1.0/../../../../arm-mingw32ce/lib/arm-mingw32ce/4.1.0/
 
/home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.1.0/../../../../arm-mingw32ce/lib/"

# Run-time system search path for libraries.
sys_lib_dlsearch_path_spec="/lib /usr/lib"

# Whether dlopen is supported.
dlopen_support=unknown

# Whether dlopen of programs is supported.
dlopen_self=unknown

# Whether dlopen of statically linked programs is supported.
dlopen_self_static=unknown

# Commands to strip libraries.
old_striplib="arm-mingw32ce-strip --strip-debug"
striplib="arm-mingw32ce-strip --strip-unneeded"


# The linker used to build libraries.
LD="/home/torri/local/opt/mingw32ce/arm-mingw32ce/bin/ld"

# Commands used to build an old-style archive.
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"

# A language specific compiler.
CC="arm-mingw32ce-gcc"

# Is the compiler the GNU compiler?
with_gcc=yes

# Compiler flag to turn off builtin functions.
no_builtin_flag=" -fno-builtin"

# How to pass a linker flag through the compiler.
wl="-Wl,"

# Additional compiler flags for building library objects.
pic_flag=" -DDLL_EXPORT -DPIC"

# Compiler flag to prevent dynamic linking.
link_static_flag="-static"

# Does compiler simultaneously support -c and -o options?
compiler_c_o="yes"

# Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=yes

# Whether or not to disallow shared libs when runtime libs are static.
allow_libtool_libs_with_static_runtimes=yes

# Compiler flag to allow reflexive dlopens.
export_dynamic_flag_spec="\${wl}--export-dynamic"

# Compiler flag to generate shared objects directly from archives.
whole_archive_flag_spec="\${wl}--whole-archive\$convenience 
\${wl}--no-whole-archive"

# Whether the compiler copes with passing no objects directly.
compiler_needs_object="no"

# Create an old-style archive from a shared archive.
old_archive_from_new_cmds=""

# Create a temporary old-style archive to link instead of a shared archive.
old_archive_from_expsyms_cmds=""

# Commands used to build a shared archive.
archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags -o 
\$output_objdir/\$soname \${wl}--enable-auto-image-base -Xlinker --out-implib 
-Xlinker \$lib"
archive_expsym_cmds="if test \\\"x\\\`\$SED 1q \$export_symbols\\\`\\\" = 
xEXPORTS; then
          cp \$export_symbols \$output_objdir/\$soname.def;
        else
          echo EXPORTS > \$output_objdir/\$soname.def;
          cat \$export_symbols >> \$output_objdir/\$soname.def;
        fi~
        \$CC -shared \$output_objdir/\$soname.def \$libobjs \$deplibs 
\$compiler_flags -o \$output_objdir/\$soname \${wl}--enable-auto-image-base 
-Xlinker --out-implib -Xlinker \$lib"

# Commands used to build a loadable module if different from building
# a shared archive.
module_cmds=""
module_expsym_cmds=""

# Whether we are building with GNU ld or not.
with_gnu_ld="yes"

# Flag that allows shared libraries with undefined symbols to be built.
allow_undefined_flag="unsupported"

# Flag that enforces no undefined symbols.
no_undefined_flag=""

# Flag to hardcode $libdir into a binary during linking.
# This must work even if $libdir does not exist
hardcode_libdir_flag_spec="-L\$libdir"

# If ld is used when linking, flag to hardcode $libdir into a binary
# during linking.  This must work even if $libdir does not exist.
hardcode_libdir_flag_spec_ld=""

# Whether we need a single "-rpath" flag with a separated argument.
hardcode_libdir_separator=""

# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
# DIR into the resulting binary.
hardcode_direct=no

# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
# DIR into the resulting binary and the resulting library dependency is
# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
# library is relocated.
hardcode_direct_absolute=no

# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
# into the resulting binary.
hardcode_minus_L=no

# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
# into the resulting binary.
hardcode_shlibpath_var=unsupported

# Set to "yes" if building a shared library automatically hardcodes DIR
# into the library and all subsequent libraries and executables linked
# against it.
hardcode_automatic=no

# Set to yes if linker adds runtime paths of dependent libraries
# to runtime path list.
inherit_rpath=no

# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=unknown

# Fix the shell variable $srcfile for the compiler.
fix_srcfile_path=""

# Set to "yes" if exported symbols are required.
always_export_symbols=no

# The commands to list exported symbols.
export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | 
\$SED -e '/^[BCDGRS][ ]/s/.*[ ]\\\\([^ ]*\\\\)/\\\\1 DATA/' | \$SED -e 
'/^[AITW][ ]/s/.*[ ]//' | sort | uniq > \$export_symbols"

# Symbols that should not be listed in the preloaded symbols.
exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"

# Symbols that must always be exported.
include_expsyms=""

# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=""

# Specify filename containing input files.
file_list_spec=""

# How to hardcode a shared library path into an executable.
hardcode_action=immediate

# The directories searched by this compiler when creating a shared library.
compiler_lib_search_dirs=""

# Dependencies to place before and after the objects being linked to
# create a shared library.
predep_objects=""
postdep_objects=""
predeps=""
postdeps=""

# The library search path used internally by the compiler when linking
# a shared library.
compiler_lib_search_path=""

# ### BEGIN LIBTOOL TAG CONFIG: CXX

# The linker used to build libraries.
LD="/home/torri/local/opt/mingw32ce/arm-mingw32ce/bin/ld"

# Commands used to build an old-style archive.
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"

# A language specific compiler.
CC="arm-mingw32ce-g++"

# Is the compiler the GNU compiler?
with_gcc=yes

# Compiler flag to turn off builtin functions.
no_builtin_flag=" -fno-builtin"

# How to pass a linker flag through the compiler.
wl="-Wl,"

# Additional compiler flags for building library objects.
pic_flag=" -DDLL_EXPORT -DPIC"

# Compiler flag to prevent dynamic linking.
link_static_flag="-static"

# Does compiler simultaneously support -c and -o options?
compiler_c_o="yes"

# Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=no

# Whether or not to disallow shared libs when runtime libs are static.
allow_libtool_libs_with_static_runtimes=yes

# Compiler flag to allow reflexive dlopens.
export_dynamic_flag_spec="\${wl}--export-dynamic"

# Compiler flag to generate shared objects directly from archives.
whole_archive_flag_spec="\${wl}--whole-archive\$convenience 
\${wl}--no-whole-archive"

# Whether the compiler copes with passing no objects directly.
compiler_needs_object="no"

# Create an old-style archive from a shared archive.
old_archive_from_new_cmds=""

# Create a temporary old-style archive to link instead of a shared archive.
old_archive_from_expsyms_cmds=""

# Commands used to build a shared archive.
archive_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs 
\$postdep_objects \$compiler_flags -o \$output_objdir/\$soname 
\${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker \$lib"
archive_expsym_cmds="if test \\\"x\\\`\$SED 1q \$export_symbols\\\`\\\" = 
xEXPORTS; then
            cp \$export_symbols \$output_objdir/\$soname.def;
          else
            echo EXPORTS > \$output_objdir/\$soname.def;
            cat \$export_symbols >> \$output_objdir/\$soname.def;
          fi~
          \$CC -shared -nostdlib \$output_objdir/\$soname.def \$predep_objects 
\$libobjs \$deplibs \$postdep_objects \$compiler_flags -o 
\$output_objdir/\$soname \${wl}--enable-auto-image-base -Xlinker --out-implib 
-Xlinker \$lib"

# Commands used to build a loadable module if different from building
# a shared archive.
module_cmds=""
module_expsym_cmds=""

# Whether we are building with GNU ld or not.
with_gnu_ld="yes"

# Flag that allows shared libraries with undefined symbols to be built.
allow_undefined_flag="unsupported"

# Flag that enforces no undefined symbols.
no_undefined_flag=""

# Flag to hardcode $libdir into a binary during linking.
# This must work even if $libdir does not exist
hardcode_libdir_flag_spec="-L\$libdir"

# If ld is used when linking, flag to hardcode $libdir into a binary
# during linking.  This must work even if $libdir does not exist.
hardcode_libdir_flag_spec_ld=""

# Whether we need a single "-rpath" flag with a separated argument.
hardcode_libdir_separator=""

# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
# DIR into the resulting binary.
hardcode_direct=no

# Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
# DIR into the resulting binary and the resulting library dependency is
# "absolute",i.e impossible to change by setting ${shlibpath_var} if the
# library is relocated.
hardcode_direct_absolute=no

# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
# into the resulting binary.
hardcode_minus_L=no

# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
# into the resulting binary.
hardcode_shlibpath_var=unsupported

# Set to "yes" if building a shared library automatically hardcodes DIR
# into the library and all subsequent libraries and executables linked
# against it.
hardcode_automatic=no

# Set to yes if linker adds runtime paths of dependent libraries
# to runtime path list.
inherit_rpath=no

# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=unknown

# Fix the shell variable $srcfile for the compiler.
fix_srcfile_path=""

# Set to "yes" if exported symbols are required.
always_export_symbols=no

# The commands to list exported symbols.
export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | 
\$SED -e '/^[BCDGRS][ ]/s/.*[ ]\\\\([^ ]*\\\\)/\\\\1 DATA/;/^.*[ ]__nm__/s/^.*[ 
]__nm__\\\\([^ ]*\\\\)[ ][^ ]*/\\\\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //' | sort 
| uniq > \$export_symbols"

# Symbols that should not be listed in the preloaded symbols.
exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"

# Symbols that must always be exported.
include_expsyms=""

# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=""

# Specify filename containing input files.
file_list_spec=""

# How to hardcode a shared library path into an executable.
hardcode_action=immediate

# The directories searched by this compiler when creating a shared library.
compiler_lib_search_dirs="/home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.1.0
 
/home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.1.0/../../../../arm-mingw32ce/lib"

# Dependencies to place before and after the objects being linked to
# create a shared library.
predep_objects="/home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.1.0/../../../../arm-mingw32ce/lib/dllcrt3.o"
postdep_objects=""
predeps=""
postdeps="-lstdc++ -lmingw32 -lgcc -lceoldname -lmingwex -lcoredll -lcoredll 
-lmingw32 -lgcc -lceoldname -lmingwex -lcoredll"

# The library search path used internally by the compiler when linking
# a shared library.
compiler_lib_search_path="-L/home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.1.0
 
-L/home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.1.0/../../../../arm-mingw32ce/lib"

# ### END LIBTOOL TAG CONFIG: CXX
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to