libtool-patches
[Top][All Lists]
Advanced

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

Re: cygwin: patch resend


From: Gary V . Vaughan
Subject: Re: cygwin: patch resend
Date: Wed, 22 Sep 2004 09:35:42 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Chuck,

I've made some changes here...

On 22 Sep 2004, at 07:40, Charles Wilson wrote:
2004-09-21  Charles Wilson  <address@hidden>

        * ltmain.in (func_generate_dlsyms): when creating a
        .exp file for an executable, also create a .def file
        (on cygwin|mingw), and add that file to the link command
        via SYMFILES.

        # Transform the symbol file into the correct name.
        symfileobj="$output_objdir/${my_outputname}S.$objext"
- compile_command=`$echo "X$compile_command" | $Xsed -e "address@hidden@%$symfileobj%"` - finalize_command=`$echo "X$finalize_command" | $Xsed -e "address@hidden@%$symfileobj%"`
+       case $host in
+       *cygwin* | *mingw* )
+         if test -f "$output_objdir/${my_outputname}.def" ; then
+ compile_command=`$echo "X$compile_command" | $Xsed -e "address@hidden@%$output_objdir/${outputname}.def $symfileobj%"`
                              ^
                              $my_outputname.def

Otherwise applied.  Thanks.


        (func_mode_link): handle thinko caused by complex
        build paths.

        # Clean up the generated files.
-       $show "$RM $output_objdir/$my_dlsyms $nlist ${nlist}S ${nlist}T"
-       $run $RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"
+       #$show "$RM $output_objdir/$my_dlsyms $nlist ${nlist}S ${nlist}T"
+ #$run $RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"
@@ -5667,8 +5690,9 @@

        # Delete the generated files.
        if test -f "$output_objdir/${outputname}S.${objext}"; then
-         $show "$RM $output_objdir/${outputname}S.${objext}"
-         $run $RM "$output_objdir/${outputname}S.${objext}"
+         #$show "$RM $output_objdir/${outputname}S.${objext}"
+         #$run $RM "$output_objdir/${outputname}S.${objext}"
+         :
        fi

I haven't applied this yet, 'cos I don't understand what you are fixing... do you have a test? or can you otherwise explain why these lines need removing please?

Cheers,
        Gary.
- --
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFBUTliFRMICSmD1gYRAvQEAJ9q52GvZGPdh2/xqU2qV+UZd+hWQACcDto3
SxWRC/RmwmdAR9YnsRTu4ZU=
=4206
-----END PGP SIGNATURE-----





reply via email to

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