This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]