Q: How come I get the following strange output when I run
dlc on an Andrew machine?
linux> dlc bits.c
bits.c:1: unrecognized line: '/* '
No mail was sent to the distribution list.
A:
You're actually running another binary on Andrew called
/usr/local/bin/dlc, which you can verify
using the which command:
linux> which dlc
/usr/local/bin/dlc
You need to tell the shell to look for your program in the current
directory (denoted by a "."). You can do this explicitly by
typing the full pathname:
linux> ./dlc bits.c
or implicitly by putting "." at the end of your search path. See the
Unix FAQ on the CS:APP student
site for a description of how to modify your path.