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]

Re: cross-compilation documentation


Andrew Pinski wrote:
That first step, installing bootstrap glibc headers, is a new
and annoying prerequisite as of gcc-3.3. See
http://sources.redhat.com/ml/crossgcc/2003-06/msg00170.html
for my rant on the subject.

No you do not have install the headers because you can pass to gcc --without-headers and that will make sure that you do not compile the sources that require glibc's headers.

So total process is:
cd gccobjdir
.../gcc-sources/configure --without-headers --target=???-linux-gnu --prefix=??? --enable-languages=c
make
make install
cd glibcobjdir
.../glibc-sources/configure --target=???-linux-gnu --prefix=???
make
make install
cd gccobjdir
.../gcc-sources/configure --prefix=???

Ahh, thanks. I'll try it. That should speed up my build times noticably, too, since just installing the glibc headers takes about 10% of my run time. - Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


------ 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]