|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - 64-bit Questions specific to 64-bit systems running SUSE Linux
(Questions that apply to both 32-bit and 64-bit systems should be posted in the appropriate mixed architecture forums) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I'm running openSuse 10.3 on a 64bits archi.
gcc and g++ are installed from the standard openSuse rpm. I'm receiving the following error during a simple cpp compilation (kind of "hello world" program) /tmp/ccu6Dx55.s:11: Error: suffix or operands invalid for `push' (got the message several times) The versions used are: > gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux Thread model: posix gcc version 4.2.1 (SUSE Linux) > g++ -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=i586-suse-linux Thread model: posix gcc version 4.2.1 (SUSE Linux) I'm puzzled as GCC seems to be able to build x86_64 targets, but not g++. YaST reports g++ is installed though the package "gcc-c++-4.2-24.x86_64.rpm" So, the question is quite simple: - is this version of g++ able to create 64bits target ? |
|
|||
|
It certainly looks like you installed the 64-bit version of gcc and somehow the 32-bit version of g++ is installed.
Maybe check the version info from yast as if you were browsing the online repository. Maybe a simple remove / reinstall from the repo would fix the issue? |
|
|||
|
Quote:
That's what I though initially, but some RPM queries shows: rpm -q --whatprovides /usr/bin/g++ gcc-c++-4.2-24 rpm -q --info gcc-c++-4.2-24 Name : gcc-c++ Relocations: (not relocatable) Version : 4.2 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany Release : 24 Build Date: Fri 21 Sep 2007 08:20:48 PM CEST Install Date: Sun 03 Feb 2008 02:28:00 PM CET Build Host: crumb.suse.de Group : Development/Languages/C and C++ Source RPM: gcc-4.2-24.src.rpm Size : 0 License: GPL v2 or later Signature : DSA/SHA1, Fri 21 Sep 2007 08:21:56 PM CEST, Key ID a84edae89c800aca Packager : http://bugs.opensuse.org URL : http://gcc.gnu.org/ Summary : The system GNU C++ Compiler Description : The system GNU C++ Compiler. Distribution: openSUSE 10.3 (X86-64) I'm gonna uninstall it and reinstall from repo and look what it gives, but I'm pretty sure not having mixed any 32bits soft with this "from scratch" 64bits installation. |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|