cross-compilation documentation
Andrew Pinski
pinskia@physics.uc.edu
Sun Jun 22 17:49:00 GMT 2003
It is documented, just not fully:
"that each --with option has a corresponding --without option"
--with-headers
--with-headers=dir
Deprecated in favor of --with-sysroot. Specifies that target headers
are available when building a cross compiler. The dir argument
specifies a directory which has the target include files. These
include files will be copied into the gcc install directory. This
option with the dir argument is required when building a cross
compiler, if prefix/target/sys-include doesn't pre-exist. If
prefix/target/sys-include does pre-exist, the dir argument may be
omitted. fixincludes will be run on these files to make them
compatible with GCC.
Thanks,
Andrew Pinski
On Sunday, Jun 22, 2003, at 13:10 US/Eastern, Dara Hazeghi wrote:
>> 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.
>
> Where is this documented? I don't see any reference at
> http://gcc.gnu.org/install/configure.html.
>
> Dara
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
>
More information about the Gcc
mailing list