[Python-checkins] CVS: distutils/distutils bcppcompiler.py,1.4,1.5
Greg Ward
python-dev@python.org
Sat, 12 Aug 2000 17:54:42 -0700
Update of /cvsroot/python/distutils/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv18103
Modified Files:
bcppcompiler.py
Log Message:
Added a whinging comment about the ugliness of constructing the BCPP
argument list.
Index: bcppcompiler.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/bcppcompiler.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** bcppcompiler.py 2000/08/13 00:43:16 1.4
--- bcppcompiler.py 2000/08/13 00:54:39 1.5
***************
*** 254,257 ****
--- 254,267 ----
ld_args.extend(objects) # list of object files
+ # XXX the command-line syntax for Borland C++ is a bit wonky;
+ # certain filenames are jammed together in one big string, but
+ # comma-delimited. This doesn't mesh too well with the
+ # Unix-centric attitude (with a DOS/Windows quoting hack) of
+ # 'spawn()', so constructing the argument list is a bit
+ # awkward. Note that doing the obvious thing and jamming all
+ # the filenames and commas into one argument would be wrong,
+ # because 'spawn()' would quote any filenames with spaces in
+ # them. Arghghh!. Apparently it works fine as coded...
+
# name of dll file
ld_args.extend([',',output_filename])