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: Trouble building -target=powerpc-*-elf: seems to include system specific headers



  Never mind folks.  I finally tripped over the fix in a series
of posts entitled "Re: apparent bug in the configure.in script"
back in Sept 2001.  Which said:

...
> Wrong.  If you're building a bootstrap compiler, you can specify
> --with-newlib to cause gcc to define the inhibit_libc variable and *not*
> include header files.  In this instance --without-headers is completely
> unecessary.
> 
> To build a bootstrap compiler (e.g. the first pass or "chicken" of the
> chicken/egg scenario) configure --with-newlib and use the all-gcc and
> install-gcc targets of the Makefile.  e.g.
> 
>    make all-gcc
>    make install-gcc
> 
> You also probably want to skip building C++, f77, etc. in the bootstrap, so
> configure with --enable-languages="c".
> 
...

  Cheers,

Rob

-- 
--------------------------------------------------------------------------
| Rob Ballantyne                         |                               |
| email: ballanty@sfu.ca                 |             _____             |
| Research Manager                       |               |               |
| CECM, Dept. of Mathematics             |    -----------O-----------    |
| Simon Fraser University                |                               |
| Burnaby, BC, CANADA    V5A 1S6         |                               |
--------------------------------------------------------------------------

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