This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

RE: No assembly file passed to as.exe...gcc for powerpc-eabi prob lem? ??


>-----Original Message-----
>From: luca.spinacci@marconicomms.com
>[mailto:luca.spinacci@marconicomms.com]
>Sent: 15 March 2001 07:16

>>> /tools/H-i686-pc-cygwin/powerpc-eabi/bin/as.exe
>>>Assembler messages:
>>> for reading.open
>>>: No such file or directory
>>>$
>>>
>>>Nothing odd in my opinion but the line where the assembler is
>>>launched "
>>>/tools/H-i686-pc-cygwin/powerpc-eabi/bin/as.exe". No file name on it.
>>>Is it a bug or I missed any configuration?
>>>
>>>Can anyone suggest me a solution?
>>
>>  Could be something's gone wrong with your specs file.  Show us the
>>contents of
>>
>>/tools/H-i686-pc-cygwin/lib/gcc-lib/powerpc-eabi/2.95.2/specs
>
>In attachment my specs file.
>
>(See attached file: specs)


  Aha.  The problem is that your specs file has DOS style CR-LF endings.
Gcc gets confused by this, it expects Unix style LF line ends.  Did you 
make a dos2unix script (as I suggested in an earlier email)?  If you run
that on the specs file

  dos2unix /tools/H-i686-pc-cygwin/lib/gcc-lib/powerpc-eabi/2.95.2/specs

it should solve your troubles.

        DaveK
-- 
 All your base are belong to us!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


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