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 18320 invoked from network); 9 Mar 2021 14:37:45 -0000 Received: from hurricane.the-brannons.com (2602:ff06:725:1:20::25) by inbox.vuxu.org with ESMTPUTF8; 9 Mar 2021 14:37:45 -0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by hurricane.the-brannons.com (OpenSMTPD) with ESMTP id e0096b0a for ; Tue, 9 Mar 2021 06:37:37 -0800 (PST) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [2a00:1450:4864:20::431]) by hurricane.the-brannons.com (OpenSMTPD) with ESMTPS id 3f1543df (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 9 Mar 2021 06:37:34 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id u14so16072809wri.3 for ; Tue, 09 Mar 2021 06:37:34 -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=nl9O/8kiuBJ2t88rGiCWLJpp1wXvfzeyWrG4i0nKfwI=; b=qIEgpebdvpAeg5+5+tT6nWy/gNlKpvHQV9fC32Zpg6vZ9zcufw7POK0iwslnd4nHJD KiR0HY16I5oiTzkciKSWaXoP6XApOYctXnVwtHtC6NRzEWuuI3sydqX9Q5+Jm1gL9Wlu Gg+QMVZkixky0fjPjAFinpYgcEuSX+Nb8/mk5p7baBNjIP7isz8QQwz9L2SHCdGH9dCZ u4SVncbST8YgHOdaB2gg1Kf1ZOm6Eh+CzP8UKkSoXsB2HScrGJQBhje/3Z0oG46uZB8n Bgg9E5EDvTPA5XlxS++AUj6ExmBcuTGzpMEud4Id23afj5Ljj0rzOLTeMWUcOdBtEkuu 3q3A== 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=nl9O/8kiuBJ2t88rGiCWLJpp1wXvfzeyWrG4i0nKfwI=; b=fifjHugYF6Zq+G2RHZRT0exBPKfdZBoks2+GwWcWWZlitmz7GpP4/eGihwslsMWJ0Q X6TdyiKygtVlX5jguCGfyrZGxvIZNA2L0nDviR5VIzwPI7BHkIw5yUPXayJhhotIGj10 nYbE/uviXvtkNqiXq8Z4JEEdMQFayNcpJhW2OWBDTXtGYSq9A495eCBEHlaZaOIRYlxk Jt8A9vwdVnOV03zsqEKkSdSteKYxbQrzjgrd7iEfzHJX+0gDImuXtjqnWt6YNGFsuZd4 a4fTK6Srk3MkJALRaACdwo5Mas4NM2HHD2tZVJ6TftTOEAp6u8Im5jPE00zCSknQSDNG i/DQ== X-Gm-Message-State: AOAM533cUwpVICG5ZMWtJ6ga1RLT9Zd2j6U3S6W3/srb8xUgqreUm31r z/fmYQFCzu0lcMaZeTnockn7WQ== X-Google-Smtp-Source: ABdhPJwcDX3ArgXzfHxmnf1J93zwPuv8v21wZMOxmXMiF8gXpEMtEotJMg8gmDbnytAYrcuyb/9pxg== X-Received: by 2002:a5d:698d:: with SMTP id g13mr29586138wru.2.1615300652833; Tue, 09 Mar 2021 06:37:32 -0800 (PST) Received: from ?IPv6:2a01:cb00:9f8:e600:c8c7:61e3:f523:3791? (2a01cb0009f8e600c8c761e3f5233791.ipv6.abo.wanadoo.fr. [2a01:cb00:9f8:e600:c8c7:61e3:f523:3791]) by smtp.googlemail.com with ESMTPSA id s84sm4485852wme.11.2021.03.09.06.37.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Mar 2021 06:37:32 -0800 (PST) Subject: Re: [edbrowse-dev] quick js To: Kevin Carhart , Karl Dahlke , edbrowse-dev@edbrowse.org, Chris Brannon References: <20210207082610.eklhad@comcast.net> <875z22iwlm.fsf@the-brannons.com> <20210208034648.eklhad@comcast.net> <247e8e81-8a65-4172-82a1-fc298d39a467@www.fastmail.com> From: Geoff McLane Message-ID: <8503ef17-5a2d-a160-dfd5-4b30ba380453@geoffair.info> Date: Tue, 9 Mar 2021 15:37:31 +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: <247e8e81-8a65-4172-82a1-fc298d39a467@www.fastmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Hi Karl, Chris, Kevin, et al, Thanks Karl for the source pointer... I had read that before, but was buried deep in my emails... I cloned it into both Ubuntu and Windows... Regrettably, it only offers a 'Makefile' build, which did build fine in Ubuntu... but really pollutes its own repo... sad, but not really a problem... And it seems the only concession to Windows is through one of the emulators, mingw, so is difficult to build in native Windows, using MSVC, without first constructing a suitable CMakeLists.txt... I took an initial run at it, but a few of my helper tools failed to generate anything meaningful... they have put the main library source in the /root/, mixed with files that have their own 'main', thus are EXEs, not LIBs, which makes guessing tricky, faulty... And add the fact that, from the linux build, it seems several sources are generated during 'make', from built tools, like qjs$(EXE), qjsc$(EXE), ... which always causes a problem, for my auto generated scripts... but cmake can handle fine... after manual intervention... Luckily, so far, it seems the only extra depend lib is pthreads, which I already have... Sadly, after I got my first CMakeLists.txt build going, see the source includes 'unistd.h', showing that it has NEVER been built in native Windows, which does not have such a header, but there are some somewhat equivalent native windows headers... just needs a MACRO, like edbrowse src has... And ran into Built-in Functions Provided by GCC, like builtin_clz, and others... which strangely had not seen before... read therefore do not have a known windows native solution... Anyway, I took a few runs at it, but sadly, made NO significant progress... which is disheartening, to say the least... so had to give up for now... Searching around, found https://github.com/mengmo/QuickJS-Windows-Build, but it uses MSYS2 emulator... which I do have... but what am I gaining with this? Will try to poke at it now and then, and may try a 'mingw', or 'msys2' build, but certainly /NO/ quick solution ;=(( And yes, Kevin, I too am a little facinated by WSL... seemingly a MS free-be!?!?!? ... I have read into the install docs, and as you say, does not look TOO terrible ;=))... so may get around to trying that... for fun! You know, I started this new, well circa Dec 2019, Dell03 Windows 10 machine - A Dell XPS 8930 - with a total 1.5 TB of disk space - which I have already more than half filled! But have added a 2 TB usd hdd, that I can move things too... I am sure WSL is going to gobble up some more ;=)) But WSL, being a Virtual Machine, will probably not like to install on a transient-like usb drive... Yes, I would like to keep a windows build of edbrowse... its very existence may encourage those 'niche' users... Best regards, Geoff.