|
Cannot find std headers on a windows build
Hi all,
I made a cross compiler build to be used from windows (long story)
It appears to work, if I do something simple eg
int x=10,y=11,z;
z=x+y;
it works.
However if I call a C lib header it reports the header missing for example
#include <stdlib.h>
it can't fin stdlib.h ?
So I've tried adding the path to the the windows enviroment paths. This doesn't help. I tried adding the paths to my makefile and/or full path to the include, this works however reports lots of missing includes from the stdlib file? (Headers from top of stdlib.h stuff)
Can anyone advise? Do I need a windows build of gcc installed? Or am I missing something obvious?
Thanks
|