author | alwin <alwin> | 2004-02-13 13:14:17 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-02-13 13:14:17 (UTC) |
commit | 8149606231ee4aa03e5232eae27a358fedd32cd5 (patch) (unidiff) | |
tree | f2c628246438dbc20fb019def50a032d16f67ee2 | |
parent | aca5ba5ed24b4da61517560ea91f566afd132d28 (diff) | |
download | opie-8149606231ee4aa03e5232eae27a358fedd32cd5.zip opie-8149606231ee4aa03e5232eae27a358fedd32cd5.tar.gz opie-8149606231ee4aa03e5232eae27a358fedd32cd5.tar.bz2 |
just short instruction how to get libetpan compiled in cross compiler
-rw-r--r-- | noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt b/noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt new file mode 100644 index 0000000..9b84b6d --- a/dev/null +++ b/noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | Steps for building libetpan for arm-zaurus environment: | ||
2 | 1. export PATH=$PATH:/usr/local/arm/2.95.3/bin | ||
3 | 2. cd into the libetpan sourcedir | ||
4 | 3. run | ||
5 | ./configure --host=arm-linux --prefix=/usr/local/arm/2.95.3/arm-linux --disable-db --disable-debug | ||
6 | |||
7 | the disable-db is required!!!! | ||
8 | 4. check the output of configure, you MUST find a line | ||
9 | "checking for openssl/ssl.h... yes" and | ||
10 | "checking for SSL_library_init in -lssl... yes" | ||
11 | |||
12 | If not, you don't have SSL installed into your crosscompiling chain. Thats bad. | ||
13 | SSL is strongly needed! | ||
14 | |||
15 | 5. Check the file Rules in top-srcdir. There is a line | ||
16 | "CFLAGS = -O2 -W -Wall -g -DDEBUG -DHAVE_CONFIG_H" | ||
17 | |||
18 | remove the -g option | ||
19 | |||
20 | For remote debugging this is not required, but the local copy must contain debug | ||
21 | code for that. | ||
22 | |||
23 | 6. make, make install | ||
24 | Now you should find libetpan in /usr/local/arm/2.95.3/arm-linux/lib | ||
25 | |||
26 | If you're using other pathes then you should give that of course instead of 2.95.3. | ||
27 | |||
28 | Alwin | ||
29 | |||