
//man stat recommends -D_FILE_OFFSET_BITS=64
//add the following to features.h (part of glibc)
//(note for stdio or LFS, need an additional "largefile" flag)
#ifndef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 64
#endif

//see .bashrc for gcc paths (GCC_EXEC_PREFIX, CPATH and LIBRARY_PATH)

see "man stdint.h"
my code assumes sizes for types, with unit of byte
	char 1
	void * 4
	int 4
	llong 8, short 2
may need
	#define int int32_t
	#define llong int64_t
	//or -Dllong=int64_t
usually use
	typedef long long llong
	/*typedef int64_t llong*/
	//this is consistent with the standard lib. strtoll and printf("%lld")

string.h: after strncasecmp after endif #define strncasecmp(s1,s2,n) strncasecmp(s1,s2,((s1)[0]||(s2)[0])?(n):0)
libc-2.15.so

if 32-bit target but the fpu is 64-bit use gcc -mpc64
if LANG=en_US.UTF-8 may need LANG=C for gcc
