Gentoo Archives: gentoo-embedded

From: Anish Patel <anish.mailing.list@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Help wanted
Date: Fri, 21 Jul 2006 13:05:52
Message-Id: 44C0D0C7.50003@gmail.com
In Reply to: Re: [gentoo-embedded] Help wanted by Jakub Ladman
1 Jakub Ladman wrote:
2 > I am trying to buil minicom manually:
3 >
4 > trotl minicom-2.1 # export CC="sh4-pc-linux-uclibc-gcc"
5 > trotl minicom-2.1 # export ARCH=sh4
6 > trotl minicom-2.1 # export CFLAGS="-Os -pipe -fPIC"
7 > trotl minicom-2.1 # export LD="sh4-pc-linux-uclibc-ld"
8 > trotl minicom-2.1 # export CXXFLAGS="${CFLAGS}"
9 > trotl minicom-2.1 # export LDFLAGS="-L/var/sh4prj/lib -L/var/sh4prj/usr/lib"
10 > trotl minicom-2.1 # export CBUILD=i686-pc-linux-gnu
11 > trotl minicom-2.1 # export CHOST=sh4-pc-linux-uclibc
12 > trotl minicom-2.1 # export CTARGET=sh4-pc-linux-uclibc
13 > trotl minicom-2.1 # export CXX=sh4-pc-linux-uclibc-g++
14 > trotl minicom-2.1 # ./configure --prefix=/var/sh4prj/usr/local --build=i686-pc-linux-gnu --host=sh4
15 > trotl minicom-2.1 # make
16 > trotl minicom-2.1 # make install
17 >
18 > It completes without any errors, but:
19 >
20 > trotl ladmanj # file /var/sh4prj/usr/local/bin/minicom
21 > /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
22 > trotl ladmanj #
23 >
24 > I am little bit agonized of it.
25 >
26 > Jakub Ladman
27 >
28 > Dne pátek 21 ?ervenec 2006 07:42 Mike Frysinger napsal(a):
29 >> On Thursday 20 July 2006 12:06, Jakub Ladman wrote:
30 >>> I realy need a terminal for a serial ports with hardware handshaking.
31 >>> I know minicom only for this purposes, but i am not able to build it for
32 >>> sh4 cpu.
33 >> minicom cross builds for sh4 just fine for me
34 >> -mike
35 >
36 try using ./configure --target=sh4 and also put those CHOST and what
37 nots with against the make, CC=$TARGET make, or edit the makefile to use
38 your stuff.
39
40
41 --
42 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] Help wanted Jakub Ladman <ladmanj@×××××.cz>