From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30646 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: My build executable file very larger then release Date: Tue, 31 May 2022 13:16:16 -0700 Message-ID: References: <5e412d02-44fd-4ce5-947e-9872cb918c1cn@googlegroups.com> <871qwa6x1n.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16931"; mail-complaints-to="usenet@ciao.gmane.io" To: Albert Krewinkel , pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBFHP3GKAMGQEIRW4O6I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 31 22:16:26 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pl1-f192.google.com ([209.85.214.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nw8Hx-0004Ew-BC for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 31 May 2022 22:16:25 +0200 Original-Received: by mail-pl1-f192.google.com with SMTP id e18-20020a170902ef5200b0016153d857a6sf9410023plx.5 for ; Tue, 31 May 2022 13:16:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654028184; cv=pass; d=google.com; s=arc-20160816; b=KF4yL0nfAqfOA32L9aI0PC9RZoJSvWpSXpbSxkNGTf/bwD1191E9qnU/0Sps7p7J/0 nokrRExB4dK0vbe0c3tF1CGDJiRcEIltoyk+uxkOvxl2Y5CN9iUy9Oz98vLupRXJjkTy W2zn7y8GMTa8du6IXaZ4MhpfhGSVXE4shE1QnynDbr/0R4MKWCUKB8eSWXHb9xTZH5Je OM9vMTYThDsNcNI8k820AnJTkMTWcy6rJsLu0xyUrZk8j+blXz7/uklOQzDBK3h51NV/ 65SquMwtDINct2JAQmlG4XUhk105F/pYq6821BIjBSOmccUIvMKH7x+p7zgecfHxx7wR kmbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=UI6ni4XQDAFUqZO/ziXo/GrwypkxNpyBsBeJewVFaV8=; b=na5cBm5QmETcgbBip2rII7XHjvOKhKRy22t8EHkSD4f24DyYGakolbyD7Pn2/eX+4P 0xRlA0L6YHaE2Ts+xaziHXLul65CmOB/g9jkc8v39a43oUg++cFmpYf4r4BinPc6UtFC 4NDHfKt7wVqGLgS9n5scqplLHodNeIykJgiX2cuQ4ccEFx5PM5g1EJncgjLbZ2Zukl41 e2nYKJRq/FW6etAlO+YDvEICRLr0kQEagzN9oKWb8En8xmBgU90HQwRuR+t4fuvJpvq7 Kv+cUpm6zjYnRsrtF1EkaG1qoraTtSmjGvL7r1hmxEbzyG4WJ2ZTgyGs8iuMW2qaamIM p02A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b="W/+PBH1Z"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1035 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=UI6ni4XQDAFUqZO/ziXo/GrwypkxNpyBsBeJewVFaV8=; b=TfVWIFgVdnGOXra4l/JN2ozhDtOew1H6PM1OJ58hqForb0c8wXKRm5XnPxFQ8yJikl p0cqw4a+rH6EikuRYFTx3qBvRC4EQHCBTsqDsI4esby6qILxSRgsWOa0o8gXZVGinkET QE7/L09qOmM4oNRRvmO5ICHpc9qVkUII4A6rEfwaOSFsEOLQyJD5bQ2EJEmPIxRNfEQs Kjcoa7aUzbRZ2Fca2oi8x/JYKrK8IYnneYFcqhPgeEu6XWhtEb96cNzg+Lk/2LPddWpL ZIpATEU5gCwwo5UwYIpMnp04tsrWZbVc9gUavZyEJxdsfrA2pVc/k2fn6m7pkNTgz9Dg yJPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=UI6ni4XQDAFUqZO/ziXo/GrwypkxNpyBsBeJewVFaV8=; b=Rrp7VPVGBynMeiV+1bUGM+wmkJVk9t1iBS9crui3TkUJodWEcktKazm1m0+cwxlvMG 76RV4+0A0Bt4man4jcGiUlSbYf5H5+DjX448I9epMQmEogoXOFxZYW3fEjwwlZyA9wpD 5/aCwpwtZ8ugzQRJYwUXpE21xEiF6y/p45SUWXvccGRKPhP3hoO1/+K0nizhoVOBbIdL MuwLthZMfj7HO5JBDyuuQjUiKVgNT9jKWELIjpNqyPUjpXGFUyc/MrpxBJfw3h8ccsCQ wp0CsOpU5dm3Y7vGVkmlFSZkuv6GJFLGeE0/uMPWaWBTLgodK/wYfNbK9yd02O4zp91n zJIQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532XL00FIAAo7Ys9ifwWaXDkqUI9j7eEg6/BZoCK+qbo/EL99mdz WlmvX9HeCxiHIjs4VAanEZg= X-Google-Smtp-Source: ABdhPJy9qWnFAchKlRPoeMZY4LuPcs8M8oKs1jUZy3VrF9S1VWRstzKFZTUaE366qDVtpIGSMV7UhA== X-Received: by 2002:a17:902:f542:b0:165:103c:9913 with SMTP id h2-20020a170902f54200b00165103c9913mr361746plf.77.1654028183786; Tue, 31 May 2022 13:16:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:f54b:b0:163:f358:d4b4 with SMTP id h11-20020a170902f54b00b00163f358d4b4ls561655plf.7.gmail; Tue, 31 May 2022 13:16:20 -0700 (PDT) X-Received: by 2002:a17:902:854c:b0:158:35ce:9739 with SMTP id d12-20020a170902854c00b0015835ce9739mr61979499plo.150.1654028180155; Tue, 31 May 2022 13:16:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654028180; cv=none; d=google.com; s=arc-20160816; b=WfXpYbtU9aNiyYIRCas4QfzNVyfLJLCniiz7dTvOfQPaHooyquootnSMkr4KfrXoKy CaTnaFdlzOzzNVJeAToNPzA26IxLQFFjPJx/KG+sPQO2Sup+uBVofEfYQjwlltrfFASh 65kV/spVwA/h+h9exWAg5bz4/9XDWbQwxJI+hB1gnWWumZnX7eTRkqMFuFjIuK5ZcQi/ tWPZPRvj1SIzkH+JLFxNy1Qwpy67MCclsEFkXlRejn/zi2SFTw0emUWQBeaLw1et+JAL Zow1waFL99kDCnK3/Vl1YeOF2C3jY0vJkskh/41KJCqtDjBeVIy0saFjQStg9e/pkG79 0Fuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=j0Nq9/vixRXu86TxXZvrKSVT7C+T2cBjSNHCgpdMAhc=; b=wzSQ9NL50rG3CdPLLzFt5Yda267FaM04QyPVK0wYlviXP2L3Iz09G+z2MV/ILNZ5ao TCjNoMXRdits0FcFzzXQb/LZqJXonu56UI1Ca7S4MEJ2iqMvsd1v+wiqnqHI+qb/1zoW Lz8TzpOz8+9U+wCxH8uveOD7RFBTwHDlWa6a1yWSTJRImXfip1R0zuQeypeugugwtBJ6 sZOYR1LK8lxXrmUFWHlG/1iIIYRHA8GEWmm3TQCi09eJI5mBDvQaSJrnwSD+OXstOr/X KwiY46tFE4vNvq7H058WivhkvEY/F8kWI9mo/bpmWaZi09DvNJpBm3pkqRg/2IH2ckRO KPZw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b="W/+PBH1Z"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1035 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu Original-Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com. [2607:f8b0:4864:20::1035]) by gmr-mx.google.com with ESMTPS id 5-20020a630905000000b003c5fc1280c6si520892pgj.0.2022.05.31.13.16.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 May 2022 13:16:20 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1035 as permitted sender) client-ip=2607:f8b0:4864:20::1035; Original-Received: by mail-pj1-x1035.google.com with SMTP id gc3-20020a17090b310300b001e33092c737so3340934pjb.3 for ; Tue, 31 May 2022 13:16:20 -0700 (PDT) X-Received: by 2002:a17:902:758a:b0:15e:ef4f:fed5 with SMTP id j10-20020a170902758a00b0015eef4ffed5mr62302202pll.1.1654028179651; Tue, 31 May 2022 13:16:19 -0700 (PDT) Original-Received: from hermes.johnmacfarlane.net ([45.32.92.108]) by smtp.gmail.com with ESMTPSA id h28-20020a63211c000000b003fbaae74971sm9021710pgh.72.2022.05.31.13.16.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 May 2022 13:16:19 -0700 (PDT) Original-Received: by hermes.johnmacfarlane.net (sSMTP sendmail emulation); Tue, 31 May 2022 13:16:16 -0700 In-Reply-To: <871qwa6x1n.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b="W/+PBH1Z"; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1035 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:30646 Archived-At: It could be that the -split-sections option is responsible for some of the shrinking. Albert Krewinkel writes: > A jeep writes: > >> I'm not familiar with Haskell. >> >> In my utuntu 20.04, I `stack install pandoc pandoc-crossref`, the >> result exec files are very larger then official release: >> >> [...] >> >> How can I shrink the exec files to pandoc official release file size? > > The main trick is to use `strip`, a tool to remove debug symbols and > other data that's not required. > > See also the script linux/make_artifacts.sh, which is used to generate > the official release binaries. > > > -- > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > > -- > You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/871qwa6x1n.fsf%40zeitkraut.de.