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: implications and importance of --prefix?? what about -static in GCC_EXTRA_CONFIG?


David Haworth <david.haworth@3soft.de> wrote:

> I think I didn't explain myself very well. I'd like to build a
> gcc that "knows" where its files are by looking at an arbitrary
> (specified at build time) environment variable.

 The environment variables documented in the GCC manual
have been available as far as I remember... The 'relative search
paths'  became standard in gcc-2.95.x... So using the GCCs own
environment setting for changing the install $prefix, everything
should work...  So what on earth is this problem ?

--------------------------------- clip -----------------------------------------------
2.17 Environment Variables Affecting GCC

This section describes several environment variables that affect
how GCC operates. Some of them work by specifying directories or
prefixes to use when searching for various kinds of  files. Some are
used to specify other aspects of the compilation environment. Note
that you can also specify places to search using options such as
-B, -I and -L (see Section 2.12 [Directory Options], page 50). These
take precedence over places specified using environment variables,
which in turn take precedence over those specified by the configuration
of GCC. See Section 17.1 [Driver], page 367.
--------------------------------- clip -----------------------------------------------

 Is this problem again a RTFM or what?

Cheers, Kai


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