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

See the CrossGCC FAQ for lots more information.


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

RE: uClinux/arm-elf-linux




  BINGO!!!   

  1)  Let the build go until it crashes

  2)  Find the specs file that has been generated in your *BUILD* dir.

  3)  dos2unix it.


    I'll eat my hat if that doesn't fix it.[*]

       DaveK
-- 
 All your base are belong to us!

[*]This offer void where prohibited by law.
 

>-----Original Message-----
>From: John Andrews [mailto:john@triscend.com]
>Sent: 25 March 2001 20:35
>To: crossgcc (E-mail)
>Subject: RE: uClinux/arm-elf-linux
>
>
>
>I'm sure of the assembler not getting an input file now.
>
>If I run the assembler with a filename of a nonexistent file: 
>nofile, the
>error output is as follows:
>
>$ /usr/local/arm-elf/bin/as.exe nofile
>Assembler messages:
>Error: Can't open nofile for reading.
>nofile: No such file or directory
>
>Now if you look at were nofile is listed in the error message:
>
>Error: Can't open nofile for reading.
>
>Replace it with a CR that starts the rest of the text at the 
>beginning of
>the line, and you get:
>
> for reading.open
>
>Then eliminating nofile in the No such file message gives:
>
>Assembler messages:
> for reading.open
>: No such file or directory
>
>Which is exactly what's coming out of the assembler when its 
>involked by
>gcc.
>
>I fear I'm about to be reprimanded again for trying to use 
>cygwin. Maybe I
>should post this to the cygwin list. It might be worth a post to the
>binutils list too, since it seems this error could use some 
>explicit testing
>or handling.
>
>Thanks Again for any suggestions that might lead me out of 
>this. (and I am
>trying to get a suitable GNU/Linux development platform setup 
>here, I don't
>think my old '486 will do)
>
>John E. A.
>
>-----Original Message-----
>From: John Andrews [mailto:john@triscend.com]
>Sent: Saturday, March 24, 2001 10:25 PM
>To: crossgcc (E-mail)
>Subject: RE: uClinux/arm-elf-linux
>
>
>
>Thanks for the paragraphs Bill!
>
>I hope you write that book, lay claim to your O'Reilly animal 
>now, they're
>going fast 8-)
>
>I've got an arm-elf-gcc, built with newlib.
>
>When I try to build uClibc or newlib with it I get the 
>reading.open error.
>So I made a simple test.c and ran the cross compiler on it:
>
>arm-elf-gcc -save-temps -v test.c -o arm-elf-test
>
>This results in the same error (see below).
>
>If I run: /usr/local/arm-elf/bin/as.exe test.s
>
>On the saved test.s file it assembles successfully.
>
>It seems for some reason the file isn't being passed to the 
>assembler, it's
>just getting a blank argument list. Its the same when the 
>files are created
>in the TEMP directory or when -save-temps is specified.
>
>I'm still beggin' for clues. Thanx for all the help!!!
>
>John E. A.
>
>---arm-elf-gcc error output---
>
>$ arm-elf-gcc -save-temps -v test.c -o arm-elf-test
>Reading specs from /usr/local/lib/gcc-lib/arm-elf/2.95.2/specs
>gcc version 2.95.2 19991024 (release)
> /usr/local/lib/gcc-lib/arm-elf/2.95.2/cpp.exe -lang-c -v -D__GNUC__=2
>-D__GNUC_
>MINOR__=95 -Darm -Darm_elf -D__ELF__ -D__arm__ -D__arm_elf__ -D__ELF__
>-D__arm -
>D__arm_elf -Acpu(arm) -Amachine(arm) -D__CHAR_UNSIGNED__ test.c test.i
>GNU CPP version 2.95.2 19991024 (release) (ARM/ELF non-Linux)
>#include "..." search starts here:
>#include <...> search starts here:
> /usr/local/lib/gcc-lib/arm-elf/2.95.2/include
> /usr/local/lib/gcc-lib/arm-elf/2.95.2/../../../../arm-elf/include
>End of search list.
>The following default directories have been omitted from the 
>search path:
> /usr/local/lib/gcc-lib/arm-elf/2.95.2/../../../../include/g++-
> /usr/local/lib/gcc-lib/arm-elf/2.95.2/../../../../arm-elf/sys-include
>End of omitted list.
> /usr/local/lib/gcc-lib/arm-elf/2.95.2/cc1.exe test.i -quiet -dumpbase
>test.c -v
>ersion -o test.s
>GNU C version 2.95.2 19991024 (release) (arm-elf) compiled by 
>GNU C version
>2.95
>.2-6 19991024 (cygwin experimental).
> /usr/local/arm-elf/bin/as.exe
>Assembler messages:
> for reading.open
>: No such file or directory
>
>
>------
>Want more information?  See the CrossGCC FAQ, 
>http://www.objsw.com/CrossGCC/
>Want to unsubscribe? Send a 
>note to
>crossgcc-unsubscribe@sourceware.cygnus.com
>
>------
>Want more information?  See the CrossGCC FAQ, 
>http://www.objsw.com/CrossGCC/
>Want to unsubscribe? Send a 
>note to crossgcc-unsubscribe@sourceware.cygnus.com
>


**********************************************************************
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
**********************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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