is forced to be replaced when the conflict is attempted, not necessarily required.
Verify after the installation is complete:
#gcc-V
Using built-in specs.Target:x86_64-redhat-linuxConfigured with:. /configure--prefix=/usr--mandir=/usr/share/man--infodir=/usr/share/info--with-bugurl=http:// Bugzilla.redhat.com/bugzilla--enable-bootstrap--enable-shared--enable-threads=posix--enable-checking=release-- With-system-zlib--enable-__cxa_atexit--disable-libunwind-exceptions--enable-gnu-unique-object--
resources GCC source code from the GCC official website (http://gcc.gnu.org/), the current GCC version is gcc-4.4.2.
# Wget ftp://ftp.dti.ad.jp/pub/lang/gcc/releases/gcc-4.4.2/gcc-4.4.2.tar.gz# Tar xzvf gcc-4.4.2.tar.gz
Create a target directory where the compilation result is stored.# Mkdir gcc-build# Cd gcc-build
Configure GCC. Only C and C ++ are selected here.
#.. /Gcc-4.4.2/configure -- enable-shared -- enable-threads = POSIX -- enable-checking = release -- With-system-zlib -- enable-_ cxa
Build a C ++ runtime environment on CentOS6.6 and connect to the Oracle database
Build a C ++ runtime environment on CentOS 6.6 and connect to the Oracle database
# Yum install gcc-c ++
Note: Both gcc-c ++ and libstdc ++-devel are installed.
2. Check whether g ++ is successfully installed.[Root @ MyRHEL desktop] # g ++-v
Use built-in specs.
Goals: x86_64-RedHat-linux
Configuration :.. /configure -- prefix =/usr -- mandir =/usr/share/man -- infodir =/usr/share/info -- with-bugurl = http://bugz
*. so to the OCCI_LIB directory.
Copy *. h In instantclient/sdk/include to the OCCI_H directory.
Edit ~ /. Bash_profile
OCCI_H = $ OCCI_H:/home/es348/include/occi/sdk/includeOCCI_LIB = $ OCCI_LIB:/home/es348/include/occi/libExport OCCI_HExport OCCI_LIB
Compile
G ++ occidml. cpp-I $ OCCI_H-L/home/es348/include/occi/lib-locci-lclntsh-o occidml.exe
The Library about G ++ 343 is included in the SDK package. Other notes
Mine is:
G ++-v
Use built-in specs.Goals: i386-redhat-linuxConfiguration
after installation. It may be to modify the configuration file. I will study it again when necessary ):
-Bash-3.2 $ g ++-v
Using built-inspecs.
Target: x86_64-redhat-linux
Configured with: ../configure-- Prefix =/usr-- Mandir =/usr/share/man -- infodir =/usr/share/info -- enable-shared -- enable-threads = posix -- enable-checking = release -- with-system-zlib -- enable-_ cxa_atexit -- disable-libunwind-exceptions-- Enable-libgcj-multifile -- enable-languages ages = c, c ++, objc, obj-c ++, java
Because ECOs needs MIPS-elf-GCC to compile the kernel, the GCC compiler of the latest gcc4.4.1 version is compiled today. The steps are as follows:
First, you must export the following variables before compiling:
Export target = MIPS-elf
Export prefix =/usr/local/$ Target
Export Path = $ path: $ prefix/bin
Echo $ Target
Echo $ prefix
Echo $ path
==============================
Compiling environment: fc9
The GCC version is as follows:
Use built-in specs.
Goals: i386-redhat-linux
Configuration :.
process such as the following:1. Classpath related Operations$ CD ~/work/free$ wget ftp://ftp.gnu.org/gnu/classpath/classpath-0.98.tar.gz$ tar xzvf classpath-0.98.tar.gz$ CD classpath-0.98$./configure--disable-examples--without-x--disable-qt-peer--disable-gtk-peer--disable-gconf-peer-- Disable-plugin--disable-alsa--disable-dssi$ make-i$ sudo make install-iNote: The default installation path for Classpath is/usr/local/classpath2. JAMVM related Operati
when installing g++, do not know how to modify after installation, may be to modify the configuration file, need to study under). Prefix can be viewed in the following ways:
dablelv@tencent$ g++
-v Using built-in specs.
Target:x86_64-redhat-linux
configured with:. /configure--prefix=/usr--mandir=/usr/share/man--infodir=/usr/share/info--enable-shared--enable-threads=posix-- Enable-checking=release--with-system-zlib--enable-__cxa_atexit--disable-libunwind-exceptions-- Enable-libgcj-multifile--ena
after installation, may be modified configuration file, need to study again):
-bash-3.2$ g++-V
Using built-in specs.
Target:x86_64-redhat-linux
Configured with:.. /configure --prefix=/usr --mandir=/usr/share/man--infodir=/usr/share/info--enable-shared-- Enable-threads=posix--enable-checking=release--with-system-zlib--enable-__cxa_atexit-- Disable-libunwind-exceptions--enable-libgcj-multifile--enable-languages=c,c++,objc,obj-c++,java,fortran,ada-- ENABLE-JAVA-AWT=GTK--disable-
++, java, fortran, ada -- enable-java-awt = gtk -- disable-dssi -- enable-plugin -- with-java-home =/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre -- with-cpu = generic -- host = i386-redhat-linuxThread model: posixGcc version 4.1.2 20070626 (Red Hat 4.1.2-13)
Something to prepare:
3.1.2 use restore file iPhone1, 2_3.1.2_7D11_Restore.ipswIPhone3.1.2 SDK iphone_sdk_3.1.2_with_xcode_3.1.4 _ leopard _ 9m2809. dmgMany websites have introduced it. Here we also u
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.