Gentoo Archives: gentoo-embedded

From: Jakub Ladman <ladmanj@×××××.cz>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Help wanted
Date: Fri, 21 Jul 2006 09:29:36
Message-Id: 200607211127.02364.ladmanj@volny.cz
In Reply to: Re: [gentoo-embedded] Help wanted by Mike Frysinger
1 I am trying to buil minicom manually:
2
3 trotl minicom-2.1 # export CC="sh4-pc-linux-uclibc-gcc"
4 trotl minicom-2.1 # export ARCH=sh4
5 trotl minicom-2.1 # export CFLAGS="-Os -pipe -fPIC"
6 trotl minicom-2.1 # export LD="sh4-pc-linux-uclibc-ld"
7 trotl minicom-2.1 # export CXXFLAGS="${CFLAGS}"
8 trotl minicom-2.1 # export LDFLAGS="-L/var/sh4prj/lib -L/var/sh4prj/usr/lib"
9 trotl minicom-2.1 # export CBUILD=i686-pc-linux-gnu
10 trotl minicom-2.1 # export CHOST=sh4-pc-linux-uclibc
11 trotl minicom-2.1 # export CTARGET=sh4-pc-linux-uclibc
12 trotl minicom-2.1 # export CXX=sh4-pc-linux-uclibc-g++
13 trotl minicom-2.1 # ./configure --prefix=/var/sh4prj/usr/local --build=i686-pc-linux-gnu --host=sh4
14 trotl minicom-2.1 # make
15 trotl minicom-2.1 # make install
16
17 It completes without any errors, but:
18
19 trotl ladmanj # file /var/sh4prj/usr/local/bin/minicom
20 /var/sh4prj/usr/local/bin/minicom: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
21 trotl ladmanj #
22
23 I am little bit agonized of it.
24
25 Jakub Ladman
26
27 Dne pátek 21 ?ervenec 2006 07:42 Mike Frysinger napsal(a):
28 > On Thursday 20 July 2006 12:06, Jakub Ladman wrote:
29 > > I realy need a terminal for a serial ports with hardware handshaking.
30 > > I know minicom only for this purposes, but i am not able to build it for
31 > > sh4 cpu.
32 >
33 > minicom cross builds for sh4 just fine for me
34 > -mike

Replies

Subject Author
Re: [gentoo-embedded] Help wanted Jakub Ladman <ladmanj@×××××.cz>
Re: [gentoo-embedded] Help wanted Anish Patel <anish.mailing.list@×××××.com>