Changeset ed434750 for chapter08/gcc.xml
- Timestamp:
- 06/11/2023 08:40:45 PM (16 months ago)
- Branches:
- xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2
- Children:
- 85eca6fd
- Parents:
- 87db6eb
- git-author:
- Xi Ruoyao <xry111@…> (06/11/2023 09:56:08 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (06/11/2023 08:40:45 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/gcc.xml
r87db6eb red434750 241 241 <para>The output of the last command should be:</para> 242 242 243 <screen><computeroutput>/usr/lib/gcc/ x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/Scrt1.o succeeded244 /usr/lib/gcc/ x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded245 /usr/lib/gcc/ x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>243 <screen><computeroutput>/usr/lib/gcc/loongarch64-unknown-linux-gnu/&gcc-version;/../../../../lib/Scrt1.o succeeded 244 /usr/lib/gcc/loongarch64-unknown-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded 245 /usr/lib/gcc/loongarch64-unknown-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen> 246 246 247 247 <para>Depending on your machine architecture, the above may differ slightly. … … 260 260 261 261 <screen><computeroutput>#include <...> search starts here: 262 /usr/lib/gcc/ x86_64-pc-linux-gnu/&gcc-version;/include262 /usr/lib/gcc/loongarch64-unknown-linux-gnu/&gcc-version;/include 263 263 /usr/local/include 264 /usr/lib/gcc/ x86_64-pc-linux-gnu/&gcc-version;/include-fixed264 /usr/lib/gcc/loongarch64-unknown-linux-gnu/&gcc-version;/include-fixed 265 265 /usr/include</computeroutput></screen> 266 266 … … 275 275 be ignored, but otherwise the output of the last command should be:</para> 276 276 277 <screen><computeroutput>SEARCH_DIR("/usr/ x86_64-pc-linux-gnu/lib64")277 <screen><computeroutput>SEARCH_DIR("/usr/loongarch64-unknown-linux-gnu/lib64") 278 278 SEARCH_DIR("/usr/local/lib64") 279 279 SEARCH_DIR("/lib64") 280 280 SEARCH_DIR("/usr/lib64") 281 SEARCH_DIR("/usr/ x86_64-pc-linux-gnu/lib")281 SEARCH_DIR("/usr/loongarch64-unknown-linux-gnu/lib") 282 282 SEARCH_DIR("/usr/local/lib") 283 283 SEARCH_DIR("/lib") 284 284 SEARCH_DIR("/usr/lib");</computeroutput></screen> 285 285 <!-- 286 286 <para>A 32-bit system may use a few other directories. For example, here 287 287 is the output from an i686 machine:</para> … … 295 295 SEARCH_DIR("/lib") 296 296 SEARCH_DIR("/usr/lib");</computeroutput></screen> 297 297 --> 298 298 <para>Next make sure that we're using the correct libc:</para> 299 299
Note:
See TracChangeset
for help on using the changeset viewer.