From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by sourceware.org (Postfix) with ESMTPS id 738FB3858D28 for ; Sat, 29 Jan 2022 22:09:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 738FB3858D28 Received: by mail-yb1-xb2b.google.com with SMTP id i62so29001099ybg.5 for ; Sat, 29 Jan 2022 14:09:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dduOciFyYhoAaRuKYe5j+trYoIARrrmROFJ6AoEseH8=; b=LsgkvXZLXOhAC2zerwxii2uErmm/xsBHfHsBuggtarPRQ5MeFbVjYOZkO036S7Wx6e vSeJmJ61BgbuaWXWd4DICrA81jDfLYFVczmCfzfCKOuSBQccHoCYjptAlLgIJbPQXJbs /pJqYJDUjFDpzlg4H29PoNnlG0zzF8TRDXoSTvaoXSVUCy5iXq2zqudBP21lWMRZq5KU WmUvqQ4rLEkYoUaYv6Z3cBwt8WMkXdaenouanfuw7jbNGcj7qDQXcRn5WSXV54RC4WRY 9GLXU+jUsuFyD4ZdMD11gnC7K5fSVyVszPUjtPRNKpZZ+1rAP0RYVVe46EgPlI2b7JXH aOdQ== X-Gm-Message-State: AOAM5333pYHGx3JcvEWOiZK0Wj/gQJ0g3Brj8csuSxLYoWKUk58sxyp0 ltOtyLYRUBpSPEswWu9mjMqEOVHlRiqvQpNOzdGAR3HSyAk= X-Google-Smtp-Source: ABdhPJyjMj2d466WFrglpTsDqVYys0jQ1MK2uAasepyppeUMOkvhAePBZYXrHssx6vvX5G3EVnLNrhulfupYdQn7hEk= X-Received: by 2002:a25:4156:: with SMTP id o83mr20849103yba.460.1643494159722; Sat, 29 Jan 2022 14:09:19 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen?= Date: Sat, 29 Jan 2022 23:09:08 +0100 Message-ID: Subject: AOT compiling and libraries to link against To: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen_via_Jit?= X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: jit@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Jit mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2022 22:09:21 -0000 In the documentation about AOT compiling ([1]) it says that there is currently no support for specifying libraries to link against. And, indeed, if I add, say, "-lname" via add_command_line_option to the driver command line, I get an error message libgccjit.so: error: command-line option '-lname' is valid for the driver but not for Is there a principal reason why specifying such flags is not possible? Could it be easily added or are there workarounds? Thanks, Marc