Thread View: gnu.g++.help
2 messages
2 total messages
Started by Rod Burman
Fri, 24 Jul 1992 20:47
G++ and VMS
Author: Rod Burman
Date: Fri, 24 Jul 1992 20:47
Date: Fri, 24 Jul 1992 20:47
35 lines
1279 bytes
1279 bytes
Hi folks,
a week or teo back I asked "where is GCC/++ for VMS"
several helpful people (to whom many thanks) said
"mango.rsmas.miami.edu in /pub/VMS-g++"
I duely grabbed it and installed it and all was great!
But now woe is me! G++ seems to refuse to find files
using VMS "search lists", I cannot get any other program
to emulate this "not there" behavior. Here is an example:
define include_list [foo],[bar]
C++ code (in foo.cc):
#include "bar.h" // inc [bar]
etc
compile:
gxx /include=include_list: foo.cc
error diagnostic no such file bar.h
BUT dir include_list:*.h is ok and
if foo.cc has fopen("include_list:bar.h", ...
in it that open succeeds Has anyone experienced
this problem if so what's the fix? I've tried
everything I can think of changing definitions etc]
and can't get it to work!
Any suggestions gratefully received,
thanks Rod.
Disclaimer: None, it's a fair cop I wrote it.
Re: G++ and VMS
Author: Dick Munroe
Date: Tue, 04 Aug 1992 10:55
Date: Tue, 04 Aug 1992 10:55
37 lines
1549 bytes
1549 bytes
In article <1131@racerx.bridge.COM>, rodb@bridge.COM (Rod Burman) writes: > Hi folks, > a week or teo back I asked "where is GCC/++ for VMS" > several helpful people (to whom many thanks) said > > "mango.rsmas.miami.edu in /pub/VMS-g++" > > I duely grabbed it and installed it and all was great! > But now woe is me! G++ seems to refuse to find files > using VMS "search lists", I cannot get any other program > to emulate this "not there" behavior. Here is an example: > > define include_list [foo],[bar] > The problem is that ALL directories in the include list must be ROOTED directory specifications. This appears to be necessary because of the U*x syntax of the form: #include "foo/include.h" the easiest VMS analogue of which is the form: [x.foo]include.h Change your logical name definition to: define include_list device:[x.y.z.foo.],device:[x.y.z.bar.] and things should be fine. -- Dick Munroe Internet: munroe@dmc.com Doyle Munroe Consultants, Inc. UUCP: ...uunet!thehulk!munroe 267 Cox St. Office: (508) 568-1618 Hudson, Ma. FAX: (508) 562-1133 GET CONNECTED!!! Send mail to info@dmc.com to find out about DMConnection.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads