This shows you the differences between two versions of the page.
|
tips_on_how_to_cross_compile_various_programs [2008/07/11 12:50] tombrus added ncurses |
tips_on_how_to_cross_compile_various_programs [2009/02/12 15:19] (current) walter add NTPD |
||
|---|---|---|---|
| Line 58: | Line 58: | ||
| </code> | </code> | ||
| + | ===== NTPD ===== | ||
| + | * Version: ntp-4.2.4p6 | ||
| + | * Webpage: [[http://www.ntp.org/downloads.html]] | ||
| + | * SDK version: Axis Developer Board 82 release 1.92 | ||
| + | * see also: [[http://www.mail-archive.com/foxboard@yahoogroups.com/msg00626.html]] | ||
| + | <code> | ||
| + | #!/bin/sh | ||
| + | # | ||
| + | # adjust for your needs !!! | ||
| + | export prefix=~/src/axis/devboard_82/target/cris-axis-linux-gnu | ||
| + | env \ | ||
| + | CC="cris-gcc -mlinux " \ | ||
| + | LDFLAGS="-L${prefix}/lib" \ | ||
| + | OBJCOPY="cris-objcopy" \ | ||
| + | AR="cris-ar" \ | ||
| + | RANLIB="cris-ranlib" \ | ||
| + | NM="cris-nm" \ | ||
| + | STRIP="cris-strip" \ | ||
| + | \ | ||
| + | ./configure \ | ||
| + | --host=cris-axis-linux \ | ||
| + | --without-x \ | ||
| + | --prefix=${prefix} \ | ||
| + | --disable-debugging \ | ||
| + | --disable-debug-timing \ | ||
| + | --disable-BANCOMM \ | ||
| + | --disable-GPSVME \ | ||
| + | --disable-all-clocks \ | ||
| + | --enable-DUMBCLOCK \ | ||
| + | --enable-LOCAL-CLOCK \ | ||
| + | --disable-parse-clocks \ | ||
| + | --enable-RAWDCF \ | ||
| + | --without-electricfence | ||
| + | exit | ||
| + | </code> | ||
| ===== PHP ===== | ===== PHP ===== | ||