Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!jarthur!jarthur.claremont.edu From: cliff@jarthur.claremont.edu (Clifford Stein) Newsgroups: comp.sys.atari.st.tech Subject: g++ Message-ID: <11852@jarthur.Claremont.EDU> Date: 22 Apr 91 23:13:10 GMT Sender: cliff@jarthur.Claremont.EDU Distribution: usa Organization: Harvey Mudd College, Claremont, CA 91711 Lines: 32 I'm having problems getting my g++ compiler to work. It seems unable to find the standard header files, such as stdio.h. I know, I have to set my path first. Well, I think I have. Here's what's up: I'm using gulam, and the printenv command says G++INC=d:\gnu\g++lib\g++-incl I know that stdio.h is in d:\gnu\g++lib\g++-incl\stdio.h and if I substitute: #include"d:\gnu\g++lib\g++-incl\stdio.h" then the compiler works fine. #include gives me errors and says it is unable to find stdio.h. Although this is might unrelated, gcc1.39 has no problems at all. One more thing. Even if I have #include"d:\gnu\g++lib\g++-incl\stdio.h", the compiler will go through and compile, giving me .o files. It will not link them togethere; it can't find the loader or linker or something (probably the same problem with the paths). I usually then just link with gcc and have no problems. Can someone send me a list of environmental variables that need to be set for the g++ to work correctly? I'm using a MegaST2 with TOS 1.4. Any help will greatly be appreciated. --Cliff