What compiler options are needed to compile gcc to be able to compile a kernel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have 2 systems with different gcc compilers.

Here are their compile options (as reported by gcc -v):

Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.3-3' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --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.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--enable-targets=all --enable-cld --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Debian 4.3.3-3)

Configured with: /media/sda7/buildroot/output/toolchain/gcc-4.3.4/configure --prefix=/usr --build=i386-pc-linux-gnu --host=i586-linux-uclibc --target=i586-linux-uclibc --enable-languages=c,c++ --with-gxx-include-dir=/usr/include/c++
--disable-__cxa_atexit --with-gnu-ld --disable-libssp --enable-tls --enable-shared --disable-nls --enable-threads --disable-multilib --disable-decimal-float --with-arch=i586 --with-tune=i586 --with-pkgversion='Buildroot 2010.02-git'
--with-bugurl=http://bugs.buildroot.net/
Thread model: posix
gcc version 4.3.4 (Buildroot 2010.02-git)

With the first gcc I'm able to compile a fresh 2.6.31.7 Kernel.
With the second this doesn't work:
I get the following error:

 "2.6.31.7cc1:error:unrecognizedcommandlineoption-fno-dwarf2-cfi-asm" exceeds 64 characters

So my question generally is: What options are needed for the compilation of gcc,
so that this gcc is able to compile a new Kernel? Obviously the second
gcc doesn't understand the "-fno-dwarf2-cfi-asm" command line option.
So what command line option is needed that gcc knows this command line
option?
Is there anywhere a description of what command line options need what
compile options of gcc to become available?

Thank you for any answer

                        Ramon


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux