[Python-bugs-list] [Bug #115057] -program-suffix=SUFFIX not respected

noreply@sourceforge.net noreply@sourceforge.net
Fri, 22 Sep 2000 02:32:30 -0700


Bug #115057, was updated on 2000-Sep-21 23:39
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Summary: -program-suffix=SUFFIX not respected

Details: Attempting to build under Mac OS X (a case insensitive system) requires that you use the .exe suffix.  Attempting to configure with -program-suffix=.exe doesn't do the right thing and you have to manually change a) src/makefile and b) src/Modules/Makefile lines
# Use ``EXE=.exe'' for Unix emulations on DOS/Windows
EXE=
to 
EXE=.exe

In addition, src/Modules/Makefile lines

# This target is used by the master Makefile to link the final binary.
link:		$(MAINOBJ)
		$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) $(MAINOBJ) \
		  $(LDLIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python $(LDLAST)
		mv python$(EXE) ../python$(EXE)

need to be changed to
  $(LDLIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python$(EXE) $(LDLAST)

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=115057&group_id=5470