From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by sourceware.org (Postfix) with ESMTPS id C0E0C3858004 for ; Mon, 22 Mar 2021 14:43:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C0E0C3858004 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=netbeez.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jeff.josephs@netbeez.net Received: by mail-qk1-x736.google.com with SMTP id c3so10750499qkc.5 for ; Mon, 22 Mar 2021 07:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbeez-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=5AbdLaWI5u74O1Won4BKFSf/27ibeN19FnWh8K3u7FI=; b=nxwy4UCaYgCanDBnTlbIuIIseDCVmMOPoruXVOwPyGPRVe1QleEouPcqlqOLmyfwpd 6AdwShas6Mu03dz5mUK0dL7TcfZcJWD+JYTNVkBGqbgYv/EgkX26lLDQfyhIB2uzYyOL dieA6P8rgzwfkHI5KS1+8dEm6h3K72OzlW11qKUfbc90HEKTMJeC9I4FWE/A8vOuV4G2 U2k0ggjrSQPX4Rbbqat79Hv4cKjlxEL1G8gIxZaalOdLKIF4zHt2M3zqPPorcU62+Qi3 FMu7xD6EdJdXc6aFHy+K9hUdXuWv5coW4xefXptKkl8Ppe4/gqyroKJj1nXuuFZGQX83 hbAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5AbdLaWI5u74O1Won4BKFSf/27ibeN19FnWh8K3u7FI=; b=b7P51gf6+kKyhwrNK8TTmNEsGmMZOpVBN938wiuZxSJOfjXu0Y12K1i+Q1UQMBqj47 n6OvArkETHpHbWDTiYn7XG4LkMeGdmF7Iwyg3hzKUDwYwgY6fCYHU2MiQYPOBF6n7qMi Iuh36haoIFX9Jn1TKlCJHL3eRaEqHnAdQuj2H/dlTAD3uR3Xv9S/MvPnogOYEZGpb7Kq hwaPLuC987pLAVzymKlTDgjV8X95T+4QsRy+IucT+8WSdX9wwbbVO8pYN2vYaqR4vPCn wLGOalqK9jCiZrNKam99+0YbudvACqMxiSGp96I7wgn7exLJzDQOt45LEjrzZ8I+JluE 7Ywg== X-Gm-Message-State: AOAM532mJtENK0Kgh4vz8fg0rybfWNzx2GOuHiLi5nlvkKxgaiRYl+n+ 7hQClALam6YBPupkMzyoYFP52HRhk0kW2yS4CU03sLV8wcI= X-Google-Smtp-Source: ABdhPJzE4Y0PhUoHrBYleNhV2XubvPUdCUJeJ+LpIjDceEydwxaa6ZFRSDkYZdJZB94gy5JJNV+j0c+PlkPhfBl8MN8= X-Received: by 2002:a37:9c51:: with SMTP id f78mr377992qke.228.1616424230000; Mon, 22 Mar 2021 07:43:50 -0700 (PDT) MIME-Version: 1.0 From: Jeff Josephs Date: Mon, 22 Mar 2021 10:43:31 -0400 Message-ID: Subject: External static library within Cygwin To: cygwin@cygwin.com X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 14:43:51 -0000 I have a third party external static library in native Windows, and I am trying to use it within my Cygwin project. After looking at the static library, I noticed that it uses name mangling, and when compiling the Cygwin project, I get undefined references. Aside from modifying the third party library to not do the name mangling, is there anything within Cygwin that I can do to solve the undefined references with the name mangled functions?