This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
re: Help compiling gcc 3.3
- From: Dan Kegel <dank at kegel dot com>
- To: arekesandara at hotmail dot com, GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Sun, 27 Jul 2003 17:32:27 -0700
- Subject: re: Help compiling gcc 3.3
Deskin Miller wrote:
> I have recently downloaded gcc 3.3 and tried to build a cross
> compiler. However, at certain points, the make process has errors,
> which I have traced back to the abscence of some header files. In
> the file <gcc-source>/gcc/gthr-posix.h, there are includes for
> <unistd.h> and <pthread.h>, neither of which are in the standard
> include path. I found these headers elsewhere in the source; are
> these the correct files? If not, where can I obtain these files?
> Any help would be appreciated. FYI, I am running Red Hat Linux 9,
> gcc 3.2.2, glibc 2.3.2, on an Intel 686 architecture. I am trying
> to build a cross-compiler for i386 architecture.
It's a bit tricky to build cross-compilers. Which recipe are you
following? I'd suggest trying http://kegel.com/crosstool
which has a fully debugged script (knock on wood) for building
cross-compilers targeting glibc/linux systems.
- Dan
--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045