Finding dlltool using gcc

Bill Allombert Bill.Allombert@math.u-bordeaux1.fr
Fri Sep 23 23:43:00 GMT 2011


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. 



More information about the Gcc-help mailing list