This is the mail archive of the gcc-bugs@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]

Re: egcs-2.91.57 --print-prog-name error


Mumit Khan wrote:

> Jeff Bailey <jbailey@nisa.net> writes:
> > Under Cygwin B20.1, gcc -print-prog-name=as returns the DOS path to the
> > assembler, which isn't usable by other scripts.  Is there an easy setting
> > to change?
>
> Yes, upgrade to egcs-1.1.1.
> http://www.xraylith.wisc.edu/~khan/software/gnu-win32/
>
> Regards,
> Mumit

Quick and dirty, the following should return a unix path:
$(cygpath  -u  $(gcc -print-file-name=as))

--
Gilles-Claude Rajaobelina \\\///    | mailto:Gilles.Rajaobelina@bull.net |
Groupe Bull               (o  o)    | http://www.openmaster.com \\\///   |
rue Jean Jaures, BP68  oOO--(_)--OOo| Tel:(33)01.30.80.77.87    (o  o)   |
78340 Les Clayes sous Bois, FRANCE  |Fax:(33)01.30.80.33.35 oOO--(_)--OOo|





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