From: softbrek AT POOL DOT Informatik DOT RWTH-Aachen DOT DE Subject: Re: symlink to g++ [was: Yet another subjectless message] To: turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp (Stephen Turnbull) Date: Tue, 31 Jan 1995 13:31:37 +0100 (MET) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp) > > 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