GP2X Linux Toolchain G Gp2xdev-20060525.tar.bz2


michu

Still Fresh
Joined
Mar 6, 2006
Messages
60
Website
www.neophob.com
ok i try to build the gp2x dev stuff on debian (2.6.8-2-686), but i run into troubles when i want to compile gcc4.0.2:

<snip>
cc/. -I../../gcc/../include -I../../gcc/../libcpp/include -fexceptions -c ../../gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
In file included from ./gthr-default.h:1,
from ../../gcc/gthr.h:114,
from ../../gcc/unwind-dw2.c:42:
../../gcc/gthr-posix.h:43:21: error: pthread.h: No such file or directory
In file included from /usr/local/gp2xdev/gp2x/include/unistd.h:26,
from ../../gcc/gthr-posix.h:44,
from ./gthr-default.h:1,
from ../../gcc/gthr.h:114,
from ../../gcc/unwind-dw2.c:42:
/usr/local/gp2xdev/gp2x/include/features.h:331:23: error: gnu/stubs.h: No such file or directory
In file included from ./gthr-default.h:1,
from ../../gcc/gthr.h:114,
from ../../gcc/unwind-dw2.c:42:

well i looks like pthread.h should no be installed.. but it is here: /usr/local/gp2xdev/toolchain/gcc-4.0.2/fixincludes/tests/base/pthread.h


where are also some fixinclude direcetories in this toolchain but i dodnt found any docus... any help?

thanks in advance, cheers
michu
 
michu posted on Jul 17 2006 at 08:36 PM said:
ok i try to build the gp2x dev stuff on debian (2.6.8-2-686), but i run into troubles when i want to compile gcc4.0.2:

<snip>
cc/. -I../../gcc/../include -I../../gcc/../libcpp/include -fexceptions -c ../../gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
In file included from ./gthr-default.h:1,
from ../../gcc/gthr.h:114,
from ../../gcc/unwind-dw2.c:42:
../../gcc/gthr-posix.h:43:21: error: pthread.h: No such file or directory
In file included from /usr/local/gp2xdev/gp2x/include/unistd.h:26,
from ../../gcc/gthr-posix.h:44,
from ./gthr-default.h:1,
from ../../gcc/gthr.h:114,
from ../../gcc/unwind-dw2.c:42:
/usr/local/gp2xdev/gp2x/include/features.h:331:23: error: gnu/stubs.h: No such file or directory
In file included from ./gthr-default.h:1,
from ../../gcc/gthr.h:114,
from ../../gcc/unwind-dw2.c:42:

well i looks like pthread.h should no be installed.. but it is here: /usr/local/gp2xdev/toolchain/gcc-4.0.2/fixincludes/tests/base/pthread.h


where are also some fixinclude direcetories in this toolchain but i dodnt found any docus... any help?

thanks in advance, cheers
michu
Having the file isn't enough, you need to tell the compiler where to search for such file
Try to include "-I/usr/local/gp2xdev/toolchain/gcc-4.0.2/fixincludes/tests/base/" into your gcc command line (best if you include it already in the main makefile), so the compiler will search in that particular directory

But if you had it really installed, I think that it would be in other (proper) directory like /usr/local/gp2xdev/include
 
Last edited by a moderator:
Back
Top