|
Build Pro64 Compiler for IA64 Last updated 09 February 2001 |
|
|
|
A. Platform Intel P3 + Linux(RedHat)6.1
B. Download Files · pro64-0.01.0-12.source.tar.gz (IA64 compiler source code) · gcc-2.95.2.tar.gz (gcc2.95.2 source code) · pro64-0.01.0-12.ia64.rpm (sgicc and support libraries, run in nue) · nue-1.1.tar (simulating environment) After untar the nue-1.1.tar, two rpm files will be generated: nue-1.0-1.i386.rpm (nue command and documents) nue-fs-1.1-1.i386.rpm (NUE filesystem) In order to creat the ia64 simulating environment under Linux,two more rpm files must be loadded: · ski-0.8731-2.i386.rpm (ski simulator) · ski-linux-rootfs-1.0-1.noarch.rpm (root filesystem)
C. Produce gcc.2.95.2 Linux 6.* has gcc.2.11.1,which doesn't support pro64 compiler,we need gcc.2.95.2,which can be got according the following steps: · setup a subdirectory gcc_2_95_2 (optional) · untar gcc-2.95.2.tar,which creats a gcc.2.95 subdirectory automaticly · cd gcc.2.95 · ./configure(needn't describe parameters because we create native compiler) · make · make install. This will produce gcc-2.95 version in /usr/local/bin. The original gcc-2.11 will be in /usr/bin. In order to use gcc-2.95 defautly, two .files must modified: .cshrc---- setenv PATH "/usr/bin:/sbin:${PATH} .bash_profile---- PATH=PATH:$HOME/bin
D. Create simulating environment ski This step is only needed when you want to run code of IA64. Keep follows in order: a) rpm -Uhv ski-0.8731-2.i386.rpm b) rpm -Uhv nue-1.0-1.i386.rpm c) rpm -Uhv nue-fs-1.1-1.i386.rpm
E. Create sgicc in nue This must be done in nue simulating environment. %su # nue # rpm -i --force --nodeps pro64-0.01.0-12.ia64.rpm This will install sgicc compiler in /usr/bin. You can compile your programs with it: # cc.... exam.c .... ( here cc is ia64 compiler.)
F. Build pro64 compiler from source code · A full build for all components with command %make build -f Make.cross · Each component may be built separately.
G. IA64 native libraries They are built by the IA-64 tools,must do the build process in the nue simulating environment. · A full build with command % nue % make build -f Make.NUE.lib · Each library may be built separately.
H. Installing the new compiler Copy all of the components into their proper locations in the NUE environment after they have been built: # INSTALL
|
|
Have a Good Day!!
|
Send further information for this page to Haiping Wu