This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello again Dave, I added the --enable-languages=c param and did the same for the make command (LANGUAGES=c), but i ended up in the same error. I don't have those headers + runtime libs till my bootstrap GCC is fully compiled and thus I can compile glibc. I went looking in the file that causes the error (linux.h) and found this: #ifdef IN_LIBGCC2 #include <signal.h> #include <sys/ucontext.h> #endif What does the IN_LIBGCC2 definition mean? the compiling of the bootstrap compiler cant find these headers... Thanks, Wouter >From: David Korn <dkorn@pixelpower.com> >To: 'Wouter Andy' <wouter51@hotmail.com>, crossgcc@sourceware.cygnus.com >Subject: RE: Crosscompiler for i686-pc-linux from cygwin >Date: Tue, 22 Jan 2002 16:48:07 -0000 > > >-----Original Message----- > >From: Wouter Andy [mailto:wouter51@hotmail.com] > >Sent: 22 January 2002 16:19 > > >$ mkdir build-gcc && cd build-gcc > >$ ../gcc-3.0.3/configure --target=${TARGET} \ > > --prefix=${PREFIX} --without-headers --with-newlib \ > > 2>&1 | tee configure.log > >$ make all-gcc install-gcc 2>&1 | tee make.log > > Hi Wouter, > > Argh, Bill messed up. That "--without-haders --with-newlib" is a >kludgey way of getting a bootstrap compiler and I guess it's not working >right now. > > OK, the make goes wrong because it's trying to build too much at the >moment and so running into problems when it gets to some of the trickier >bits. You only want a bootstrap compiler, so you also need to give >configure the flag: > > --enable-languages=c > >and to the make command you must add > > LANGUAGES=c > >on the command line. Have a go at that, then you should get enough of >a compiler working and installable that you can proceed to build glibc; >when you've got glibc built for your target it will take care of supplying >the header files that were missing when you indadvertently tried building >the full gcc. > > NB: It is probably only necessary to use --enable-languages with 3.0.x, >but it should do no harm to make extra sure by adding the LANGUAGES macro >to the make command as well. > > DaveK >-- >Burn your ID card! http://www.optional-identity.org.uk/ >Help support the campaign, copy this into your .sig! > > > >********************************************************************** >This email and any files transmitted with it are confidential and >intended solely for the use of the individual or entity to whom they >are addressed. If you have received this email in error please notify >the system manager. > >This footnote also confirms that this email message has been swept by >MIMEsweeper for the presence of computer viruses. > >www.mimesweeper.com >********************************************************************** > >------ >Want more information? See the CrossGCC FAQ, >http://www.objsw.com/CrossGCC/ >Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com > _________________________________________________________________ MSN Foto's is de eenvoudigste manier om je foto's te delen en af te drukken: http://photos.msn.nl/Support/WorldWide.aspx ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |