[Patches] [ python-Patches-435381 ] Distutils patches for OS/2+EMX support

noreply@sourceforge.net noreply@sourceforge.net
Wed, 29 Aug 2001 01:39:14 -0700


Patches item #435381, was opened at 2001-06-22 01:42
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=435381&group_id=5470

Category: distutils
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew I MacIntyre (aimacintyre)
Assigned to: A.M. Kuchling (akuchling)
Summary: Distutils patches for OS/2+EMX support

Initial Comment:
The attached patch file is against the code released
with Python 2.1.

The changes are included in the binary installation
package of the OS/2+EMX port of Python 2.1 I released
on June 17, 2001.

With these changes, I have successfully built and
installed the  Numeric 20.0.0 extention, and created a
bdist_dumb distribution package of it. The installed
extention tests successfully using the supplied test
routines.

Particular items of note:-
- OS/2 limits DLLs to 8.3 filenames :-( :-(
- ld is not used to link, instead gcc is used with the
-Zomf option
  which invokes the LINK386 linker native to OS/2
- I haven't made any attempt to merge cloned code back
into the 
  parent code where it would make sense, which I think
is in a few     places.

Feedback appreciated.

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

Comment By: Rene Liebscher (rliebscher)
Date: 2001-08-29 01:39

Message:
Logged In: YES 
user_id=28463

Would it be possible to subclass cygwinccomplier 
(as mingwcompiler does?)

Or maybe create a better class structure like this

           GCCCompiler
         /             \
        /               \
 CygwinCCompiler    EMXCCompiler
      /
     /
MinGWCCompiler

GCCCompiler would never be used directly by anyone,
it only collects all common code.
The other class would only configure the 
GCCCompiler class in their __init__ methods.
(And maybe override some [small] methods if really
necessary.)

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

Comment By: Andrew I MacIntyre (aimacintyre)
Date: 2001-08-12 04:01

Message:
Logged In: YES 
user_id=250749

The only real change in this updated patch is the compiler optimisation switches in emxccompiler.py.

No attempted merging of changes.  Suggestions/advice in this regard sought.

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

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-03 21:38

Message:
Logged In: YES 
user_id=3066

The third item in the list of issues at the end of the
initial comment indicates that the patch isn't ready for
inclusion.  Assigning to Greg Ward for review.

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=435381&group_id=5470