unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Rob Browning <rlb@defaultvalue.org>
Cc: guile-devel@gnu.org
Subject: Re: How to replace a function
Date: Fri, 07 Mar 2003 10:38:33 -0600	[thread overview]
Message-ID: <8765qvxhbq.fsf@raven.i.defaultvalue.org> (raw)
In-Reply-To: <20030307123707.GA8811@www> (tomas@fabula.de's message of "Fri, 7 Mar 2003 13:37:07 +0100")

tomas@fabula.de writes:

> The problem is that AC_REPLACE_FUNCS will find one version
> of the Guile library, whereas the version I'm going to link
> against is the one returned by `guile-config link' or whatever.
>
> My question: Is there a canonical way to solve this? I.e.
> is there a way to tell AC_REPLACE_FUNCS *which* library to
> look into? Or is it just meant to cope with ``standard system
> libraries'' and am I to re-invent the wheel and do a
> tentative compile?

If I understand what you're doing right, you might be able to just
make sure that you have the right -L and -l args in LDFLAGS and LIBS
before you call AC_REPLACE_FUNCS.  However, even if this does work in
the normal case, depending on how AC_REPLACE_FUNCs works, this may or
may not work when cross-compiling.  I don't really have any experience
with AC_REPLACE_FUNCS in particular, so I'm just guessing here.

Hope this helps

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4




  reply	other threads:[~2003-03-07 16:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-07 12:37 How to replace a function tomas
2003-03-07 16:38 ` Rob Browning [this message]
2003-03-10 12:21   ` tomas
2003-03-07 16:44 ` Rob Browning
2003-03-10 12:25   ` tomas

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=8765qvxhbq.fsf@raven.i.defaultvalue.org \
    --to=rlb@defaultvalue.org \
    --cc=guile-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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).