Mail Archives: djgpp/1995/01/31/13:05:34
>
> I tried to install the g++ version properly and tried to
> compile a litte c++ file.
> I used the command line "gcc (g++ works only on Sparcs ?) -v fcube.cpp
> -ofcube".
>
> g++ only works if you have a program by that name. I believe "g++.exe"
> is a legal DOS file name, so you can (1) copy gcc.exe to g++.exe, or
> (2) copy stub.exe to g++.exe, and use stubedit "g++.exe" to change every
> parameter to be the same as the corresponding parameter in "gcc.exe".
> It should be told to call gcc.exe, of course.
> --
> Steve
>
Sorry, Steve, but I think you can *not* use g++ as a DOS file-name. It is not
allowed to use + in filenames. (Flame me and inform others if I'm wrong here:)
I think this is because of the 'copy several files to one' feature of
COMMAND.COM's builtin command 'copy': imagine a directory containing
files named 'foo', 'a' and 'foo+a', and someone saying
copy foo+a bar
Now, what should 'bar' be? 'foo' and 'a' concatenated, or a copy of 'foo+a'?
Hans-Bernhard
- Raw text -