This is the mail archive of the gcc-patches@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: PATCH mingw32 STANDARD_STARTFILE_PREFIX_[12] (Re: PATCH mingw32MD_STARTFILE_PREFIX was a bad idea.)


Gunther Nikl wrote:
On Thu, Jun 17, 2004 at 06:11:18PM -0500, Aaron W. LaFramboise wrote:
! /* Override startfile prefix defaults.  */
! #ifndef STANDARD_STARTFILE_PREFIX_1
! #define STANDARD_STARTFILE_PREFIX_1 "/mingw/lib/"
! #endif
! #ifndef STANDARD_STARTFILE_PREFIX_2
! #define STANDARD_STARTFILE_PREFIX_2 ""
! #endif
  Is using #ifndef a good idea? Do you think these defines might already
  be present?

The ifndef is what allows the target config to override these values. That seemed like the most reasonable way to accomplish this.


Aaron W. LaFramboise


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