public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Finding dlltool using gcc
@ 2011-09-21  5:51 Stephen Kitt
  2011-09-21 14:06 ` Ian Lance Taylor
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Kitt @ 2011-09-21  5:51 UTC (permalink / raw)
  To: gcc-help; +Cc: 632003, Bin Tian, Bill Allombert

Hi,

I'm the current maintainer of the MinGW-w64-based gcc toolchain in
Debian. I've been asked (see http://bugs.debian.org/632003 for the
full discussion) to provide a method by which users may find the
appropriate dlltool to use, without using autoconf.

Some programs use --print-prog-name to find dlltool and other such
tools; this works in some other Debian packages because they ship the
binaries in /usr/$target/bin. The gcc-mingw-w64 Debian packages
currently don't do this because it goes against Debian policy, and
from what I understand the recommended practice is to use
triplet-prefixed commands anyway (so in this case
/usr/bin/i686-w64-mingw32-dlltool rather than
/usr/i686-w64-mingw32/bin/dlltool). I'm wondering also whether using
gcc debugging information (print-prog-name) to find tools which aren't
strictly related to gcc is something which will be supported in the
future...

Is there a recommended approach to use to find dlltool using only
i686-w64-mingw32-gcc? I am wrong in dropping /usr/$target/bin?

(I have thought of a few approaches but I'd rather not orient the
discussion any more than I have already!)

Thanks in advance,

Stephen

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-09-25 21:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-21  5:51 Finding dlltool using gcc Stephen Kitt
2011-09-21 14:06 ` Ian Lance Taylor
2011-09-23  2:00   ` Bin Tian
2011-09-23  2:56     ` Bin Tian
2011-09-23 23:43     ` Bill Allombert
2011-09-26  9:07       ` Bug#632003: " Stephen Kitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).