mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
8069253ad1
According to Nicolas Cavallari and confirmed by testing, std::strtoll is indeed available in gcc 4.6, so the dawgdic package can be enabled on gcc >= 4.6 instead of gcc >= 4.7. Reported-by: Nicolas Cavallari <Nicolas.Cavallari@green-communications.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
20 lines
769 B
Plaintext
20 lines
769 B
Plaintext
config BR2_PACKAGE_DAWGDIC
|
|
bool "dawgdic"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
# needs std::strtoll
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
|
|
help
|
|
dawgdic provides a library for building and accessing
|
|
dictionaries implemented with directed acyclic word graphs
|
|
(DAWG). A dawg is constructed by minimizing a trie as a
|
|
deterministic finite automaton (DFA), and thus the dawg has
|
|
an advantage in memory usage. In addition, dawgdic uses a
|
|
double-array as a base data structure, so its retrieval
|
|
speed is as fast as that of Darts, a library for building
|
|
and accessing double-array tries.
|
|
|
|
https://github.com/stil/dawgdic
|
|
|
|
comment "dawgdic needs a toolchain w/ C++, gcc >= 4.6"
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
|