Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!crdgw1!rpi!pattersw From: pattersw@cs.rpi.edu (William Patterson) Newsgroups: comp.windows.x Subject: compiling X programs with g++ Message-ID: Date: 19 Jul 90 14:32:59 GMT Organization: RPI Computer Science Dept. Lines: 22 Does anyone know what's reqired to get X windows programs (using athena widgets) to compile using g++? I tried it on an example (no C++ code) X program written in standard C, with no luck. The program compiles fine with cc. I tried : g++ filename.cc -ansi -lXaw -lXmu -lXt -lXext -lX11 and : g++ filename.cc -traditional -lXaw -lXmu -lXt -lXext -lX11 Both produced compile errors. Anybody have any suggestions? -- ----------------------------------- Bill Patterson pattersw@turing.cs.rpi.edu Computer Science Department Rensselaer Polytechnic Institute Troy, NY. -----------------------------------