This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Problem when compiling c++ using gcc
- From: "Feng Y" <feng6 at uwindsor dot ca>
- To: cygwin at cygwin dot com
- Date: Sat, 20 Mar 2004 03:46:34 -0500
- Subject: Problem when compiling c++ using gcc
Hi,
I am new to Cygwin and I am using NS2 under cygwin-1.3.12.
When I tried to use gcc to compile some C++ code and
recompile NS, I met some problems.
I used the following command to compile the c++ file:
gcc -o ping ping.cc
I got the following messages:
agent.h: No such file or directory
tcltc.h: No such file or directory
packet.h: No such file or directory
....
How can I link these header files in NS directories?
Thanks in advance.
Yang
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/