From mboxrd@z Thu Jan 1 00:00:00 1970 From: mojtaba mahdavi Subject: Re: Windows can use cpp in c code but in linux ?? I dont know how . Date: Sat, 2 Oct 2004 10:10:17 +0330 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <36a2bb3d0410012340224f71ba@mail.gmail.com> References: Reply-To: mojtaba mahdavi Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" To: "Huber, George K RDECOM CERDEC STCD SRI" Cc: linux-c-programming@vger.kernel.org Thanks to all My problem has been solved. yours sincerely. mahdavi. On Thu, 30 Sep 2004 13:12:16 -0400, Huber, George K RDECOM CERDEC STCD SRI wrote: > Suciu wrote: > > >To solve this is easy, link with the c++ library: -lstdc++ > > >gcc a.c mylib.a -lstdc++ > > Or you could use g++ (the GNU C++ compiler) It should handle > C files as well. > > George > - > To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >