| delorie.com/archives/browse.cgi | search |
| From: | pavenis AT lanet DOT lv |
| To: | DJ Delorie <dj AT delorie DOT com>, djgpp AT delorie DOT com |
| Date: | Tue, 25 Jun 2002 11:02:17 +0300 |
| MIME-Version: | 1.0 |
| Subject: | Re: -nostdinc and sys/version.h |
| Message-ID: | <3D184DB9.20778.1A608F@localhost> |
| In-reply-to: | <200206250317.g5P3H5826604@envy.delorie.com> |
| References: | <3d17dc6e$0$1424$272ea4a1 AT news DOT execpc DOT com> (NoEmailAds AT execpc DOT com) |
| X-mailer: | Pegasus Mail for Windows (v4.01) |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On 24 Jun 2002 at 23:17, DJ Delorie wrote:
>
> > Is there a way to stop DJGPP from looking for file sys/version.h
> > or must this file always be present?
I think it can be easily reached by slight modification of GCC specs:
%{!nostdinc:-imacros %sdjgpp.ver}
instead of simply '-imacros %sdjgpp.ver'
The question is whether we need that
Andris
> > I am building free-standing code (an OS).
>
> ... then you want to (eventually) configure gcc to target your new OS
> as a cross compiler, in which case you'd change it to use your
> includes and config instead of djgpp's.
Andris
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |