Jakub Ladman wrote:
I am trying to buil minicom manually:

trotl minicom-2.1 # export CC="sh4-pc-linux-uclibc-gcc"
trotl minicom-2.1 # export ARCH=sh4
trotl minicom-2.1 # export CFLAGS="-Os -pipe -fPIC"
trotl minicom-2.1 # export LD="sh4-pc-linux-uclibc-ld"
trotl minicom-2.1 # export CXXFLAGS="${CFLAGS}"
trotl minicom-2.1 # export LDFLAGS="-L/var/sh4prj/lib -L/var/sh4prj/usr/lib"
trotl minicom-2.1 # export CBUILD=i686-pc-linux-gnu
trotl minicom-2.1 # export CHOST=sh4-pc-linux-uclibc
trotl minicom-2.1 # export CTARGET=sh4-pc-linux-uclibc
trotl minicom-2.1 # export CXX=sh4-pc-linux-uclibc-g++
trotl minicom-2.1 # ./configure --prefix=/var/sh4prj/usr/local 
--build=i686-pc-linux-gnu --host=sh4
trotl minicom-2.1 # make
trotl minicom-2.1 # make install

It completes without any errors, but:

trotl ladmanj # file /var/sh4prj/usr/local/bin/minicom
/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
trotl ladmanj #
I am little bit agonized of it.

Jakub Ladman

Dne pátek 21 ?ervenec 2006 07:42 Mike Frysinger napsal(a):
On Thursday 20 July 2006 12:06, Jakub Ladman wrote:
I realy need a terminal for a serial ports with hardware handshaking.
I know minicom only for this purposes, but i am not able to build it for
sh4 cpu.
minicom cross builds for sh4 just fine for me
-mike

try using ./configure --target=sh4 and also put those CHOST and what nots with against the make, CC=$TARGET make, or edit the makefile to use your stuff.


--
[email protected] mailing list

Reply via email to