mirror of
https://github.com/python/cpython.git
synced 2025-07-22 10:45:22 +00:00
Added a whinging comment about the ugliness of constructing the BCPP
argument list.
This commit is contained in:
parent
b1dceae3df
commit
1398045136
1 changed files with 10 additions and 0 deletions
|
@ -253,6 +253,16 @@ class BCPPCompiler(CCompiler) :
|
||||||
|
|
||||||
ld_args.extend(objects) # list of object files
|
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
|
# name of dll file
|
||||||
ld_args.extend([',',output_filename])
|
ld_args.extend([',',output_filename])
|
||||||
# no map file and start libraries
|
# no map file and start libraries
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue