Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20000814120928.25688.qmail@web124.yahoomail.com> Date: Mon, 14 Aug 2000 05:09:28 -0700 (PDT) From: Earnie Boyd Subject: Re: working around "more" (Was Re: what is my mistake?!!!!!) To: "Charles S. Wilson" , "Mohammed Abdel'al" Cc: Paul Garceau , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- "Charles S. Wilson" wrote: > Well, it seems that sometime since I last built cygipc, the strace stuff > got reworked to be C++ instead of C. If you look in strace.h, you see > that it declares an "strace" class as well as various "normal" > definitions. Trying to compile ipc-daemon.c with g++ doesn't help, > though: > > $ g++ -Wall -O2 -DVERSION_NUM=1.04 -I./include -I. -c -o ipc-daemon.o > ipc-daemon.c > G++ as well as gcc uses the input file suffix to determine program type. Either use the -x switch to specify that you want c++ or rename the ipc-daemon.c file to ipc-daemon.cc. Cheers, ===== --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ Do You Yahoo!? Yahoo! Mail – Free email you can access from anywhere! http://mail.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com