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]
Other format: [Raw text]

Problem about Assemble message:Assembler messages,for reading open,No such file or directory


hi folks,
	I installed cygwin on windows2000,then compiled a cross-gcc(gcc2.95.2,binutils2.14) for cross-development,whose 

target is i386-wrs-vxworks,prefix /cygwindrive/d/cygwin/home/wlz/cyggnutool.The installation and the using of cross-gcc goes 

smoothly.
	When I copyed gnutool to another windows directory D:\gnutool,I meet a CR-LF problem as much as I know.The steps and 

error goes as follows:
	1. Open a MS-DOS window.
	2. Use cross-gcc to compile a helloworld.c under MS-DOS.The command line is "
i386-wrs-vxworks-gcc -BD:\gnutool\lib\gcc-lib\ -BD:\gnutool\i386-wrs-vxworks\bin\ -DCPU=I80386 -I- 

-ID:\gnutool\i386-wrs-vxworks\inlcude-ID:\gnutool\i386-wrs-vxworks\sys-include 

-LD:\gnutool\lib\gcc-lib\i386-wrs-vxworks\2.95.2 -LD:\gnutool\i386-wrs-vxworks\lib hello.c -v"
The command line gives cross-gcc -B -I -L prefixs to let it omit search the original setup directory.
	3.The error happens:
"Assembler messages:
 for reading open
: No such file or directory"
	4.I don't give cross-gcc -B -I -L prefixs to let it search the original setup directory for include,lib,subprogram 

files and it runes rignt.
	Is my problem a CR-LF problem? How can i solve it and work in a MS-DOS window? Thank you.



          The detail error information:
	"D:\gnutool\bin>i386-wrs-vxworks-gcc -BD:\gnutool\lib\gcc-lib\ -BD:\gnutool\i386
-wrs-vxworks\bin\ -DCPU=I80386 -I- -ID:\gnutool\i386-wrs-vxworks\inlcude -ID:\g
nutool\i386-wrs-vxworks\sys-include -LD:\gnutool\lib\gcc-lib\i386-wrs-vxworks\2
.95.2 -LD:\gnutool\i386-wrs-vxworks\lib hello.c -v
Reading specs from D:/gnutool/lib/gcc-lib/i386-wrs-vxworks/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 D:/gnutool/lib/gcc-lib/i386-wrs-vxworks/2.95.2/cpp.exe -lang-c -v -I- -ID:\gnu
tool\i386-wrs-vxworks\inlcude -ID:\gnutool\i386-wrs-vxworks\sys-include -isyste
m D:/gnutool/i386-wrs-vxworks/bin/include -isystem D:/gnutool/lib/gcc-lib/inclu
de -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__vxworks -D__i386__ -D__vxworks -D__i386
__ -DCPU=I80386 hello.c /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccgx2N64.i
GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 D:/gnutool/i386-wrs-vxworks/sys-include
 /cygdrive/d/cygwin/home/wlz/gnutooli386/lib/gcc-lib/i386-wrs-vxworks/2.95.2/in
clude
 /cygdrive/d/cygwin/home/wlz/gnutooli386/lib/gcc-lib/i386-wrs-vxworks/2.95.2/..
/../../../i386-wrs-vxworks/sys-include
 /cygdrive/d/cygwin/home/wlz/gnutooli386/lib/gcc-lib/i386-wrs-vxworks/2.95.2/..
/../../../i386-wrs-vxworks/include
End of search list.
The following default directories have been omitted from the search path:
 /cygdrive/d/cygwin/home/wlz/gnutooli386/lib/gcc-lib/i386-wrs-vxworks/2.95.2/..
/../../../include/g++-3
End of omitted list.
 D:/gnutool/lib/gcc-lib/i386-wrs-vxworks/2.95.2/cc1.exe /cygdrive/c/DOCUME~1/AD
MINI~1/LOCALS~1/Temp/ccgx2N64.i -quiet -dumpbase hello.c -version -o /cygdrive/
c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cceCbEH8.s
GNU C version 2.95.2 19991024 (release) (i386-wrs-vxworks) compiled by GNU C ve
rsion 3.2 20020927 (prerelease).
 D:/gnutool/i386-wrs-vxworks/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@sources.redhat.com


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