All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* install gcc at target machine?
@ 2008-11-05 15:37 Sledz, Steffen
  2008-11-05 17:22 ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Sledz, Steffen @ 2008-11-05 15:37 UTC (permalink / raw
  To: openembedded-devel

I want to install some development tools (e.g. gcc) on the target machine. When i just add gcc to IMAGE_INSTALL a few binaries are added to the target rootfs, e.g. /usr/bin/arm-angstrom-linux-uclibcgnueabi-gcc. But there is nothing like /usr/bin/gcc (no link or binary). And when i try to compile something with this compiler it does not find other needed binaries.  :(

# /usr/bin/arm-angstrom-linux-uclibcgnueabi-gcc -v -o hello hello.c
Using built-in specs.
Target: arm-angstrom-linux-uclibcgnueabi
Configured with: /home/sledz/oe/tmp/work/armv5te-angstrom-linux-uclibcgnueabi/gcc-4.2.4-r3/gcc-4.2.4/configure --build=i686-linux --host=arm-angstrom-linux-uclibcgnueabi --target=arm-angstrom-linux-uclibcgnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --enable-clocale=generic --with-gnu-ld --enable-shared --enable-target-optspace --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-uclibcgnueabi- --enable-libssp --disable-bootstrap --enable-libgomp --disable-libmudflap --with-float=soft --with-local-prefix=/usr/local --with-gxx-include-dir=/usr/include/c++/4.2.4 --disable-__cxa_atexit --disable-nls
Thread model: posix
gcc version 4.2.4
 cc1 -quiet -v hello.c -quiet -dumpbase hello.c -mfloat-abi=soft -auxbase hello -version -o /tmp/ccHH8Yat.s
arm-angstrom-linux-uclibcgnueabi-gcc: error trying to exec 'cc1': execvp: No such file or directory

Is this a bug or a misconfiguration of mine?

Steffen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: install gcc at target machine?
  2008-11-05 15:37 install gcc at target machine? Sledz, Steffen
@ 2008-11-05 17:22 ` Denys Dmytriyenko
  2008-11-06  8:08   ` Sledz, Steffen
  0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2008-11-05 17:22 UTC (permalink / raw
  To: openembedded-devel

On Wed, Nov 05, 2008 at 04:37:51PM +0100, Sledz, Steffen wrote:
> I want to install some development tools (e.g. gcc) on the target machine. When i just add gcc to IMAGE_INSTALL a few binaries are added to the target rootfs, e.g. /usr/bin/arm-angstrom-linux-uclibcgnueabi-gcc. But there is nothing like /usr/bin/gcc (no link or binary). And when i try to compile something with this compiler it does not find other needed binaries.  :(
> 
> # /usr/bin/arm-angstrom-linux-uclibcgnueabi-gcc -v -o hello hello.c
> Using built-in specs.
> Target: arm-angstrom-linux-uclibcgnueabi
> Configured with: /home/sledz/oe/tmp/work/armv5te-angstrom-linux-uclibcgnueabi/gcc-4.2.4-r3/gcc-4.2.4/configure --build=i686-linux --host=arm-angstrom-linux-uclibcgnueabi --target=arm-angstrom-linux-uclibcgnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --enable-clocale=generic --with-gnu-ld --enable-shared --enable-target-optspace --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-uclibcgnueabi- --enable-libssp --disable-bootstrap --enable-libgomp --disable-libmudflap --with-float=soft --with-local-prefix=/usr/local --with-gxx-include-dir=/usr/include/c++/4.2.4 --disable-__cxa_atexit --disable-nls
> Thread model: posix
> gcc version 4.2.4
>  cc1 -quiet -v hello.c -quiet -dumpbase hello.c -mfloat-abi=soft -auxbase hello -version -o /tmp/ccHH8Yat.s
> arm-angstrom-linux-uclibcgnueabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
> 
> Is this a bug or a misconfiguration of mine?

Try task-native-sdk

-- 
Denys



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: install gcc at target machine?
  2008-11-05 17:22 ` Denys Dmytriyenko
@ 2008-11-06  8:08   ` Sledz, Steffen
  2008-11-06  9:18     ` Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Sledz, Steffen @ 2008-11-06  8:08 UTC (permalink / raw
  To: openembedded-devel

> Try task-native-sdk

This solves my problem. Would be nice if such information would be available in the wiki.

Thanx,
Steffen



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: install gcc at target machine?
  2008-11-06  8:08   ` Sledz, Steffen
@ 2008-11-06  9:18     ` Koen Kooi
  2008-11-06  9:40       ` Sledz, Steffen
  0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2008-11-06  9:18 UTC (permalink / raw
  To: openembedded-devel

On 06-11-2008 09:08, Sledz, Steffen wrote:
>> Try task-native-sdk
>
> This solves my problem. Would be nice if such information would be available in the wiki.

It's a wiki :)

>
> Thanx,
> Steffen





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: install gcc at target machine?
  2008-11-06  9:18     ` Koen Kooi
@ 2008-11-06  9:40       ` Sledz, Steffen
  0 siblings, 0 replies; 5+ messages in thread
From: Sledz, Steffen @ 2008-11-06  9:40 UTC (permalink / raw
  To: openembedded-devel

> > This solves my problem. Would be nice if such information 
> > would be available in the wiki.
> 
> It's a wiki :)

I'll do my very best.  ;-)



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-11-06  9:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-05 15:37 install gcc at target machine? Sledz, Steffen
2008-11-05 17:22 ` Denys Dmytriyenko
2008-11-06  8:08   ` Sledz, Steffen
2008-11-06  9:18     ` Koen Kooi
2008-11-06  9:40       ` Sledz, Steffen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.