From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 5 06:43:42 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B976106566C for ; Mon, 5 Jul 2010 06:43:42 +0000 (UTC) (envelope-from dhruvakm@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2239F8FC18 for ; Mon, 5 Jul 2010 06:43:41 +0000 (UTC) Received: by qwg5 with SMTP id 5so2095668qwg.13 for ; Sun, 04 Jul 2010 23:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=m8jJ2fCJQ5Gk7uMH8Xg6btX4Do10lv/0Pns9ot6AvlQ=; b=g16VPE+01OwoHDD1O0HruiN2X6kiEugJ4zdn9ieQHodPaA9qvm+z/hgLrlKbFM/1Nw fWbrNEsk/iVoEkD3DhJLD7AMKhaXI8cJzxoNtYvQXAPqPIUx4g/4Lp5602QR2V3Wzw4q JWPRAjIdZEtOSY8rYBvy7/2kJMVTrpuevQnpo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=e6kTAmscqmpQsDQaOMAS2ajF8HOXWFbujQTN5be4BLNx74qKINnw2L3RYHmV/FoeYc bgEktkA0/+R3VqIeuCdsm1VL/cgSHipNnm2gmMdrQGyUxjcBzBhxpxWWFJAAR1RSsKv/ n8RVPWu4HWyqSHRcX+SUXM6rSm4qUFMoJavT0= MIME-Version: 1.0 Received: by 10.224.36.92 with SMTP id s28mr1135956qad.337.1278312216324; Sun, 04 Jul 2010 23:43:36 -0700 (PDT) Received: by 10.229.220.16 with HTTP; Sun, 4 Jul 2010 23:43:36 -0700 (PDT) In-Reply-To: <20100705062756.GA80063@server.vk2pj.dyndns.org> References: <20100705062756.GA80063@server.vk2pj.dyndns.org> Date: Mon, 5 Jul 2010 12:13:36 +0530 Message-ID: From: dhruva To: Peter Jeremy Content-Type: text/plain; charset=ISO-8859-1 Cc: Philip Herron , freebsd-hackers@freebsd.org Subject: Re: Using lex in a shared library X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 06:43:42 -0000 On Mon, Jul 5, 2010 at 11:57 AM, Peter Jeremy wrote: > On 2010-Jul-02 23:53:17 +0100, Philip Herron wrote: >>>> Although maybe not helpful but have you considered using >>>> automake/libtool instead makes it so much simpler in my opinion. > ... >>Automake will auto-handle Lex and Yacc files too. And is extremely portable. > > You are joking, right? > > Of all the supposedly "portable" build environment tools I've used, > GNU autotools is by far the slowest, most bloated and least portable. > And when you run into problems, you are faced with trying to follow > hundreds of KB of opaque shellscript and obfuscated makefiles. > >From my experience, CMake is the best and hope it gets adopted more widely. I agree the initial effort of getting a cmake based build environment will take sometime but going forward, maintaining it is lot simpler when you care about portability. I do not work for kitware nor anyway involved with cmake apart from being a happy user. Quite a few large projects are moving to cmake. -dhruva