Matthias Klose wrote:
>> So I was forced to remove plain "gcc" and "g++" packages, install the 
>> gcc-4.2 and g++-4.2 versions,
>> and create links using "ln", named "gcc" and "g++", to /usr/bin/gcc-4.2 and 
>> /usr/bin/g++-4.2 respectively.
> 
> No, you should build using CC=gcc-4.2 and CXX=g++-4.2. ABIs may differ
> for different GCC releases, so changing this may lead to broken packages
> when rebuilt.


What are these CC and CXX? Also what do you mean by "different GCC
releases"?


The installed version numbers in my system are the same:

[EMAIL PROTECTED]:~$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr
--enable-targets=all --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.1 (Ubuntu 4.2.1-5ubuntu4)

[EMAIL PROTECTED]:~$ g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr
--enable-targets=all --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.1 (Ubuntu 4.2.1-5ubuntu4)

[EMAIL PROTECTED]:~$


Also check the screenshot attached. The version numbers are the same.


> 
>> I think the prerelease versions may contain bugs/deficiencies/
>> and security issues to produced programs, so I think the "gcc and "g++"
>> should be changed to link to the official releases ASAP.
> 
> No. If you are aware of problems please file specific bug reports. A
> prerelease of a version from a stable branch is usually even more
> tested.
> 
> 
> ** Changed in: gcc-defaults (Ubuntu)
>        Status: New => Invalid
> 


** Attachment added: "s.png"
   http://launchpadlibrarian.net/12978266/s.png

-- 
Wrong gcc/g++ defaults
https://bugs.launchpad.net/bugs/209200
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to