It was bloody stupid mistake, i have make clean forgotten between incorrect 
and correct ./configure
Now the executable is built fine.
But a little problem remains with --prefix=...
A sh4 system root disk is nfs mounted my PC subdirectory /var/sh4prj
If i run ./configure with --prefix=/var/sh4prj/usr/local 
a binary searches config and other files at non-existent /var/sh4prj/usr/local 
directory.
Do you know, how to fix it? 
How to install into /var/sh4prj/usr/local, but set up-ed to /usr/local

Thank you
Jakub Ladman
Dne pátek 21 červenec 2006 11:27 Jakub Ladman napsal(a):
> 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

-- 
[email protected] mailing list

Reply via email to