LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can I install gcc 4.3 in ubuntu12.10 on corei3 ? (https://www.linuxquestions.org/questions/linux-software-2/can-i-install-gcc-4-3-in-ubuntu12-10-on-corei3-4175452215/)

lasyasree 03-01-2013 04:38 AM

can I install gcc 4.3 in ubuntu12.10 on corei3 ?
 
Previously I have tested my program with fedora9 having gcc4.3 on core2duo processor. Now I want to test it on corei3 processor.But fedora9 is not installed on core i3.So I want to run my program in ubuntu12.10. But can I have the same 4.3 compiler installed with ubuntu12.10?

knudfl 03-01-2013 05:22 AM

Welcome LQ.

1) ? May be you can use gcc-4.4 : $ sudo apt-get install g++-4.4

2) Building a gcc-4.3
http://www.rad.upenn.edu/sbia/softwa...stall/gcc.html
>> using a more correct configure line that resembles a default Fedora9 build :
../gcc-4.3.4/configure --prefix=/opt/gcc43 --program-suffix=43 \
--enable-shared --enable-threads=posix --enable-checking=release \
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
--enable-languages=c,c++

3) A gcc / g++ version 4.1.2 is available for the 32bits Ubuntu 12.10 (i686)
→ post #48 http://www.linuxquestions.org/questi...532/page4.html

-


All times are GMT -5. The time now is 01:38 PM.