gcc-mingw32 fails to install several links

Bug #992161 reported by Roberto Bagnara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-mingw32 (Ubuntu)
Fix Released
Undecided
Stephen Kitt

Bug Description

gcc-mingw32 only installs the following links:

/usr/bin/i586-mingw32msvc-gfortran
/usr/bin/i586-mingw32msvc-gcov
/usr/bin/i586-mingw32msvc-gcc
/usr/bin/i586-mingw32msvc-g++
/usr/bin/i586-mingw32msvc-cpp
/usr/bin/i586-mingw32msvc-cc
/usr/bin/i586-mingw32msvc-c++

For comparison, here are the native mingw-w64 commands:

i686-w64-mingw32-addr2line i686-w64-mingw32-g++ i686-w64-mingw32-objcopy
i686-w64-mingw32-ar i686-w64-mingw32-gcc i686-w64-mingw32-objdump
i686-w64-mingw32-as i686-w64-mingw32-gcc-4.6 i686-w64-mingw32-ranlib
i686-w64-mingw32-c++ i686-w64-mingw32-gcov i686-w64-mingw32-readelf
i686-w64-mingw32-c++filt i686-w64-mingw32-gfortran i686-w64-mingw32-size
i686-w64-mingw32-cpp i686-w64-mingw32-gprof i686-w64-mingw32-strings
i686-w64-mingw32-dlltool i686-w64-mingw32-ld i686-w64-mingw32-strip
i686-w64-mingw32-dllwrap i686-w64-mingw32-ld.bfd i686-w64-mingw32-windmc
i686-w64-mingw32-elfedit i686-w64-mingw32-nm i686-w64-mingw32-windres

Revision history for this message
Stephen Kitt (steve-sk2) wrote :

Hi Roberto,

The missing commands are binutils commands, not gcc commands, but I suppose gcc-mingw32 could provide them (rather than introduction a binutils compatibility package).

My real question is, does the lack of these commands cause issues? The idea behind gcc-mingw32 is just to provide compatibility symlinks to allow autoconf etc. to find the compiler (and related tools) even when using the old i586-mingw32msvc triplet. I tested a variety of programs using that triplet with the new gcc-mingw32 package and they built successfully; the binutils tools actually end up being found with the i686-w64-mingw32 triplet:

% i586-mingw32msvc-gcc -print-prog-name=ld
/usr/bin/i686-w64-mingw32-ld

Regards,

Stephen

Changed in gcc-mingw32 (Ubuntu):
assignee: nobody → Stephen Kitt (steve-sk2)
Revision history for this message
Roberto Bagnara (bagnara) wrote :

Hi Steve,

Thanks for your prompt reply. The problem we had is that we have several scripts around that use the old triplet. That is why we had to manually install symbolic links for ranlib, windres, dlltool and ar. You are of course right that these scripts could be updated to use the new triplet. Concerning what to do with the gcc-mingw32 package, I guess it probably depends on how much do you want to invest on backward compatibility.
Kind regards,

    Roberto

Revision history for this message
Stephen Kitt (steve-sk2) wrote :

Hi Roberto,

This is fixed in gcc-mingw-w64 6 which is in Quantal.

Regards,

Stephen

Changed in gcc-mingw32 (Ubuntu):
status: New → Fix Released
Revision history for this message
Roberto Bagnara (bagnara) wrote : Re: [Bug 992161] Re: gcc-mingw32 fails to install several links

On 05/09/12 07:49, Stephen Kitt wrote:
> Hi Roberto,
>
> This is fixed in gcc-mingw-w64 6 which is in Quantal.
>
> Regards,
>
> Stephen
>
>
> ** Changed in: gcc-mingw32 (Ubuntu)
> Status: New => Fix Released

Thanks a lot, Stephen!

--
Prof. Roberto Bagnara
Applied Formal Methods Laboratory
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:<email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.