all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Elijah G <eg642616@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: How to link new libraries when building emacs
Date: Thu, 04 Apr 2024 11:15:43 +0800	[thread overview]
Message-ID: <87r0fl24yo.fsf@yahoo.com> (raw)
In-Reply-To: <CACnP4NKg9uXoyfPS_Gw_nN8KKtDmmTfYvP-iHPjD5OgA43E+yg@mail.gmail.com> (Elijah G.'s message of "Wed, 3 Apr 2024 20:15:12 -0600")

Elijah G <eg642616@gmail.com> 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.

> It's only a test that I made to check if it's possible to import it
> Without dueling with C++ and using their functions and/or variables
> in C (I'm not sure where I should move this code snippet).

syms_of_w32font, perhaps?  (It's really not I who's best-positioned to
answer such questions.)



  reply	other threads:[~2024-04-04  3:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-03  3:11 How to link new libraries when building emacs Elijah G
2024-04-03  5:52 ` Po Lu
2024-04-03 16:42   ` Elijah G
2024-04-04  0:28     ` Po Lu
2024-04-04  2:15       ` Elijah G
2024-04-04  3:15         ` Po Lu [this message]
2024-04-04  3:49           ` Elijah G
2024-04-04  4:25             ` Elijah G
2024-04-04  6:47           ` Eli Zaretskii
2024-04-04 22:47             ` Elijah G
2024-04-05  5:18               ` Eli Zaretskii
2024-04-05 22:53                 ` Elijah G

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0fl24yo.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=eg642616@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.