I needed to build LibUCW on Raspberry PI.
However, support for armhf is still a little bit hackish:
You need to configure with "ARCH=armhf" (auto-detection from GCC machine
type does now work) and tests require an explicit export of LD_LIBRARY_PATH
run/lib.
Set("CPU_BIG_ENDIAN");
UnSet("CPU_ALLOW_UNALIGNED");
Set("CPU_STRUCT_ALIGN" => 4);
+} elsif ($arch eq "armhf") {
+ Set("CPU_ARM");
+ UnSet("CPU_64BIT_POINTERS");
+ Set("CPU_LITTLE_ENDIAN");
+ UnSet("CPU_BIG_ENDIAN");
+ UnSet("CPU_ALLOW_UNALIGNED");
+ Set("CPU_STRUCT_ALIGN" => 4);
} elsif (!Get("CPU_LITTLE_ENDIAN") && !Get("CPU_BIG_ENDIAN")) {
Fail "Architecture not recognized, please set CPU_xxx variables manually.";
}