diff options
author | Greg Ward <gward@python.net> | 2000-08-13 00:54:39 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-08-13 00:54:39 (GMT) |
commit | 1398045136aaa95cf6237f80abc6ffaff0b98773 (patch) | |
tree | fef4559ce197e1049de01947c571419a7296311b /Lib | |
parent | b1dceae3df683a4ca673e45f25581048f31095c8 (diff) | |
download | cpython-1398045136aaa95cf6237f80abc6ffaff0b98773.zip cpython-1398045136aaa95cf6237f80abc6ffaff0b98773.tar.gz cpython-1398045136aaa95cf6237f80abc6ffaff0b98773.tar.bz2 |
Added a whinging comment about the ugliness of constructing the BCPP
argument list.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/bcppcompiler.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/distutils/bcppcompiler.py b/Lib/distutils/bcppcompiler.py index 9304902..8ad9e4f 100644 --- a/Lib/distutils/bcppcompiler.py +++ b/Lib/distutils/bcppcompiler.py @@ -253,6 +253,16 @@ class BCPPCompiler(CCompiler) : 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]) # no map file and start libraries |