From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30637 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Albert Krewinkel Newsgroups: gmane.text.pandoc Subject: Re: My build executable file very larger then release Date: Tue, 31 May 2022 08:18:01 +0200 Message-ID: <871qwa6x1n.fsf@zeitkraut.de> References: <5e412d02-44fd-4ce5-947e-9872cb918c1cn@googlegroups.com> 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="14420"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZJF7XJTILRBOPI22KAMGQEDJIG6TY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 31 08:22:53 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ej1-f59.google.com ([209.85.218.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nvvHI-0003bN-Bs for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 31 May 2022 08:22:52 +0200 Original-Received: by mail-ej1-f59.google.com with SMTP id gf24-20020a170906e21800b006fe8e7f8783sf4727219ejb.2 for ; Mon, 30 May 2022 23:22:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1653978172; cv=pass; d=google.com; s=arc-20160816; b=kXuIVHWmeheqA/zq64PSu0WODS50EACF4SeTl64LQHLJso2d30vZ9WzGEohq5VnQv6 i6qQj6MOadAgvuc8QI8Yf/IljToawbRsTUa4LYPSWzHGfv0/r/U4+QdfMTMIwltRGC3y Vd0LhEXo4M4DZMHIaV1c2ADy5BROEC45l+qBZYsXjoko1iqY1bvueP9DnWrQnPqO7EU4 5tcs573MqVKS//MUpmcEL/FfWuafDdZvOnwYDUL26s6Uvp1WH1UvKH/r32wuU6a8zdQ8 rroeuKuVFKT6UfD/AOcKsATdojfozDp3WyhKwJBbmaOXYLtLtGLMIq+VPzge2IcfOXWZ 5SxQ== 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 :in-reply-to:date:subject:to:from:references:sender:dkim-signature; bh=2vEgv0ruluV16MKZOyDBE9W/v+b0WGfKM/0ak4x25w0=; b=roHj6evAwe1oJNQ79WcYlOS+i4u0Xm+xxYfx2fJ1H5qIxAYDElxzfUX46E12VjfX/U 2Wb2Ycvr69Uk7T6rI23/Eg9+Ojn+9pWTH0d4Xat+tEgaIomhMTnL0nECyyEz/KFc2Dxn D7jP7naXSnCc5Ws0ZXWtUIj3sQnlz65062qLDqQm1Jr6wkmTWYAENylZ77Ohk4A4v6ww B+hfZN6aJpVaPsWnFENFaVIGV9Au+uLzkbHCa0t9uXm4Eq7NBM1B5tB+UcT+dvsX5Sj6 rX/t3zWcelc0JQSpbi5RrSfSQy4E3HFeC+wAfdDM/6p8Ki/begHLxKlSC7BlDkNX2F77 5WKw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::101 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:references:from:to:subject:date:in-reply-to: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=2vEgv0ruluV16MKZOyDBE9W/v+b0WGfKM/0ak4x25w0=; b=QfeD32iikm0ne3qqgz5nIeoSccG8G7srQCLM2lTBjszvvwPozoc2RqxxHLMdQVmifM BMcEQQ9mwcue6Bbu4OE559ODtLXelWhEJH3sWsHMYX3/b+PLVeqnPDWXgdYMv+A021Zy BRHfy+YL+1z5/fqOXvEGWrcr4QmrgqJe+WJ4twinaVmR69766991sOV/MIKvgSSLINN3 +lyATMo2ztWPZedHvaP3QVdGdNvHfwvHqrgu8Wb8x6PJYGqSBpKwub38ALFPTsYKvhPM DltvZ5AcV0pgn4mWPbqFJZ21Ir1HA68Zl+KN/mjWOWZo9UUKbCDzCnI+sSyfgP3S8jEF ZLsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:references:from:to:subject:date :in-reply-to: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=2vEgv0ruluV16MKZOyDBE9W/v+b0WGfKM/0ak4x25w0=; b=gX6zeZuwzB6uRAU6hTfEj50jv5xF3EMHggQZDIRPWvIg3HMHHXvtXSzt2dOvY1CV0N 7DWP0YSQmZZUtPZkq11jhqW2bpUGOyMQTVWyDoii89mVMvcSX5S8I8ge89sHsm/kMS2K S17o4yuABVKTGR/zu0Zxmc1lckuepErZEjs8LrJKW8+MPrqmVm7mM1XcH4NAMkcnDDx0 U4kNoCmiSzuGgDTyd+vhvD/X4NenMM4vvUt6cBeeXvaTRfoVT/+La692c9mtFZ9MiwbR 97UXCQTCiHgauohAHJJSOZWUCbAxR20UPWqg8lk35xwWFIvlhZ+Co97OyM2oCuZUkYM0 0hXA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533WHtxjvWyLPZ4dQEBWbBobuTePlDPBXZ51cUXk4E+VpwV3trM+ JH9wrZbM6MfziZYLKl1OiWM= X-Google-Smtp-Source: ABdhPJxdsaKakTkp0eK1gvm9rttC74BaWuWCrY4eZHAeStRrbRUZlYQVvorcwyxsFIuOQ63CEbDigA== X-Received: by 2002:a17:907:3f23:b0:6ff:737:927a with SMTP id hq35-20020a1709073f2300b006ff0737927amr30154081ejc.368.1653978171963; Mon, 30 May 2022 23:22:51 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6402:5205:b0:42a:c2bb:3d7f with SMTP id s5-20020a056402520500b0042ac2bb3d7fls595221edd.1.gmail; Mon, 30 May 2022 23:22:48 -0700 (PDT) X-Received: by 2002:a05:6402:424b:b0:42b:3871:75fa with SMTP id g11-20020a056402424b00b0042b387175famr51472446edb.92.1653978168157; Mon, 30 May 2022 23:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653978168; cv=none; d=google.com; s=arc-20160816; b=fNS1gR7qDvcNm4RloTPgcoD1zrZFPyER+w8t1pJSyjQqO4qTPcIbO1SIT4fHmahCC1 3AV+6sspvq0XkzgETfn9OptuXdcE5aD0zDkhUt/ohIRsgD0UHMzrDgHT3uFTbzZN7H67 tfbqTWzDMgrU/mA7+Dh/n3ziKclTgvsOC7KMKHnePbIZcTokcOrg/Q1Cij3dHgBUp2LV EZOHjOdMxIrPKNs9QNLkzyS9CLKPoouKFD63SmuFC7J4nlfZPOtO0AxOUfH0fJWRORwI YpS5Gf9C9kM6hfBdHUAp+Ir867fcc4P9ZHNi867lCLSUs1JY8VuEB4uu5+JPuriYUqos cVXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:in-reply-to:date:subject:to:from:references; bh=kgjLA2X7gk9JRpcQZEMA10hqQjQX1dsR9oQTbjxye90=; b=MsUDJUorHOH2aMaXhklw+OEIpbOzJF0nygw0lO6lJryXIQCsPdxxtXKw7DSy1UAI68 kW8YhX/vdjMQFTnkGO6ixZJill3PCErJwAONqx0cBcsWjgdm2+60FJxtkVYQHZuvyHYz OqvG2x02HUynNjITZMncgq2JoPbs8BhJqhRwxt6d1783WuF6A05z9+b9FSDJSuhDji8g 7CIiBJgQkGo0h5Jb+SdzcLVhLbJ3LCHDJQdbs89PHOfOpYrUFM+Fbi7xwPP6V+21zP1w Eg0VpfzYKAVPAoYnexHinEL6E/b3OewfDIwMXOjhwu5MJlmmDHQBu/CL9WwJICj9X+Un AUqA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::101 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org Original-Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org. [2001:67c:2050:0:465::101]) by gmr-mx.google.com with ESMTPS id y2-20020a50e602000000b0042d687c85d2si464024edm.0.2022.05.30.23.22.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 23:22:48 -0700 (PDT) Received-SPF: pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::101 as permitted sender) client-ip=2001:67c:2050:0:465::101; Original-Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4LC2JP6j7mz9sQx for ; Tue, 31 May 2022 08:22:45 +0200 (CEST) In-reply-to: <5e412d02-44fd-4ce5-947e-9872cb918c1cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org designates 2001:67c:2050:0:465::101 as permitted sender) smtp.mailfrom=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org 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:30637 Archived-At: 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