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] |
>-----Original Message----- >From: bgat@billgatliff.com [mailto:bgat@billgatliff.com] >Sent: 08 June 2001 16:08 >Kevin: Not quite, but we'll say no more about it :-P >> But you *have* to either use --with-headers OR symlink >.../sys-include >> into .../include OR manually place the headers in >.../sys-include if your >> target headers need fixing. > >Do previously-installed glibc headers need fixing? Glibc headers should be ANSI and Gcc compliant from the word go, and so shouldn't *ever* need fixing. The same goes for the Newlib headers; in fact, if either of those sets of headers ever did need fixing, it should be treated as a bug and the fix should be applied to the source in the Gnu / Redhat CVS tree. >> So why not use --with-headers, let it copy them into .../sys-include, let >> it fix them during the build, and then after installing just delete the >> sys-include directory? > >Oops, this is, in fact, exactly what I do for non *-linux >crosscompilers. :^) It's almost the same as what I do for (non-linux) crosscompilers, with one exception: I don't even bother deleting the sys-include, since include and sys-include have the same contents, and since the $prefix/lib/gcc-lib/ $target/$version/include dir where the fixed headers live is first of all on the path, it doesn't really matter to me that sys-include gets searched before include, since I know for a fact that the version in sys-include will be identical to the version in include. DaveK -- we are not seats or eyeballs or end users or consumers. we are human beings - and our reach exceeds your grasp. deal with it. - cluetrain.org ********************************************************************** 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@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |