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: 32/64 startfile path handling


Alan Modra wrote:

>-  /* If not cross-compiling, look for startfiles in the standard places.
*/
>-  if (*cross_compile == '0')
>+  /* If not cross-compiling, look for startfiles in the standard places.
>+     Similarly, don't add the standard prefixes if startfile handling
>+     will be under control of startfile_prefix_spec.  */
>+  if (*cross_compile == '0' || *startfile_prefix_spec == 0)

The 'if'-condition appears to be wrong; this should be '&&' instead of '||'
unless I'm missing something here ...


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
  Dr. Ulrich Weigand
  Linux for S/390 Design & Development
  IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
  Phone: +49-7031/16-3727   ---   Email: Ulrich.Weigand@de.ibm.com


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