This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author haubi
Recipients haubi, srid, tarek, trentm
Date 2009-09-07.09:16:49
SpamBayes Score 0.058647197
Marked as misclassified No
Message-id <1252315011.3.0.683886597254.issue6163@psf.upfronthosting.co.za>
In-reply-to
Content
Basically yes, two minor ones:
*) also look for 'g++',
*) string.find() returns the index where found, -1 when not found,
so:
{{{
...
elif sys.platform[:5] == "hp-ux":
    if compiler.find('gcc') >= 0 or compiler.find('g++') >= 0:
        return ["-Wl,+s", "-L" + dir]
    return ["+s", "-L" + dir]
...
}}}

Two lines below already is another search for 'gcc' or 'g++', which also
should be changed from 'compiler[:3]' to 'compiler.find()':
{{{
...
elif compiler.find("gcc") >= 0 or compiler.find("g++") >= 0:
    return "-Wl,-R" + dir
...
}}}

Thank you!
History
Date User Action Args
2009-09-07 09:16:51haubisetrecipients: + haubi, tarek, trentm, srid
2009-09-07 09:16:51haubisetmessageid: <1252315011.3.0.683886597254.issue6163@psf.upfronthosting.co.za>
2009-09-07 09:16:49haubilinkissue6163 messages
2009-09-07 09:16:49haubicreate