Mail Archives: djgpp/1999/03/04/02:31:25
> Are you sure? If I understand you correctly, you are describing a bug in
> RHIDE whereby file names with embedded spaces aren't supported. Since
Exactly.
> DJGPP's version of library function `system' does support quoted file
> names with embedded whitespace, I wonder why RHIDE cannot.
This is, because RHIDE uses some special techniques to
generate the commandline. Internally it works similar to the
rules used by a Makefile. It takes originally one variable (let's
say $(RHIDE_COMPILE.c.o)) and expands this until there are
no other tokens in it to be expanded. I know, that DJGPP's
system() can handle quoted strings, but with RHIDE it is the same
like with GNU Make, or can you tell me an easy way to tell
GNU Make how to handle the filename in the Makefile below
correct?
sources='this is a file.c' other.c
objects=$(patsubst %.c,%.o,$(sources))
test: $(objects)
******************************************************
* email: Robert Hoehne <robert DOT hoehne AT gmx DOT net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
- Raw text -