Hi
in attempting to compile a package I have eglibc_base-dev loaded which is a part of deps for compiletc
nan.h sits under /usr/include/bits/
So to my fumbling brain I tried
export LDFLAGS="-Wl,-O1 -L /usr/include/bits/"
but cat *.log | grep error has
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:75:20: fatal error: ieeefp.h: No such file or directory
conftest.c:42:20: fatal error: ieeefp.h: No such file or directory
conftest.c:75:17: fatal error: nan.h: No such file or directory
conftest.c:42:17: fatal error: nan.h: No such file or directory
conftest.c:77:22: fatal error: fp_class.h: No such file or directory
conftest.c:44:22: fatal error: fp_class.h: No such file or directory
conftest.c:91:16: fatal error: dl.h: No such file or directory
conftest.c:58:16: fatal error: dl.h: No such file or directory
configure:13283: checking for strerror
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
| /* Override any GCC internal prototype to avoid an error.
ac_cv_func_strerror=yes
according to appsearch (Rich's great database search tool) I get hits for nan.h as
nan.h
eglibc_base-dev.tcz
plt.tcz
toolchain64.tcz
but I am not building 64 bit, can't see how plt applies so the top one is my target TCZ
sudo find / -name nan.h
/tmp/tcloop/eglibc_base-dev/usr/include/bits/nan.h
/usr/include/bits/nan.h
any clues?
clearly I don't know a lot about compiling but you guys are the best, so hopefully will give me an answer
if not thanks for reading
Gordon