No acceptable cc found in $PATH

2016-10-05 Thread Boughedada Kamal
 
Hi,

I would like to compiling and installing RTEMS for the leon but unfortunately I 
get the message "No acceptable C Compiler found in $PATH".

How I proceed :

Step 1 :

$ sudo ../rtems-git/configure --target=sparc-rtems4.11 --enable-rtemsbsp=leon3 
--enable-tests=samples --prefix=$HOME/dev_rtems/rtems/bsps/4.11

Result :

target architecture: sparc.
available BSPs: leon3.
'make all' will build the following BSPs: leon3.
other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'

config.status: creating Makefile

Step 2 :

$ sudo make install

Result :
Configuring RTEMS_BSP=leon3
checking for gmake... no
checking for make... make
checking build system type... x86_64-pc-linux-gnu
checking host system type... sparc-unknown-rtems4.11
checking rtems target cpu... sparc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for sparc-rtems4.11-strip... no
checking for strip... strip
configure: WARNING: using cross tools not prefixed with host triplet
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for RTEMS_BSP... leon3
checking whether BSP supports networking... yes
checking whether CPU supports libposix... yes
configure: setting up make/custom
configure: creating make/leon3.cache
make[3]: Entering directory 
'/home/kboughedada/dev_rtems/rtems/build-rtems-leon3/sparc-rtems4.11/c/leon3'
make[3]: Leaving directory 
'/home/kboughedada/dev_rtems/rtems/build-rtems-leon3/sparc-rtems4.11/c/leon3'
checking for RTEMS_CPU_MODEL... leon3
checking for RTEMS_BSP_FAMILY... leon3
checking for CPU_CFLAGS... (cached) -mcpu=leon3 -msoft-float
checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g -ffunction-sections 
-fdata-sections
checking for style of include used by make... GNU
checking for sparc-rtems4.11-gcc... no
configure: error: no acceptable cc found in $PATH


My setup :

Packages are installed

$ sudo apt-get install build-essential
$ sudo apt-get install git
$ sudo apt-get install python-dev
$ sudo apt-get build-dep binutils gcc g++ gdb unzip git

$sudo  echo $PATH
/opt/rtems-4.10/bin:/home/kboughedada/dev_rtems/rtems/compiler/4.11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

$ sparc-rtems4.11-gcc -v
Using built-in specs.
COLLECT_GCC=sparc-rtems4.11-gcc
COLLECT_LTO_WRAPPER=/home/kboughedada/dev_rtems/rtems/compiler/4.11/libexec/gcc/sparc-rtems4.11/4.9.3/lto-wrapper
Target: sparc-rtems4.11
Configured with: ../gcc-4.9.3/configure 
--prefix=/home/kboughedada/dev_rtems/rtems/compiler/4.11 
--bindir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/bin 
--exec_prefix=/home/kboughedada/dev_rtems/rtems/compiler/4.11 
--includedir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/include 
--libdir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/lib 
--libexecdir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/libexec 
--mandir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share/man 
--infodir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share/info 
--datadir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=sparc-rtems4.11 
--disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib 
--with-system-zlib --disable-nls --without-included-gettext 
--disable-win32-registry --enable-version-specific-runtime-libs --disable-lto 
--enable-newlib-io-c99-formats --enable-newlib-iconv 
--enable-newlib-iconv-encodings=big5,c
 
p775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,win_1256,win_1257,win_1258
 --enable-threads --disable-plugin --enable-libgomp --enable-languages=c,c++
Thread model: rtems
gcc version 4.9.3 20150626 (RTEMS 4.11, RSB 
1675a733536d1aec2020011e5e522497a442561a-modified, Newlib 2.2.0.20150423) (GCC) 


kboughedada@kboughedada-VirtualBox:~/dev_rtems/rtems/build-rtems-leon3$ cc -v
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 
5.4.0-6ubuntu1~16.04.2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs 
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-5 --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-l

Re: Update Atsam BSP Support

2016-10-05 Thread Gedare Bloom
That makes sense.

On Wed, Oct 5, 2016 at 1:17 AM, Sebastian Huber
 wrote:
> One way to keep this in sync would be to simply write the README of each BSP
> in a certain format, e.g. trac wiki and then simply include the content from
> Git in trac. For example via a modified variant of
>
> https://trac.edgewall.org/attachment/wiki/MacroBazaar/Include.3.py
>
>
> Something like this in trac:
>
> [[RTEMSGitInclude(c/src/lib/libbsp/arm/atsam/README)]]
>
>
> On 04/10/16 21:41, Pavel Pisa wrote:
>>
>> Hello Gedare and Alexander,
>>
>> one possible solution to keep that in sync.
>>
>> Change of README in BSP directory
>> to MarkDown or Rest-Text syntax and put on the web
>> generated pages synced directly from master and last stable.
>>
>> On the other hand, wiki allows to include more information
>> and relation links.
>>
>> Best wishes,
>>
>>  Pavel
>>
>> On Tuesday 04 of October 2016 15:21:46 Gedare Bloom wrote:
>>>
>>> Thanks. does this BSP have a wiki page? If not, it would be good to
>>> make one for it. Generally we need to do a better job of keeping a
>>> web-visible "feature set" up to date.
>>>
>>> On Tue, Oct 4, 2016 at 7:39 AM, Alexander Krutwig
>>>
>>>  wrote:

 Hello,

 over the last months, lots of work and effort has been put into the
 development
 of the BSP support for ATSAMV7 microcontrollers by Atmel.
 Thus, I updated the README of the BSP with the work already done in the
 process and
 attached it to this email in order to keep you updated about the
 progress.

 In addition to the work described in the document, we currently work on
 USB and SD-card
 support. Support for NOR flashes is already finished, however, not yet
 committed.

 Best regards,
 Alexander Krutwig

 --
 
 embedded brains GmbH
 Alexander Krutwig
 Dornierstr. 4
 D-82178 Puchheim
 Germany
 email: alexander.krut...@embedded-brains.de
 Phone: +49-89-18 94 741 - 17
 Fax:   +49-89-18 94 741 - 09
 PGP: Public key available on request.

 Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


 ___
 devel mailing list
 devel@rtems.org
 http://lists.rtems.org/mailman/listinfo/devel
>>>
>>> ___
>>> devel mailing list
>>> devel@rtems.org
>>> http://lists.rtems.org/mailman/listinfo/devel
>>
>> ___
>> devel mailing list
>> devel@rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax : +49 89 189 47 41-09
> E-Mail  : sebastian.hu...@embedded-brains.de
>
> PGP : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: No acceptable cc found in $PATH

2016-10-05 Thread Gedare Bloom
suggest you do not use sudo. sudo changes your PATH. you should be
able to make and install rtems without sudo into the $HOME as you
specify

On Wed, Oct 5, 2016 at 9:54 AM, Boughedada Kamal
 wrote:
>
> Hi,
>
> I would like to compiling and installing RTEMS for the leon but unfortunately 
> I get the message "No acceptable C Compiler found in $PATH".
>
> How I proceed :
>
> Step 1 :
>
> $ sudo ../rtems-git/configure --target=sparc-rtems4.11 
> --enable-rtemsbsp=leon3 --enable-tests=samples 
> --prefix=$HOME/dev_rtems/rtems/bsps/4.11
>
> Result :
>
> target architecture: sparc.
> available BSPs: leon3.
> 'make all' will build the following BSPs: leon3.
> other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'
>
> config.status: creating Makefile
>
> Step 2 :
>
> $ sudo make install
>
> Result :
> Configuring RTEMS_BSP=leon3
> checking for gmake... no
> checking for make... make
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... sparc-unknown-rtems4.11
> checking rtems target cpu... sparc
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for sparc-rtems4.11-strip... no
> checking for strip... strip
> configure: WARNING: using cross tools not prefixed with host triplet
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for RTEMS_BSP... leon3
> checking whether BSP supports networking... yes
> checking whether CPU supports libposix... yes
> configure: setting up make/custom
> configure: creating make/leon3.cache
> make[3]: Entering directory 
> '/home/kboughedada/dev_rtems/rtems/build-rtems-leon3/sparc-rtems4.11/c/leon3'
> make[3]: Leaving directory 
> '/home/kboughedada/dev_rtems/rtems/build-rtems-leon3/sparc-rtems4.11/c/leon3'
> checking for RTEMS_CPU_MODEL... leon3
> checking for RTEMS_BSP_FAMILY... leon3
> checking for CPU_CFLAGS... (cached) -mcpu=leon3 -msoft-float
> checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g -ffunction-sections 
> -fdata-sections
> checking for style of include used by make... GNU
> checking for sparc-rtems4.11-gcc... no
> configure: error: no acceptable cc found in $PATH
>
>
> My setup :
>
> Packages are installed
>
> $ sudo apt-get install build-essential
> $ sudo apt-get install git
> $ sudo apt-get install python-dev
> $ sudo apt-get build-dep binutils gcc g++ gdb unzip git
>
> $sudo  echo $PATH
> /opt/rtems-4.10/bin:/home/kboughedada/dev_rtems/rtems/compiler/4.11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
>
> $ sparc-rtems4.11-gcc -v
> Using built-in specs.
> COLLECT_GCC=sparc-rtems4.11-gcc
> COLLECT_LTO_WRAPPER=/home/kboughedada/dev_rtems/rtems/compiler/4.11/libexec/gcc/sparc-rtems4.11/4.9.3/lto-wrapper
> Target: sparc-rtems4.11
> Configured with: ../gcc-4.9.3/configure 
> --prefix=/home/kboughedada/dev_rtems/rtems/compiler/4.11 
> --bindir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/bin 
> --exec_prefix=/home/kboughedada/dev_rtems/rtems/compiler/4.11 
> --includedir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/include 
> --libdir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/lib 
> --libexecdir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/libexec 
> --mandir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share/man 
> --infodir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share/info 
> --datadir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share 
> --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=sparc-rtems4.11 
> --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib 
> --with-system-zlib --disable-nls --without-included-gettext 
> --disable-win32-registry --enable-version-specific-runtime-libs --disable-lto 
> --enable-newlib-io-c99-formats --enable-newlib-iconv 
> --enable-newlib-iconv-encodings=big5
 ,c
>  
> p775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,win_1256,win_1257,win_1258
>  --enable-threads --disable-plugin --enable-libgomp --enable-languages=c,c++
> Thread model: rtems
> gcc version 4.9.3 20150626 (RTEMS 4.11, RSB 
> 1675a733536d1aec2020011e5e522497a442561a-modified, Newlib 2.2.0.20150423) 
> (GCC)
>
>
> kboughedada@kboughedada-VirtualBox:~/dev_rtems/rtems/build-rtems-leon3$ cc -v
> Using built-in specs.
> COLLECT_GCC=cc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion

RE: No acceptable cc found in $PATH

2016-10-05 Thread kamal boughedada
Thank you for your fast reply. 

I will re-try

-Message d'origine-
De : ged...@gwmail.gwu.edu [mailto:ged...@gwmail.gwu.edu] De la part de Gedare 
Bloom
Envoyé : mercredi 5 octobre 2016 16:19
À : Boughedada Kamal 
Cc : devel@rtems.org; RTEMS Devel 
Objet : Re: No acceptable cc found in $PATH

suggest you do not use sudo. sudo changes your PATH. you should be able to make 
and install rtems without sudo into the $HOME as you specify

On Wed, Oct 5, 2016 at 9:54 AM, Boughedada Kamal  
wrote:
>
> Hi,
>
> I would like to compiling and installing RTEMS for the leon but unfortunately 
> I get the message "No acceptable C Compiler found in $PATH".
>
> How I proceed :
>
> Step 1 :
>
> $ sudo ../rtems-git/configure --target=sparc-rtems4.11 
> --enable-rtemsbsp=leon3 --enable-tests=samples 
> --prefix=$HOME/dev_rtems/rtems/bsps/4.11
>
> Result :
>
> target architecture: sparc.
> available BSPs: leon3.
> 'make all' will build the following BSPs: leon3.
> other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'
>
> config.status: creating Makefile
>
> Step 2 :
>
> $ sudo make install
>
> Result :
> Configuring RTEMS_BSP=leon3
> checking for gmake... no
> checking for make... make
> checking build system type... x86_64-pc-linux-gnu checking host system 
> type... sparc-unknown-rtems4.11 checking rtems target cpu... sparc 
> checking for a BSD-compatible install... /usr/bin/install -c checking 
> whether build environment is sane... yes checking for 
> sparc-rtems4.11-strip... no checking for strip... strip
> configure: WARNING: using cross tools not prefixed with host triplet 
> checking for a thread-safe mkdir -p... /bin/mkdir -p checking for 
> gawk... gawk checking whether make sets $(MAKE)... yes checking 
> whether make supports nested variables... yes checking whether to 
> enable maintainer-specific portions of Makefiles... no checking for 
> RTEMS_BSP... leon3 checking whether BSP supports networking... yes 
> checking whether CPU supports libposix... yes
> configure: setting up make/custom
> configure: creating make/leon3.cache
> make[3]: Entering directory 
> '/home/kboughedada/dev_rtems/rtems/build-rtems-leon3/sparc-rtems4.11/c/leon3'
> make[3]: Leaving directory 
> '/home/kboughedada/dev_rtems/rtems/build-rtems-leon3/sparc-rtems4.11/c/leon3'
> checking for RTEMS_CPU_MODEL... leon3
> checking for RTEMS_BSP_FAMILY... leon3 checking for CPU_CFLAGS... 
> (cached) -mcpu=leon3 -msoft-float checking for CFLAGS_OPTIMIZE_V... 
> (cached) -O2 -g -ffunction-sections -fdata-sections checking for style 
> of include used by make... GNU checking for sparc-rtems4.11-gcc... no
> configure: error: no acceptable cc found in $PATH
>
>
> My setup :
>
> Packages are installed
>
> $ sudo apt-get install build-essential $ sudo apt-get install git $ 
> sudo apt-get install python-dev $ sudo apt-get build-dep binutils gcc 
> g++ gdb unzip git
>
> $sudo  echo $PATH
> /opt/rtems-4.10/bin:/home/kboughedada/dev_rtems/rtems/compiler/4.11/bi
> n:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/ga
> mes:/usr/local/games
>
> $ sparc-rtems4.11-gcc -v
> Using built-in specs.
> COLLECT_GCC=sparc-rtems4.11-gcc
> COLLECT_LTO_WRAPPER=/home/kboughedada/dev_rtems/rtems/compiler/4.11/li
> bexec/gcc/sparc-rtems4.11/4.9.3/lto-wrapper
> Target: sparc-rtems4.11
> Configured with: ../gcc-4.9.3/configure 
> --prefix=/home/kboughedada/dev_rtems/rtems/compiler/4.11 
> --bindir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/bin 
> --exec_prefix=/home/kboughedada/dev_rtems/rtems/compiler/4.11 
> --includedir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/include 
> --libdir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/lib 
> --libexecdir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/libexec 
> --mandir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share/man 
> --infodir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share/info 
> --datadir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share 
> --build=x86_64-linux-gnu --host=x86_64-linux-gnu 
> --target=sparc-rtems4.11 --disable-libstdcxx-pch --with-gnu-as 
> --with-gnu-ld --verbose --with-newlib --with-system-zlib --disable-nls 
> --without-included-gettext --disable-win32-registry 
> --enable-version-specific-runtime-libs --disable-lto 
> --enable-newlib-io-c99-formats --enable-newlib-iconv 
> --enable-newlib-iconv-encodings=big5,c
>  
> p775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_
> 10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859
> _3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,i
> so_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,
> ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,
> utf_16le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,w
> in_1256,win_1257,win_1258 --enable-threads --disable-plugin 
> --enable-libgomp --enable-languages=c,c++ Thread model: rtems gcc 
> version 4.9.3 20150626 (RTEMS 4.11, RSB 
> 1675a733536d1aec2020011e5

RE: No acceptable cc found in $PATH

2016-10-05 Thread kamal boughedada
Thanks again it's resolved (sudo changes my PATH).

-Message d'origine-
De : devel [mailto:devel-boun...@rtems.org] De la part de kamal boughedada
Envoyé : mercredi 5 octobre 2016 16:26
À : 'Gedare Bloom' 
Cc : 'RTEMS Devel' ; devel@rtems.org
Objet : RE: No acceptable cc found in $PATH

Thank you for your fast reply. 

I will re-try

-Message d'origine-
De : ged...@gwmail.gwu.edu [mailto:ged...@gwmail.gwu.edu] De la part de Gedare 
Bloom Envoyé : mercredi 5 octobre 2016 16:19 À : Boughedada Kamal 
 Cc : devel@rtems.org; RTEMS Devel 
 Objet : Re: No acceptable cc found in $PATH

suggest you do not use sudo. sudo changes your PATH. you should be able to make 
and install rtems without sudo into the $HOME as you specify

On Wed, Oct 5, 2016 at 9:54 AM, Boughedada Kamal  
wrote:
>
> Hi,
>
> I would like to compiling and installing RTEMS for the leon but unfortunately 
> I get the message "No acceptable C Compiler found in $PATH".
>
> How I proceed :
>
> Step 1 :
>
> $ sudo ../rtems-git/configure --target=sparc-rtems4.11
> --enable-rtemsbsp=leon3 --enable-tests=samples
> --prefix=$HOME/dev_rtems/rtems/bsps/4.11
>
> Result :
>
> target architecture: sparc.
> available BSPs: leon3.
> 'make all' will build the following BSPs: leon3.
> other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'
>
> config.status: creating Makefile
>
> Step 2 :
>
> $ sudo make install
>
> Result :
> Configuring RTEMS_BSP=leon3
> checking for gmake... no
> checking for make... make
> checking build system type... x86_64-pc-linux-gnu checking host system 
> type... sparc-unknown-rtems4.11 checking rtems target cpu... sparc 
> checking for a BSD-compatible install... /usr/bin/install -c checking 
> whether build environment is sane... yes checking for 
> sparc-rtems4.11-strip... no checking for strip... strip
> configure: WARNING: using cross tools not prefixed with host triplet 
> checking for a thread-safe mkdir -p... /bin/mkdir -p checking for 
> gawk... gawk checking whether make sets $(MAKE)... yes checking 
> whether make supports nested variables... yes checking whether to 
> enable maintainer-specific portions of Makefiles... no checking for 
> RTEMS_BSP... leon3 checking whether BSP supports networking... yes 
> checking whether CPU supports libposix... yes
> configure: setting up make/custom
> configure: creating make/leon3.cache
> make[3]: Entering directory 
> '/home/kboughedada/dev_rtems/rtems/build-rtems-leon3/sparc-rtems4.11/c/leon3'
> make[3]: Leaving directory 
> '/home/kboughedada/dev_rtems/rtems/build-rtems-leon3/sparc-rtems4.11/c/leon3'
> checking for RTEMS_CPU_MODEL... leon3
> checking for RTEMS_BSP_FAMILY... leon3 checking for CPU_CFLAGS... 
> (cached) -mcpu=leon3 -msoft-float checking for CFLAGS_OPTIMIZE_V... 
> (cached) -O2 -g -ffunction-sections -fdata-sections checking for style 
> of include used by make... GNU checking for sparc-rtems4.11-gcc... no
> configure: error: no acceptable cc found in $PATH
>
>
> My setup :
>
> Packages are installed
>
> $ sudo apt-get install build-essential $ sudo apt-get install git $ 
> sudo apt-get install python-dev $ sudo apt-get build-dep binutils gcc
> g++ gdb unzip git
>
> $sudo  echo $PATH
> /opt/rtems-4.10/bin:/home/kboughedada/dev_rtems/rtems/compiler/4.11/bi
> n:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/ga
> mes:/usr/local/games
>
> $ sparc-rtems4.11-gcc -v
> Using built-in specs.
> COLLECT_GCC=sparc-rtems4.11-gcc
> COLLECT_LTO_WRAPPER=/home/kboughedada/dev_rtems/rtems/compiler/4.11/li
> bexec/gcc/sparc-rtems4.11/4.9.3/lto-wrapper
> Target: sparc-rtems4.11
> Configured with: ../gcc-4.9.3/configure
> --prefix=/home/kboughedada/dev_rtems/rtems/compiler/4.11
> --bindir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/bin
> --exec_prefix=/home/kboughedada/dev_rtems/rtems/compiler/4.11
> --includedir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/include
> --libdir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/lib
> --libexecdir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/libexec
> --mandir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share/man
> --infodir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share/info
> --datadir=/home/kboughedada/dev_rtems/rtems/compiler/4.11/share
> --build=x86_64-linux-gnu --host=x86_64-linux-gnu
> --target=sparc-rtems4.11 --disable-libstdcxx-pch --with-gnu-as 
> --with-gnu-ld --verbose --with-newlib --with-system-zlib --disable-nls 
> --without-included-gettext --disable-win32-registry 
> --enable-version-specific-runtime-libs --disable-lto 
> --enable-newlib-io-c99-formats --enable-newlib-iconv 
> --enable-newlib-iconv-encodings=big5,c
>  
> p775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_
> 10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859
> _3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,i
> so_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,
> ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,u