bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make -- cygdrive directory


From: John Ulvr
Subject: make -- cygdrive directory
Date: Wed, 11 Apr 2001 10:58:26 -0400

I am using gnu make 3.79.1 (from cygwin).  I am attempting to combine the
makes of several projects.  One of these uses tcc as a compiler.  My problem
is this:  when using the implicit rule:

$(OBJ_PATH)/$(notdir %.o)          :       %.c
    tcc $(FLAGS) $< -o $@

the path is expanded to:

/cygdrive/c/usr/projects/..../source.c
instead of

C:/usr/projects ..../source.c

This causes a problem, becuase tcc does not know how to find /cygdrive/c/...
Is there an easy way of solving this?


John





reply via email to

[Prev in Thread] Current Thread [Next in Thread]