Q42212: /CO before /DO Causes Problems in LINK
Article: Q42212 Product(s): See article Version(s): 3.65 4.06 5.01 Operating System(s): MS-DOS Keyword(s): ENDUSER | h_masm s_pascal h_fortran buglist3.65 buglist5.01 | mspl13_basic Last Modified: 28-MAR-1989 When compiling or assembling with the /Zi switch to include CodeView symbolic information and linking with /CO to preserve it, the placement of the /DO switch is crucial. If the /CO switch is specified before /DO, the following behavior may occur when running CodeView: Message Behavior Enter directory for (cr for none)? When CodeView is executed, no source code will appear. Unable to open file Internal debugger error: 13 When attempting to change from assembly view to source CodeView. Hanging of the machine when executing CodeView. If switching the order of the /CO and the /DO switches does not take care of the problem then you have to put the .DOSSEG into your MASM routines and not use the /DO switch. Microsoft has confirmed this to be a problem in Versions 3.65 and 5.01. We are researching this problem and will post new information as it becomes available. While LINK Version 5.01 may be used in OS/2, the /DO switch has no meaning. Using it, however, causes the linker to GP fault if /CO precedes /DO.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.