From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by sourceware.org (Postfix) with ESMTPS id E37DE3858D39 for ; Mon, 14 Aug 2023 01:59:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E37DE3858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ricmoo.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ricmoo.com Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7659cb9c42aso253448985a.3 for ; Sun, 13 Aug 2023 18:59:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ricmoo.com; s=google; t=1691978345; x=1692583145; h=to:message-id:subject:date:mime-version:from :content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=YtB7j3K+1EdfQgAPxJkWHGK9kYkNNqOr1e6FQDsGWXA=; b=Sc+H/j+1q+MU/rbTCUfHfBwgXJ6bcAM2FccP3rBUTwNcMYMc/ozZ/E3ijHelZ+aLbO 0Oww5MuOS1LnBe4vtdi55KpZ8hVV+6YKyLw7kmuAV3DIFSzwCE3xug7sMP8rwwpzj7h0 FXLug0fPKUGY9Ytp9vz6GnQnUIqTQS3oBjZfg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691978345; x=1692583145; h=to:message-id:subject:date:mime-version:from :content-transfer-encoding:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=YtB7j3K+1EdfQgAPxJkWHGK9kYkNNqOr1e6FQDsGWXA=; b=HxrzOOtyf+QLzXSC7mF9ViG6D6bqhwFZOlhL09y47DrRqgAGj4MhLwlYRFWsBTQXaP elK18unA1xWbdH2ow7St9ynI/1YTKJUogq7IlsY+uJqmYFRqXfLzY/i64XOF1UjOvGAq 3cHqMQud5XECxKxCtDJToIkNv+HC2eTfFqqeuhFjC053FPGcY/sDOuvRwQ48FUg0h41M Dpwsan8ISvP2vHu+Ys5kryahBjdkKbKIYJxuBXaRatfj4OMHu8ZgqQAA74eND9ETH0Lr CE05/JZ9KBcLSFd+pNqdUv78S0zHHzQnvyu5evuu3vwsJBC0x9nOj/oFKgticDdV08xG 7CPg== X-Gm-Message-State: AOJu0Yy15zlxsVnomk1eRrKFGzcaqlF7iUBzqIABRDIUXPYqgt6aRTfF NcJUJFj/Jg0rAy4Wacw6QR8E/aNuZcbauB0jDGs= X-Google-Smtp-Source: AGHT+IFfbzwypwITFf08TXVrhjvQCmmaEoYVUsNHgsNRlG/5czkNIOiJDTsWWE5ktp0OV7ydHnCIDQ== X-Received: by 2002:a37:2c85:0:b0:76c:b30a:5d8e with SMTP id s127-20020a372c85000000b0076cb30a5d8emr8972921qkh.61.1691978344667; Sun, 13 Aug 2023 18:59:04 -0700 (PDT) Received: from smtpclient.apple ([2605:8d80:668:56eb:dda5:7f42:e31d:4420]) by smtp.gmail.com with ESMTPSA id m12-20020ae9e00c000000b0076ccf1a0da3sm2723453qkk.75.2023.08.13.18.59.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Aug 2023 18:59:04 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Richard Moore Mime-Version: 1.0 (1.0) Date: Sun, 13 Aug 2023 21:58:52 -0400 Subject: Using Emscripten? Message-Id: <4E963AD5-239E-4E7D-922B-03C0C2EA32E3@ricmoo.com> To: crossgcc@sourceware.org X-Mailer: iPhone Mail (20G75) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi all! I=E2=80=99ve been trying to figure out how to configure CC and CXX for the =E2= =80=9Cinternal=E2=80=9D build (meta build?), or possible make a custom host?= In a nutshell, the goal is to create the dev tools as a bunch of emscripten (= using emcc) blobs that I can string together with JavaScript wrappers so tha= t I can compile C to RISC-V in JavaScript, both in the browser and in node, f= or a platform-independent build system. I=E2=80=99ve been working with the Espressif fork thus far, since that is wh= at the final target will be; write C in your browser and deploy directly to a= n ESP32-C3 from the browser. I=E2=80=99ve tried changing the CT_CC to emcc (from gcc) without luck. Any g= uidance or suggestions would be greatly appreciated. Thanks! :) RicMoo Sent from my self-aware iPhone .=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8=C2=B8.=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8=C2=B8= .=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8=C2=B8.=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8=C2=B8= .=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8><(((=C2=BA> Richard Moore ~ Founder Genetic Mistakes Software Inc. phone: (778) 882-6125 email: ricmoo@geneticmistakes.com www: http://GeneticMistakes.com=