From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iJ7fEng8EGeFCgAAe85BDQ:P1 (envelope-from ) for ; Thu, 17 Oct 2024 00:21:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iJ7fEng8EGeFCgAAe85BDQ (envelope-from ) for ; Thu, 17 Oct 2024 00:21:44 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=RpS6Ayvj; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=n+Iy4kxE; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Seal: i=1; s=key1; d=johnnyrichard.com; t=1729117304; a=rsa-sha256; cv=none; b=NAKwDpGRTqBYw4fMLiAooz/cKETjD4QhjavuoaiwtpFpu06hsjZ+0w1R2M65/wwjUMx3nq P5dEhA7a48amnh+z2bsuT9+kDbgKyXjxr22qm6ONDUDdgsmu/jOP0tN0WZqPoYL+kjgNp7 zBPfWgEyNsLwzjFOrh/6jf5vq6aWIjxJIke+fW2xu++JfZ2dgiQNQ4aEnKW9d5k7mokVMh XYh1YXq4ISw4EvWW/OMMK+M7/p2hF0lJRB0MQcjoplVAq+OQXnbYhbfeqpOfLeiO4/HXON vowY/b4EpBceUglqLqvnR6h+hp3vrJn+qeSrhQ07HJe8krcUaqyd2knL80+qFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=RpS6Ayvj; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=n+Iy4kxE; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1729117304; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ie/i1V6WZNRPy7v+qTmi2YP19Euk1Cl0is4VSSYnyBA=; b=Ek2AqZ2Dv1t1TK4xkEmLhmwHPHC/OCkq67/gabzWlvxJvsFon3UaR3EIdULEN92HKPmZ6k eFJsUJCnVy8/m+yAQJcF4FK8hG66fyH6y1v6Z7qies/qAS8XPjay9TPavnutYd9+pMdZeM r1Dekoe0UAf/pyE8uyl6Hz6qh4n0lujc0gS3h8+kLEHsrH+nCJDm8Epvzk6HwYPeu0xnpi zL6pU9LLXWUlUJgRwrpE4l6UYZD5re03zRFhfBVHF4T4k6YZFkF3vVIzcGb1I5VWL/WjC4 uWfali7zUPZs2cZi4hHfb9CUO+hqwpNt+pCdf1Cv+X9T9sA5WgKZvD/SPQD4Jw== Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BF39B1EA46 for ; Thu, 17 Oct 2024 00:21:43 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=H4SnlCWuQSfEn6TENku4hYBHiOk0UdbUgjfqzBJbWJU=; c=simple/simple; d=lists.sr.ht; h=From:To:Cc:Subject:Date:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1729117303; v=1; b=RpS6AyvjiHhBxyUkNxmlPbZnzeh5ajSkJSzU+SVJ9o450RWsG+aLEcfwQtm+Z2oHc7u+20w2 X4Snpz/fkWqML+3HEC/vdDy8yCCKfVlkbfc65TmrUY1u24Fsi3yE6J9AOU7BjFEts1s3ythRVOo oMbwnLrPecmd+ihNOZmE8DYF6NLcS2vK0pxVN2pfTgcCBpSIHAAu1u6Pn0zGnFgnnyFgvqPS9No 5WgWQDDg2DzrNmBhtbsqYa8fkwTxkZQVAHoAXxnhehhpEWw/+Qgxk0qRHWIM8BlPkP4V2kTEb1B lAvqkUgE/Qb5Ecj0+BBS1ARQEN+IZbwHtkhXAv6KecFYw== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 052AB202B6 for ; Wed, 16 Oct 2024 22:21:43 +0000 (UTC) Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) by mail-a.sr.ht (Postfix) with ESMTPS id 1812F20139 for <~johnnyrichard/olang-devel@lists.sr.ht>; Wed, 16 Oct 2024 22:21:42 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1729117301; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ie/i1V6WZNRPy7v+qTmi2YP19Euk1Cl0is4VSSYnyBA=; b=n+Iy4kxEjE97pmNliSdv0cZPEsYLoZdCDFgCn0+1fnvJRZod5SOt2VvibYwYH/RRC9Zv43 UYRDakZ5nwMsS+yRe3GDC1GWWNWk5V1sM6SFQT8n4+AauD0hfAf1dTGvW4MUFw3EbyAXrL S0AtK2EWzjrgKkbg08uk+zq5cC9CEIOxQPZQ0d8Duvo5i7nt1d7k0INzj4Evg1xAf1bTlJ W/BvpBUSMGNpzTnlRJ0Eb0BofmwFD5xetCdRXnaRtyUpTYlqVcZijZPHWdLnCVAkzYINQo vHSIjxou+1V1XNSsq31XRpR1VfnG2Dm5b+cDxpsHYZGKmn/syp3w3a3VTYT6qQ== From: Johnny Richard To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Johnny Richard Subject: [PATCH olang v1 0/3] cli: enable object file binary compilation Date: Thu, 17 Oct 2024 02:19:57 +0200 Message-ID: <20241017002102.454851-1-johnny@johnnyrichard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Flow: FLOW_IN X-Migadu-Country: NL X-Migadu-Spam-Score: -0.77 X-Spam-Score: -0.77 X-Migadu-Queue-Id: BF39B1EA46 X-Migadu-Scanner: mx12.migadu.com X-TUID: 5G1eyJj26jBm Johnny Richard (3): codegen: link olang binary with libc by default cli: add option -c to compile without linking codegen: remove linux from codegen namespace docs/man/man1/olc.1 | 6 + src/cli.c | 3 + src/cli.h | 3 +- ...egen_linux_aarch64.c => codegen_aarch64.c} | 16 +- ...egen_linux_aarch64.h => codegen_aarch64.h} | 2 +- ...odegen_linux_x86_64.c => codegen_x86_64.c} | 254 +++++++----------- ...odegen_linux_x86_64.h => codegen_x86_64.h} | 6 +- src/main.c | 37 +-- 8 files changed, 135 insertions(+), 192 deletions(-) rename src/{codegen_linux_aarch64.c => codegen_aarch64.c} (88%) rename src/{codegen_linux_aarch64.h => codegen_aarch64.h} (91%) rename src/{codegen_linux_x86_64.c => codegen_x86_64.c} (77%) rename src/{codegen_linux_x86_64.h => codegen_x86_64.h} (82%) base-commit: df8420f27dd88669bc3c9c21903c79669903a414 -- 2.46.0