Glibc 2 installation under Linux - establish a cross connector (2)

xiaoxiao2021-03-06  22

to be continued....................

This step may be the easiest, one but you think you have to go, everything will make a simple, you can create a cross-compiler, which will understand these at other parts.

From now on, the configure command that may be used will contain some parameters, which will be explained here, so you can define it according to your own system and personal habits.

Prefix = / usr / local / cross: All temporary files will be stored here, including a copy of a new library, some tools for compiler compilers and connectors, I suggest you do not use / USR / local as a prefix, if you use / usr, you may make your system crash, after you do this, you may never use this directory, so choose a place for easier removal will be a good s Choice.

Host = I586-PC-Linux-gnulibc1, host = i586-pc-linux-gnu, target = i586-pc-linux-gnu: Here all changes into your own system. The most important thing is to keep Linux-gnu or linux-gnulibc1 do not change, unless you use Hurd

Next, use TAR XZFV or other equivalent commands to transfer to this new directory, perform the following command.

#configure - Host = i586-pc-linux-gnulibc1 --target = i586-pc-linux-gnu / --prefix = / usr / local / cross

Then use the make command as follows: #make

#make install

The next step is to build a new "C" library ..................

转载请注明原文地址:https://www.9cbs.com/read-44732.html

New Post(0)