From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29181 invoked from network); 7 Mar 2021 18:41:07 -0000 Received: from hurricane.the-brannons.com (2602:ff06:725:1:20::25) by inbox.vuxu.org with ESMTPUTF8; 7 Mar 2021 18:41:07 -0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by hurricane.the-brannons.com (OpenSMTPD) with ESMTP id 55d548b0 for ; Sun, 7 Mar 2021 10:41:02 -0800 (PST) Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [2a00:1450:4864:20::32f]) by hurricane.the-brannons.com (OpenSMTPD) with ESMTPS id 3071c850 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 7 Mar 2021 10:40:39 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id n11-20020a05600c4f8bb029010e5cf86347so2125083wmq.1 for ; Sun, 07 Mar 2021 10:40:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=geoffair-info.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=Q7bfAFvP2PrxIeT8Xni758sVPGjBB6eK7EYibHGpQmM=; b=MCoqnBbgo22CzR55y7yx6Uwu6Zv1nVgZF0mx7kU/AnuCpQ/DHZ68s61VBAStdrbkeA rWgSAJ3wpm0CzpLd81BqXfB/r0a5DbXVhQUHvZ49gcUe6O76YBYkP0qQh2eaggMkrKGu sAOX4tcLqnXmxsOoreJmezivliUY2zu8xZDRplZ4I+J7khwsqa2NE6U+8f/sFFAWaNy+ Zy4aDUaGCksgCITh73BjfmQmI0zDe57rWnClt+JldyL02FCYRXSC5PawSJQjL291ey8W wSr+Q2nkIr0mEudK13n+bnI8+zmosgQKdH+uHOwbP29bb6EH7pqqLU6IalXD4zb9qHld xGjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Q7bfAFvP2PrxIeT8Xni758sVPGjBB6eK7EYibHGpQmM=; b=OTBVcthiCWEMDKpgKHcylja9XBQ+B8wXzlP4CAwrlAwcxO/2VRkB8YkbDxPPpEeLHI G+6bo30H0pXwu1GvpeW7bxxmr15iLBxO+P0Qa5VSap/jt5mM0ihZwO1GEtBhNfolo+rX kyiMMpdCuaRtw97V0xF269qD3dbXo1FJfhBCU6u08kXPGG53+0zr3+hnURQ6gSIMgDAd Xdq+88CNJE4kytxHPSEFcDpT/jIrJsWvE6XdfijzWFeCUaERt2LbhmFEUB5z04qCPVhE VezUW0/jZ8Qgcao/G/5o8xaP0wvX7M4vlTmPUIGZL4285XoZb7GugIXlVaDO3r5GuIgG ZKJA== X-Gm-Message-State: AOAM533NUH/iUnOpdY04+xbVEIStVP8kDYhIqtNMxSBdMaNn2yivaPjQ 9S9mgNwkSuiHvZXbRt3p4b5t3Q== X-Google-Smtp-Source: ABdhPJyGtC12OfBvWWh55jjltLm9Arbmrn8EYSigc/sfuhH1p0l58R926016WXUVUSbiFIL6m1cBQg== X-Received: by 2002:a7b:c055:: with SMTP id u21mr19183918wmc.68.1615142437584; Sun, 07 Mar 2021 10:40:37 -0800 (PST) Received: from ?IPv6:2a01:cb00:9f8:e600:25a6:d158:d3c:a711? (2a01cb0009f8e60025a6d1580d3ca711.ipv6.abo.wanadoo.fr. [2a01:cb00:9f8:e600:25a6:d158:d3c:a711]) by smtp.googlemail.com with ESMTPSA id o7sm14229960wrs.16.2021.03.07.10.40.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Mar 2021 10:40:37 -0800 (PST) Subject: Re: [edbrowse-dev] quick js To: Chris Brannon , edbrowse-dev@edbrowse.org, Karl Dahlke References: <20210207082610.eklhad@comcast.net> <87eegrhrdo.fsf@the-brannons.com> <20210207114438.eklhad@comcast.net> <87a6rej35p.fsf@the-brannons.com> From: Geoff McLane Message-ID: <602cf413-c280-6582-45b8-3a071172301c@geoffair.info> Date: Sun, 7 Mar 2021 19:40:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 In-Reply-To: <87a6rej35p.fsf@the-brannons.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Hi Karl, Chris, et al, Wow, you touch on so many things, hard to know what to answer... cmake vs makefile: Any 'makefile' is basically unix/linux, *nix, only... There is really no such thing as a portable makefile, at least as far as Windows is concerned. Yes, MSVC Windows has `nmake`, but it deviates from most *nix makes, often very significantly... cmake, on the other hand, is a `makefile` generator, and includes a 'configure' stage, before the 'generator' kicks in, so is suitable for windows, and *nix, mostly... and is the closest we have to 'portable'... I recently built edbrowse in windows, and pushed a 'win32' branch, with most of the required changes, but with Karl's faster than light changes, became outdated even before it landed... but no problem... keep up the energy Karl... ;=)) static vs shared: Yes, this is a storm! *nix has a very good system in places to deal with 'shared' - just a few 'fixed' directories - and their many arguments in favor of this are very sound... Windows is a big problem case - no 'fixed' directories - or rather the ones there are like C:\Windows, etc... are really only for true 'system' software... certainly NOT recommended for other, 3rdParty, software... Yes, others can be added to the PATH, by an 'installer', which has to have 'admin' privileges, and must include all/most shared DLLs, but then you get a horrendous PATH variable. Already, in my relatively new DELL03 machine it is over 1300 bytes long, some 36 paths... and continues to grow... on just about every 3rdparty install... AND can lead to conflicts, breaks, as happened recently with a 'Strawberry' perl install... It put some things in the PATH which broke several other 3rdPary builds... and was hard to find, debug... And yes, I had this big fight with other *nix distro maintainer, about what I do with 'Tidy'... and compromised on adding cmake options to allow them to build/install tidy 'their' way ;=)) while still keeping my convenient Windows way... Windows support: Windows will always be a problem, especially edbrowse dependence on 3rdParty libs... it requires considerable understanding and effort... to setup... So, simply, some of this discussion would just go away, if you drop Windows support, and thus drop cmake! This might not be a problem, since at this time, I do not think there is any other edbrowse users in Windows... they would be yelling otherwise - can't build edbrowse, for lots of reasons... Good luck, with what ever you decide... will continue to help where I can... HTH! Best regards, Geoff.