1 |
On Mon, 2009-06-15 at 13:36 +0100, Stephen Feyrer wrote: |
2 |
> Well on the plus side it produced a full set of healthy little bouncing |
3 |
> binaries. Except that they were X86_64 binaries and not arm! |
4 |
> |
5 |
> Which puts me back at square one. |
6 |
> |
7 |
> |
8 |
> |
9 |
> Stephen Feyrer wrote: |
10 |
> > Sorry Make went okay as well. I just excepted it to stop with a nice |
11 |
> > little message like meerge I guess. |
12 |
> > |
13 |
> > Stephen Feyrer wrote: |
14 |
> >> Sven Rebhan wrote: |
15 |
> >>> Take a look at http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling |
16 |
> >>> |
17 |
> >>> |
18 |
> >>> |
19 |
> >> Thanks. |
20 |
> >> |
21 |
> >> It seems that: |
22 |
> >> |
23 |
> >> ./configure --prefix=/opt --target=armv5tel-softfloat-linux-gnueabi |
24 |
> >> host=i686-pc-linux-gnu --build=armv5tel-softfloat-linux-gnueabi |
25 |
> >> |
26 |
> >> will run the configure without any deviation, hesitation or throwing all |
27 |
> >> of its toys out! |
28 |
> >> |
29 |
> >> The Configure --help has this to say on the subject of cross compiling. |
30 |
> >> |
31 |
> >> System types: |
32 |
> >> --build=BUILD configure for building on BUILD [guessed] |
33 |
> >> --host=HOST cross-compile to build programs to run on HOST [BUILD] |
34 |
> >> |
35 |
> >> |
36 |
> >> |
37 |
> >> I'm now happily having make problems. |
38 |
> >> |
39 |
> >> |
40 |
> >> I am very grateful to everyone for helping me. |
41 |
|
42 |
It took a bit of head banging last nite, but I found I had to set all of |
43 |
the following. It would still fail for me trying to link in some |
44 |
-lrpcsvc which I did not figure out what provided it. |
45 |
but should give you a start. You will want to double check these are |
46 |
legit conf cache values for the platform you are dealing with also. |
47 |
|
48 |
Good luck. |
49 |
|
50 |
EXTRA_ECONF=--with-notify=none \ |
51 |
i_cv_epoll_works=yes i_cv_posix_fallocate_works=no \ |
52 |
ignore_signed_size=1 i_cv_signed_size_t=no \ |
53 |
i_cv_gmtime_max_time_t=31 \ |
54 |
i_cv_signed_time_t=yes \ |
55 |
i_cv_mmap_plays_with_write=yes \ |
56 |
i_cv_fd_passing=yes \ |
57 |
lib_cv_va_copy=yes i_cv_c99_vsnprintf=yes \ |
58 |
lib_cv___va_copy=no va_copy_func=va_copy \ |
59 |
lib_cv_va_val_copy=yes \ |
60 |
ACCEPT_KEYWORDS="arm ~arm ~amd64" \ |
61 |
${CHOST}-emerge -v1 dovecot --root-deps=rdeps "$@" |