ऑनवर्क्स लिनक्स और विंडोज ऑनलाइन वर्कस्टेशन

प्रतीक चिन्ह

वर्कस्टेशन के लिए मुफ्त होस्टिंग ऑनलाइन

<पिछला | विषय-सूची | अगला>

4.2. Creating the $LFS/tools Directory‌

All programs compiled in Chapter 5 will be installed under $LFS/टूल्स to keep them separate from the programs compiled in Chapter 6. The programs compiled here are temporary tools and will not be a part of the final LFS system. By keeping these programs in a separate directory, they can easily be discarded later after their use. This also prevents these programs from ending up in the host production directories (easy to do by accident in Chapter 5).

Create the required directory by running the following as जड़:


mkdir -v $LFS/टूल्स

mkdir -v $LFS/टूल्स


अगला कदम ए बनाना है /औजार symlink on the host system. This will point to the newly-created directory on the LFS partition. Run this command as जड़ भी:


ln -sv $LFS/tools /

ln -sv $LFS/tools /


नोट

The above command is correct. The ln command has a few syntactic variations, so be sure to check info coreutils ln और ln(1) before reporting what you may think is an error.

नोट

The above command is correct. The ln command has a few syntactic variations, so be sure to check info coreutils ln और ln(1) before reporting what you may think is an error.


की छवि

The created symlink enables the toolchain to be compiled so that it always refers to /औजार, meaning that the compiler, assembler, and linker will work both in Chapter 5 (when we are still using some tools from the host) and in the next (when we are “chrooted” to the LFS partition).


OnWorks पर शीर्ष OS क्लाउड कंप्यूटिंग: