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 15:10:51
Message-Id: 200607211604.58480.ladmanj@volny.cz
In Reply to: Re: [gentoo-embedded] Help wanted by Anish Patel
1 Thanks to everyone.
2 My minicom is working now properly.
3 Jakub Ladman
4
5 Dne pátek 21 èervenec 2006 15:04 Anish Patel napsal(a):
6 > Jakub Ladman wrote:
7 > > I am trying to buil minicom manually:
8 > >
9 > > trotl minicom-2.1 # export CC="sh4-pc-linux-uclibc-gcc"
10 > > trotl minicom-2.1 # export ARCH=sh4
11 > > trotl minicom-2.1 # export CFLAGS="-Os -pipe -fPIC"
12 > > trotl minicom-2.1 # export LD="sh4-pc-linux-uclibc-ld"
13 > > trotl minicom-2.1 # export CXXFLAGS="${CFLAGS}"
14 > > trotl minicom-2.1 # export LDFLAGS="-L/var/sh4prj/lib
15 > > -L/var/sh4prj/usr/lib" trotl minicom-2.1 # export
16 > > CBUILD=i686-pc-linux-gnu
17 > > trotl minicom-2.1 # export CHOST=sh4-pc-linux-uclibc
18 > > trotl minicom-2.1 # export CTARGET=sh4-pc-linux-uclibc
19 > > trotl minicom-2.1 # export CXX=sh4-pc-linux-uclibc-g++
20 > > trotl minicom-2.1 # ./configure --prefix=/var/sh4prj/usr/local
21 > > --build=i686-pc-linux-gnu --host=sh4 trotl minicom-2.1 # make
22 > > trotl minicom-2.1 # make install
23 > >
24 > > It completes without any errors, but:
25 > >
26 > > trotl ladmanj # file /var/sh4prj/usr/local/bin/minicom
27 > > /var/sh4prj/usr/local/bin/minicom: ELF 32-bit LSB executable, Intel
28 > > 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses
29 > > shared libs), for GNU/Linux 2.6.9, not stripped trotl ladmanj #
30 > >
31 > > I am little bit agonized of it.
32 > >
33 > > Jakub Ladman
34 > >
35 > > Dne pátek 21 ?ervenec 2006 07:42 Mike Frysinger napsal(a):
36 > >> On Thursday 20 July 2006 12:06, Jakub Ladman wrote:
37 > >>> I realy need a terminal for a serial ports with hardware handshaking.
38 > >>> I know minicom only for this purposes, but i am not able to build it
39 > >>> for sh4 cpu.
40 > >>
41 > >> minicom cross builds for sh4 just fine for me
42 > >> -mike
43 >
44 > try using ./configure --target=sh4 and also put those CHOST and what
45 > nots with against the make, CC=$TARGET make, or edit the makefile to use
46 > your stuff.
47
48 --
49 gentoo-embedded@g.o mailing list