- Timestamp:
- 02/28/2024 04:02:52 PM (7 months ago)
- Branches:
- xry111/mips64el
- Children:
- 5e6642a8
- Parents:
- 60dbbd1
- git-author:
- Xi Ruoyao <xry111@…> (01/03/2024 05:46:20 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (02/28/2024 04:02:52 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/gcc.xml
r60dbbd1 r3577b41 236 236 platform-specific differences in the dynamic linker name):</para> 237 237 238 <screen><computeroutput>[Requesting program interpreter: /lib64/ld -linux-x86-64.so.2]</computeroutput></screen>238 <screen><computeroutput>[Requesting program interpreter: /lib64/ld.so.1]</computeroutput></screen> 239 239 240 240 <para>Now make sure that we're set up to use the correct start files:</para> … … 244 244 <para>The output of the last command should be:</para> 245 245 246 <screen><computeroutput>/usr/lib/gcc/ x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/Scrt1.o succeeded247 /usr/lib/gcc/ x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded248 /usr/lib/gcc/ x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>246 <screen><computeroutput>/usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/../../../../lib/Scrt1.o succeeded 247 /usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/../../../../lib/crti.o succeeded 248 /usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen> 249 249 250 250 <para>Depending on your machine architecture, the above may differ slightly. … … 263 263 264 264 <screen><computeroutput>#include <...> search starts here: 265 /usr/lib/gcc/ x86_64-pc-linux-gnu/&gcc-version;/include265 /usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/include 266 266 /usr/local/include 267 /usr/lib/gcc/ x86_64-pc-linux-gnu/&gcc-version;/include-fixed267 /usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/include-fixed 268 268 /usr/include</computeroutput></screen> 269 269 … … 278 278 be ignored, but otherwise the output of the last command should be:</para> 279 279 280 <screen><computeroutput>SEARCH_DIR("/usr/ x86_64-pc-linux-gnu/lib64")280 <screen><computeroutput>SEARCH_DIR("/usr/mips64el-unknown-linux-gnuabi64/lib64") 281 281 SEARCH_DIR("/usr/local/lib64") 282 282 SEARCH_DIR("/lib64") 283 283 SEARCH_DIR("/usr/lib64") 284 SEARCH_DIR("/usr/ x86_64-pc-linux-gnu/lib")284 SEARCH_DIR("/usr/mips64el-unknown-linux-gnuabi64/lib") 285 285 SEARCH_DIR("/usr/local/lib") 286 286 SEARCH_DIR("/lib") 287 287 SEARCH_DIR("/usr/lib");</computeroutput></screen> 288 288 <!-- 289 289 <para>A 32-bit system may use a few other directories. For example, here 290 290 is the output from an i686 machine:</para> … … 298 298 SEARCH_DIR("/lib") 299 299 SEARCH_DIR("/usr/lib");</computeroutput></screen> 300 300 --> 301 301 <para>Next make sure that we're using the correct libc:</para> 302 302 … … 314 314 platform-specific differences in dynamic linker name):</para> 315 315 316 <screen><computeroutput>found ld -linux-x86-64.so.2 at /usr/lib/ld-linux-x86-64.so.2</computeroutput></screen>316 <screen><computeroutput>found ld.so.1 at /usr/lib/ld.so.1</computeroutput></screen> 317 317 318 318 <para>If the output does not appear as shown above or is not received
Note:
See TracChangeset
for help on using the changeset viewer.