This is the mail archive of the
mailing list for the Cygwin project.
problems using gcc -MM on source with Windows-style #include paths
- From: Benjamin Drucker <bdrucker at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 14 Dec 2004 10:39:15 -0800 (PST)
- Subject: problems using gcc -MM on source with Windows-style #include paths
- Reply-to: benjamin dot t dot drucker at alum dot mit dot edu
I want to generate dependencies for my adopted C code
with "Windows-style" #include paths like this:
I am building from a cygwin [CYGWIN_NT-5.1] window. I
thought to use gcc -MM, but my version ["3.3.3 (cygwin
special)"] croaks on the #include paths with
I don't want to create an in-house tool to make
I am leaning against changing the C code because the
compiler we're using for actual compilation is a
Windows-only tool that needs Windows-style #include
I am looking for these kinds of solutions:
1. A version of gcc that can handle backslash include
paths. Or a switch like "--use-dos-paths".
2. A different gnu-type tool that has been around and
is quite stable.
3. Some makefile wizardry involving sed and whatever
to do this cleanly. This is the route I've been
pursuing and it's getting to be a mess.
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html