qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] Change search path for libraries for x86_64 lin


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH] Change search path for libraries for x86_64 linker script
Date: Wed, 22 Jul 2009 19:13:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2


-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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]