1 |
* Kfir Lavi <lavi.kfir@×××××.com> schrieb: |
2 |
|
3 |
> Does configure tests check the running kernel for compiled in interfaces? |
4 |
|
5 |
Actually, I've already seen packages doing such crap. |
6 |
On autoconf'ed packages, just look for AC_TRY_RUN or AC_CHECK_FILE, |
7 |
etc, and you'll know the package is ill-designed. |
8 |
|
9 |
> If yes, lets say I have very lean kernel on the target, how I can compile |
10 |
> against the target kernel? |
11 |
|
12 |
#1: always use a sysroot'ed toolchain with matching kernel headers. |
13 |
(crosstool-ng is your friend) |
14 |
#2: for testing, additionally use an cross-toolchain which produces |
15 |
binaries that cannot be executed on your machine (so all attempts |
16 |
to run tests on the building system radically fail) |
17 |
#3: on autotool'ed packages, look for crap like AC_TRY_RUN, etc |
18 |
and fix it |
19 |
#4: join the oss-qm project ;-p |
20 |
|
21 |
|
22 |
cu |
23 |
-- |
24 |
---------------------------------------------------------------------- |
25 |
Enrico Weigelt, metux IT service -- http://www.metux.de/ |
26 |
|
27 |
phone: +49 36207 519931 email: weigelt@×××××.de |
28 |
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 |
29 |
---------------------------------------------------------------------- |
30 |
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme |
31 |
---------------------------------------------------------------------- |