From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Elijah G Newsgroups: gmane.emacs.devel Subject: Re: How to link new libraries when building emacs Date: Wed, 3 Apr 2024 21:49:45 -0600 Message-ID: References: <87le5v2dto.fsf@yahoo.com> <8734s22cpe.fsf@yahoo.com> <87r0fl24yo.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a0cd0e06153d3b1a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16558"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 04 05:50:43 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rsE7e-00047m-Qw for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Apr 2024 05:50:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsE71-0002R3-Ap; Wed, 03 Apr 2024 23:50:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rsE6y-0002Qj-Pw for emacs-devel@gnu.org; Wed, 03 Apr 2024 23:50:00 -0400 Original-Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rsE6x-00047O-9o for emacs-devel@gnu.org; Wed, 03 Apr 2024 23:50:00 -0400 Original-Received: by mail-qt1-x843.google.com with SMTP id d75a77b69052e-430b6ff2a20so2786961cf.2 for ; Wed, 03 Apr 2024 20:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712202598; x=1712807398; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=11D88xKqFSx3YzoHVtEuZmHwLo3Ek62IJie/XkcasZg=; b=aiOiBb7NePFw9vPjtUQppLr983WWObN7b3rC3RjqBuwO5etLtVFlcUnr4t/VVo9wl0 MgWmHkUaKt1aRlM1BOQkzDMWBXpr+sBI5Qlchk7VwQGNVGRe6vrmTXahWRJ6O4EjPmRJ LcQln7U6WnH8Bn5o2sgLSRAgkoENItSG6oId0TYtDRp6JEnSdXOwTEf/WQF4AXFSuhnY Jri4Ub7vOD45XBYV+AnHBinfgdIip0zSNmC3upe013qXsgPPqHTyJ3aHc7uoCn/zvjoj dKKdK/6ig6J33erv393dUOJLoNxvq64xO/AwCyqOKzvQotjvp5l6KNDSZdNdHDgEhqRm vr8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712202598; x=1712807398; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=11D88xKqFSx3YzoHVtEuZmHwLo3Ek62IJie/XkcasZg=; b=ROCl6YVotHt4QPnveW9HBHZv9ScIgsEcX8unTVURDFUVlTk8Fi857IO17Sv2Ard4Gn IWAiw+SBs7lhMB7Yvb/HGNBSDlLfAXRKFMqv2mnHpfv8DiUNG8RVFa/CxbXiigvzkqIJ XvqSXbPD5X5RLe1CRpF8L34fhlOZGWFi22+mK7SfqzFj7kIjYIIjCGWLdLeQGrS+tu9r jxGpGRTcWCYQSb5jc/SUcs8/4Z1fa2aYD32AJJEmEa/0Cj1AK/lxgTXEnZz7zm8WVIrA aRguiXT3u8MsUxHBdR0XDh3z2D/XDQZ54+M560xZW0sG831Uo0eEqZmGAsFXJEL2SmSE o16w== X-Gm-Message-State: AOJu0Yy0Wf4ejFfowLukS1KTHf7wJknewXBRkXttzR2quxM6Z+Nf5RSo t2SYBAR48QgoE33G6ydMm+Frt75MCzhybErXhT/l8S3VPU3yjtp61X72FzghxYEXQz86+zFOISe Z0O6izw1qK8cC8YrKE6aFLLw9hdQ= X-Google-Smtp-Source: AGHT+IE43Bs834hk8HER9/HHb9UK7Y9XiHHCItQ/RCPr84U5AdAG2Jq1nsDLp1PXM1pgfdgfQLEeB78W26QQasVGXZo= X-Received: by 2002:ac8:7d07:0:b0:431:75ae:ac51 with SMTP id g7-20020ac87d07000000b0043175aeac51mr1454568qtb.27.1712202597842; Wed, 03 Apr 2024 20:49:57 -0700 (PDT) In-Reply-To: <87r0fl24yo.fsf@yahoo.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::843; envelope-from=eg642616@gmail.com; helo=mail-qt1-x843.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317510 Archived-At: --000000000000a0cd0e06153d3b1a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 3, 2024 at 9:16=E2=80=AFPM Po Lu wrote: > > Elijah G writes: > > > Yes you are right, but since d1d2.h is also made in C i think it > > may be possible to import it into emacs, (except d2d1_helper headers > > since they are made in pure C++ (also i'm thinking of adding another > > header into emacs to add similar helper functions)), > > If this header requires a C++ compiler, I can't promise the additional > build-time requirement will be acceptable. As far as i know, the header doesn't need any c++ compiler (also the dlls are built-in in my system), my build is using gcc -g3 -O2 -gdwarf-2. --000000000000a0cd0e06153d3b1a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Apr 3, 2024 at 9:16=E2=80=AFPM Po Lu <luangru= o@yahoo.com> wrote:
>
> Elijah G <eg642616@gmail.com> writes:
>
> > Yes you are right, but since d1d2.h is also made in C i think it<= br> > > may be possible to import it into emacs, (except d2d1_helper head= ers
> > since they are made in pure C++ (also i'm thinking of adding = another
> > header into emacs to add similar helper functions)),
>
> If this header requires a C++ compiler, I can't promise the additi= onal
> build-time requirement will be acceptable.

As far as i know, the header doesn't need any c++ compiler (also th= e dlls are built-in in my system), my build is using gcc=C2=A0 -g3 -O2 -gdw= arf-2.
--000000000000a0cd0e06153d3b1a--