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 22:25:36 -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="000000000000f1f2fc06153dbbe9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15898"; 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 06:26:48 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 1rsEgY-0003u9-VK for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Apr 2024 06:26:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsEfk-0006Ud-CK; Thu, 04 Apr 2024 00:25:56 -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 1rsEfh-0006UJ-Jw for emacs-devel@gnu.org; Thu, 04 Apr 2024 00:25:54 -0400 Original-Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rsEff-0006ZG-NO for emacs-devel@gnu.org; Thu, 04 Apr 2024 00:25:53 -0400 Original-Received: by mail-qt1-x844.google.com with SMTP id d75a77b69052e-43448ff9be3so3852011cf.0 for ; Wed, 03 Apr 2024 21:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712204750; x=1712809550; 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=OTIwDamnIjmdyhJCcsQXVqleufiDA/dp2BxPU8W1Oww=; b=nKkRclUvkX9QarfNqj5HdG3cZc/naZ7PmzqeyF8LJjSDsz2BT4PVDe5wN5Tfic44rj M0RWu6uTErrRBRtUF1/E/swIzv3lJCnPczP6rpuJaJ0eWt9mSJ54n60l0jDNz/QZEMjg PZtU1mvttu4q/w5dsIROdssUtA3E0l43HbJYYdZCz2/5ZdrLJX1HKRbehLYlKEQ0G1xa WLyAhYVbTam9yqyDekUP72kPKtosVDUOoqquehvnQYTkRTafzRYTfL5CrIzntAh35Wp6 VKa3mWwzbZyD6/tM9oet6I82yzyfAw5/f8eH8VMTsO92hy3hERHw1w6ENB0OQN4SNHW7 kJGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712204750; x=1712809550; 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=OTIwDamnIjmdyhJCcsQXVqleufiDA/dp2BxPU8W1Oww=; b=RKazkN94cWszFqtRWqr0uYHrxgkllocKuypdS292VRE0oy29z2GhpV21ua9iSliFNh WR89CXp4ug2VlGEqcxnQvwEIgLBK17sqN7V5BX9Pp8YQS48J4oqrKHBXlOx+X8dHHVyg tJ3Ji2x37rx2GCGN4rjG5gqybxl5P+tS7M04bz06Nkrh5h7ZuLG/FEmKu4cJ8g+/yBM8 Ke91jWzY7DJ711UV4xPRmAJw+VbjBRe4WNYrkJ3yWa6WKTbfku0murSfmppTxo5RtRHV xIvHHXcRn13Dydqte/hzuhC57NHRZyn3P0bJpFtjTMcLYoAAm//Sg14HAG21hhFppBfP vkSg== X-Gm-Message-State: AOJu0YyvNMLwaS3f2iNapQq9/pHNg+XM9V8QciMewwDJHnfQXiQgeMJ5 JGil64o2Jo315hmLiT49hqO0D/CWG2OhW/OkCp2eNRai4clGwA0JgqWtwPLihOfM0MyhEQ3OSof h871dlVQGATgNYknuM3UCs/YTu3M= X-Google-Smtp-Source: AGHT+IEpqcORfQII2Hv203hc9LDebJgrHawPUAmsIS9W51hweo5mnckfao8/ui/WtgHUsmtIRLOMrYSpG8XlaSyQAMg= X-Received: by 2002:a05:622a:3c7:b0:432:8f4b:b55b with SMTP id k7-20020a05622a03c700b004328f4bb55bmr1175101qtx.66.1712204750646; Wed, 03 Apr 2024 21:25:50 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::844; envelope-from=eg642616@gmail.com; helo=mail-qt1-x844.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:317511 Archived-At: --000000000000f1f2fc06153dbbe9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El mi=C3=A9., 3 de abril de 2024 9:49 p. m., Elijah G escribi=C3=B3: > 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. > I forgot to mention, since i'm not a pure expert in C that header can be a bit buggy or slow, however i think this thread can also be used for send the state of the header. > --000000000000f1f2fc06153dbbe9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

El mi=C3=A9., 3 de abril de 2024 9:49 p. m., Elijah G <= eg642616@gmail.com> escribi=C3= =B3:
On Wed, Apr = 3, 2024 at 9:16=E2=80=AFPM Po Lu <luangruo@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.

I forgot to mention, since i'm not a pure expert in C that = header can be a bit buggy or slow, however i think this thread can also be = used for send the state of the header.
--000000000000f1f2fc06153dbbe9--