Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#21 Makefiles for Judy1 and JudyL do not support cross-compiling

open
nobody
None
5
2008-01-11
2008-01-11
Anonymous
No

When cross-compiling, Make fails on the following line of src/JudyL/Makefile:

JudyLTables.c: JudyLTablesGen.c
$(CC) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o JudyLTablesGen JudyLTablesGen.c; ./JudyLTablesGen

This is because CC is set to the host compiler not the build compiler. Therefore, JudyLTableGen fails to execute.

The same problem exists for src/Judy1/Makefile.

Discussion