egcs-2.91.57 --print-prog-name error
Gilles-Claude Rajaobelina
Gilles.Rajaobelina@bull.net
Fri Jan 8 12:20:00 GMT 1999
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|
More information about the Gcc-bugs
mailing list