This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Finding dlltool using gcc
On Fri, Sep 23, 2011 at 10:02:07AM +0800, Bin Tian wrote:
> Hi, all
>
> On 2011å09æ21æ 22:06, Ian Lance Taylor wrote:
> >Stephen Kitt<steve@sk2.org> writes:
> >
> >>Is there a recommended approach to use to find dlltool using only
> >>i686-w64-mingw32-gcc?
> >
> >I don't know of one. I don't know why avoiding autoconf is desirable.
> >However, if I were forced to do so, I would probably use gcc -v to get
> >the target name and look for TARGET-dlltool that way.
> gcc -dumpmachine is more relavant.
Yes, gcc -dumpmachine reports the right value, thanks a lot for the suggestion.
> autoconf should be the proper way, because it deals with more
> circumstances. Any other attempts will be reinventing the wheel.
The configure system of the software in case predates autoconf by a large margin.
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.