Mail Archives: djgpp/1998/03/28/04:50:42
Look for details below:
> > without GUI it happens to work with all my dos program, but DJGPP:
> > I always got "make.exe: *** no targets. stop."
> > [...]
> > After all, I have realized that the only thing was changed:
> > I moved all my sources to another drive (d:)
> > I copy them back to c: there compiler resides - and no more problem now!
> >
> > I guess this strange bug come from DJGPP's UNIX nature:
> > only one logical drive there...
>
> This cannot be true; I have been able to compile across multiple drives
[...]
> Anyway, please describe your configuration and your project in greater
> detail; it may be that one or more environment variables contain
> relative rather than absolute paths, or that your makefile specifies
> absolute rather than relative paths. Can you compile programs on other
> drives without using Make (i.e., by calling gcc manually)? Is this
> other drive a networked drive? If so, what NOS (Network Operating
More detailed explanation: I have djgpp environment variable
pointed out to djgpp.env in DJGPP tree root.
djgpp.env not changed, it is from 2.01 distribution.
My sources tree located on another local drive, no network.
I use makefile so I cannot start gcc manually. Maybe this
can help you, one of makefile.dos begins with the following
lines:
#
# Makefile for the makeuctb and unicode tables
# for use with DJGPP.
# [... more text omitted]
#
CFLAGS = $(MCFLAGS)
CC = gcc
MCFLAGS = -O3 -DDOSPATH -DNO_TTYTYP \
-I../../WWW/library/implement -I../../djgpp/tcplib/include \
-I../../djgpp/tcplib/include/tcp
makeuctb.exe: makeuctb.c UCkd.h
$(CC) $(CFLAGS) -o makeuctb.exe makeuctb.c
strip makeuctb.exe
# ...
- Raw text -