DHCP-3.1.1 on ARM.

Paul Selkirk Paul_Selkirk at isc.org
Mon Dec 29 16:42:30 UTC 2008

>      I am trying to compile dhcp-3.1.1 on ARM.
>      Please could you provide the information as to how to enable compilation
>      on ARM in a cross-development scenario?

The way OpenWrt handles this in dhcp-3.1 is to patch the configure
script to allow you to override the `uname` discovery process.

So then you would do something like the following, to build for Linux
on a MIPS target:

./configure --copts "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts"
make CC="mipsel-linux-uclibc-gcc"

Note that the configure line is pretty much as output by OpenWrt, but
the make line is greatly simplified for clarity.  But this should get
you started in the right direction.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 100-portability.patch
Type: application/octet-stream
Size: 567 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20081229/a3467aa1/attachment-0001.obj>

More information about the dhcp-users mailing list