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=-4.7 required=5.0 tests=MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13509 invoked from network); 8 Oct 2021 19:01:34 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 8 Oct 2021 19:01:34 -0000 Received: (qmail 30684 invoked by uid 550); 8 Oct 2021 19:01:31 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 30180 invoked from network); 8 Oct 2021 19:00:23 -0000 To: musl@lists.openwall.com References: <20211008063141.GC2268@voyager> From: Nat! Message-ID: Date: Fri, 8 Oct 2021 21:00:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211008063141.GC2268@voyager> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Subject: Re: [musl] Newbie problem with musl-gcc Am 08.10.21 um 08:31 schrieb Markus Wichmann: > musl-gcc -o foo foo.c > This doesn't say -static in there. Try adding that and see was happens. Nice, now it works. > musl-gcc essentially just adds a different specs file to GCC, and that > file is not changed based on the choice to have the shared library or > not. But why not ? It would make sense, wouldn't it ? Thanks for the help. Ciao    Nat!