1 |
It was bloody stupid mistake, i have make clean forgotten between incorrect |
2 |
and correct ./configure |
3 |
Now the executable is built fine. |
4 |
But a little problem remains with --prefix=... |
5 |
A sh4 system root disk is nfs mounted my PC subdirectory /var/sh4prj |
6 |
If i run ./configure with --prefix=/var/sh4prj/usr/local |
7 |
a binary searches config and other files at non-existent /var/sh4prj/usr/local |
8 |
directory. |
9 |
Do you know, how to fix it? |
10 |
How to install into /var/sh4prj/usr/local, but set up-ed to /usr/local |
11 |
|
12 |
Thank you |
13 |
Jakub Ladman |
14 |
Dne pátek 21 èervenec 2006 11:27 Jakub Ladman napsal(a): |
15 |
> I am trying to buil minicom manually: |
16 |
> |
17 |
> trotl minicom-2.1 # export CC="sh4-pc-linux-uclibc-gcc" |
18 |
> trotl minicom-2.1 # export ARCH=sh4 |
19 |
> trotl minicom-2.1 # export CFLAGS="-Os -pipe -fPIC" |
20 |
> trotl minicom-2.1 # export LD="sh4-pc-linux-uclibc-ld" |
21 |
> trotl minicom-2.1 # export CXXFLAGS="${CFLAGS}" |
22 |
> trotl minicom-2.1 # export LDFLAGS="-L/var/sh4prj/lib |
23 |
> -L/var/sh4prj/usr/lib" trotl minicom-2.1 # export CBUILD=i686-pc-linux-gnu |
24 |
> trotl minicom-2.1 # export CHOST=sh4-pc-linux-uclibc |
25 |
> trotl minicom-2.1 # export CTARGET=sh4-pc-linux-uclibc |
26 |
> trotl minicom-2.1 # export CXX=sh4-pc-linux-uclibc-g++ |
27 |
> trotl minicom-2.1 # ./configure --prefix=/var/sh4prj/usr/local |
28 |
> --build=i686-pc-linux-gnu --host=sh4 trotl minicom-2.1 # make |
29 |
> trotl minicom-2.1 # make install |
30 |
> |
31 |
> It completes without any errors, but: |
32 |
> |
33 |
> trotl ladmanj # file /var/sh4prj/usr/local/bin/minicom |
34 |
> /var/sh4prj/usr/local/bin/minicom: ELF 32-bit LSB executable, Intel 80386, |
35 |
> version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared |
36 |
> libs), for GNU/Linux 2.6.9, not stripped trotl ladmanj # |
37 |
> |
38 |
> I am little bit agonized of it. |
39 |
> |
40 |
> Jakub Ladman |
41 |
> |
42 |
> Dne pátek 21 ?ervenec 2006 07:42 Mike Frysinger napsal(a): |
43 |
> > On Thursday 20 July 2006 12:06, Jakub Ladman wrote: |
44 |
> > > I realy need a terminal for a serial ports with hardware handshaking. |
45 |
> > > I know minicom only for this purposes, but i am not able to build it |
46 |
> > > for sh4 cpu. |
47 |
> > |
48 |
> > minicom cross builds for sh4 just fine for me |
49 |
> > -mike |
50 |
|
51 |
-- |
52 |
gentoo-embedded@g.o mailing list |