[Python-bugs-list] [ python-Bugs-799104 ] CPPFLAGS should not be aded to ldshard command

SourceForge.net noreply at sourceforge.net
Tue Sep 2 23:19:14 EDT 2003


Bugs item #799104, was opened at 2003-09-02 14:31
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=799104&group_id=5470

Category: Distutils
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Sjoerd Mullender (sjoerd)
Assigned to: Nobody/Anonymous (nobody)
Summary: CPPFLAGS should not be aded to ldshard command

Initial Comment:
CPPFLAGS contains flags for the C preprocessor.  It has

no business being added to the ldshared command (this

is in sysconfig.py).  In fact, it may be harmful since

the ldshared command may well be ld with some flags

which typically does not understand cpp flags.



Irix where the ldshared command is "ld  -shared -all"

is a good example of where it is plain wrong to add

CPPFLAGS.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2003-09-03 07:19

Message:
Logged In: YES 
user_id=21627

OTOH, it also seems wrong that, on Irix, ldshared is "ld

-shared -all". ld should never be used directly.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=799104&group_id=5470



More information about the Python-bugs-list mailing list