I\'m trying to compile GCC 4.7.2 on a Buffalo LinkStation Pro Duo (after unlocking it) which runs Linux 2.6.31.8 armv5tel.
Unfortunately, make throws qu
SIZEOF_LONG should be #defined by configure in the file auto-host.h. Your auto-host.h should contain something like:
/* The size of `long', as computed by sizeof. */
#ifndef USED_FOR_TARGET
#define SIZEOF_LONG 8
#endif
If the above is not present (and it looks like in your case it's indeed so), check config.log for errors. Search for errors around the string checking size of long.
config.log to discoverconftest.c:10:19: error: ppl_c.h: No such file or directoryconfigure from creating a Makefile and returning a success error code). The first google hit on that was this post, showing I didn't provide the ppl dependency.checked_float.inlines.hh:1012: error: 'frexpl' was not declared in this scopemake offered me another "helpful" error:gcc/../libcpp/include/line-map.h:66: error: 'CHAR_BIT'C_INCLUDE_PATH ending with a colon (I already experienced the checking LIBRARY_PATH variable... contains current directory error mentioned in that post, but didn't think about checking other variables for that as well)Compilation is still running, so far no more errors...