Tag Info

New answers tagged

0

Error : checking whether we are cross compiling... configure: error: in `/tmp/network-2.5.0.023068/network-2.5.0.0': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details So, I run command yum groupinstall "development tools", installed c compiler tools and could compile c ...


0

You could use something like this. However, it's not recommended. If you really know what you're doing, you can try following: Jessie (testing) now contains gcc-4.8 which is compliant with C++11 (also gcc-4.9 is available). I used apt-pinning in the following way: A source to jessie was added to /etc/apt/sources.list: deb ...


0

Yes, a Linux compiler can be considered as a "super-set" of a bare-metal compiler: it can compile both Linux userspace applications, and bare-metal applications (the Linux kernel, bootloaders, etc.).


0

You should think of a compiler as a function which generates output from some input, or output_program = compile_function(input_source, args) The exsistence of compile_function as a 32 or 64 bit binary affects how it does its job but not the output. If we grossly simplify the role of 64-bit to simply increasing the amount of addressable memory, then ...


4

GCC on Solaris has some defaults that are different, for example, than GCC on Linux. For compiling 64 binaries you have to add -m64 to your compile and link lines. This makes GCC compatible to the Solaris Studio C compiler, in that respect. On SPARC, compiling programs as 32 bit does not have as much disadvantages as on e.g. x86, where 64 Bit also ...


0

I am the one working on the Guix Hurd port. In order to actually use Guix on Hurd, Guix bootstrapping process must first be modified in order to support a GNU/Hurd system. This means Guix must be able to cross-build the hurd version of glibc, Gnumach and Hurd. With this part done, you must build the bootstrapping toolchain using the new glibc and produce ...


0

/opt/csw/bin/gcc-4.8 path indicates for OpenCSW that comes pre-installed with Oracle distro (either 4.8 is deleted or there is another version). Try setting the CC and CXX environment variables from inside setup.py with os.environ: os.environ["CC"] = "g++-4.7" os.environ["CXX"] = "g++-4.7" (4.7 is my version of g++, set it to what you have in your /bin). ...


4

TL;DR I have a different take on this as a Gentoo user. While I agree with peterph's approach of "Let the System Decide," I disagree when it comes to an ABI Update. An ABI Update is sometimes a major shift in behavior. In the case of GCC 4.7, the ABI Change was the adoption of the new C++11 Standard, which peterph also pointed out. Here is why I write ...



Top 50 recent answers are included