Библиотека сайта rus-linux.net
Linux Compilers and AssemblersSEP 19, 2003 By Christopher Paul, Rafeeq Rehman. Article is provided courtesy of Prentice Hall. |
3.5 Assembling a ProgramGNU assembler is part of GNU binary utilities package. To get the latest binutils packages, you can download it from ftp://ftp.gnu.org/gnu/binutils/. After downloading you have to use the [root@conformix /opt]# cd /opt [root@conformix /opt]# tar zxvf binutils-2.12.tar.gz [root@conformix /opt]# mkdir binutils-build [root@conformix /opt]# cd binutils-build/ [root@conformix binutils-build]# ../binutils-2.12/configure --prefix=/opt/gcc-3.0.4 --enable-shared [root@conformix /opt]# make LDFLAGS=-all-static tooldir=/opt/gcc-3.0.4 [root@conformix /opt]# make tooldir=/opt/gcc-3.0.4 install Note that since we have used © 2003 Pearson Education, Inc. InformIT Division. All rights reserved. 800 East 96th Street Indianapolis, Indiana 46240 |