From: Paolo Bonzini <pbonzini@redhat.com>
To: quintela@redhat.com
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] Change search path for libraries for x86_64 linker script
Date: Wed, 22 Jul 2009 19:13:50 +0200 [thread overview]
Message-ID: <4A6748CE.907@redhat.com> (raw)
In-Reply-To: <4b402aac0b16457d929f6fc720fd7a37932c29a5.1248281874.git.quintela@redhat.com>
> -SEARCH_DIR("/lib64"); SEARCH_DIR("/usr/lib64"); SEARCH_DIR("/usr/local/lib64");
> +SEARCH_DIR("/user/local/lib64"); SEARCH_DIR("/lib64"); SEARCH_DIR("/usr/lib64");SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
> SECTIONS
> {
> /* Read-only sections, merged into text segment: */
What I was thinking about was extracting it at configure time inside the
linker script, like
ld --verbose -v | grep SEARCH_DIR > config.ld
sed '/SEARCH_DIR/{;rconfig.ld;s/.*//;}' x86_64.ld.in > x86_64.ld
but besides the typo "/user" this looks good enough to me.
Paolo
prev parent reply other threads:[~2009-07-22 17:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-22 17:02 [Qemu-devel] [PATCH] Change search path for libraries for x86_64 linker script quintela
2009-07-22 17:13 ` Paolo Bonzini [this message]
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=4A6748CE.907@redhat.com \
--to=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
/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 NNTP newsgroup(s).