>
> Hi Fabian Oboril,
>
Thank you for your reply with solution.
With regards
Hathiram Banoth

>
>
> Message: 3
> Date: Tue, 24 Aug 2010 19:02:40 +0530
> From: hathiram banoth <[email protected]>
> To: [email protected]
> Subject: [m5-users] C Compiler not found
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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....
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://m5sim.org/cgi-bin/mailman/private/m5-users/attachments/20100824/a5526903/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Tue, 24 Aug 2010 15:37:10 +0200
> From: Fabian Oboril <[email protected]>
> To: M5 users mailing list <[email protected]>
> Subject: Re: [m5-users] C Compiler not found
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> 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
>
> End of m5-users Digest, Vol 49, Issue 18
> ****************************************
>
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to