This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR41180 pt2: fix config.guess on darwin10


On Sep 1, 2009, at 7:13 AM, Jack Howarth wrote:
On Tue, Sep 01, 2009 at 03:45:44PM +0200, FX wrote:
Can't you grep some preprocessor symbol instead of introducing another
tool into config.guess with 'file'? There are a few similar examples
in the script already.

You can simply check whether the __LP64__ macro is defined. This is done
already in config.guess for hppa-hp-hpux, you can certainly use similar
logic.


FX

FX, Thanks. This is untested but I believe the following will work...

Yes. This looks right. Easy enough to test. Some people do have linux cross darwin compilers, and this will work better in that case.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]