getting command line echo from .bat file

Status
Not open for further replies.

bugbum1

Ars Scholae Palatinae
893
running nt5.0 - changed over to the the microsoft compiler (from gcc) and the commands are still gettting eaten. this is important, because i need to see which /D defines are getting thrown for the master/slave compiles (output looks like this)
Code:
 C:\Port\Master\TEST\zipc3>call \vcvars32
Setting environment for using Microsoft Visual C++ tools.
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

proc.c
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:proc.exe
proc.obj
 

bugbum1

Ars Scholae Palatinae
893
Code:
C:\Port\Master\TEST\zipc4>bld

C:\Port\Master\TEST\zipc4>call \vcvars32
Setting environment for using Microsoft Visual C++ tools.
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

proc.c
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:proc.exe
proc.obj
        1 file(s) copied.
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

proc.c
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/out:proc.exe
proc.obj
        1 file(s) copied.
C:\Port\Master\TEST\zipc4>
.bat file looks like this:
Code:
call \vcvars32
cl proc.c /DMASTER
copy proc.exe proc1.exe
cl proc.c /DSLAVE
copy proc.exe proc2.exe
the code is compiled differently for the master and slave build... there is also a monitor build... but right now i just want to see the ouptut from the command line ;-)

[This message was edited by bugbum1 on March 31, 2002 at 03:10.]
 
Status
Not open for further replies.