Hi,
you can try the following command: scons CC=gcc CXX=g++ build/.... or if
you use not the default gcc-version of Ubuntu you can try scons
CC=gcc-4.4 CXX=g++-4.4 build/....
Hope this helps.
Bests
Fabian Oboril
Am 24.08.2010 15:32, schrieb hathiram banoth:
I have already installed gcc 4.4.1 and g++ but i am getting the error
for missing compiler. I went through SConstructs script and I think
there main['GCC'] is not able to get desired value... please help...
>>n...@nrs-desktop:~/m5-stable$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.4.1-4ubuntu9'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --enable-multiarch --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
--program-suffix=-4.4 --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-objc-gc --enable-targets=all
--disable-werror --with-arch-32=i486 --with-tune=generic
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)
>>n...@nrs-desktop:~/m5-stable$ whereis g++
g++: /usr/bin/g++ /usr/share/man/man1/g++.1.gz
>>n...@nrs-desktop:~/m5-stable$ scons build/ALPHA_FS/m5.debug
scons: Reading SConscript files ...
Error: Don't know what compiler options to use for your compiler.
Please fix SConstruct and src/SConscript and try again.
>>n...@nrs-desktop:~/m5-stable$
After going throgh SConstructs code, I find that the python code is
not able to detect my gcc. I am not knowledgable in Python but someone
please look in the code and let me know.
Thanx in advance... and please try to explain in layman terms....
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users