[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem about Assemble message:for reading open, No such file or directo

Subject: Problem about Assemble message:for reading open, No such file or directory
Date: Mon, 08 Mar 2004 13:43:45 +0800

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 right. 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:






End of search list.
The following default directories have been omitted from the search path:


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/
GNU C version 2.95.2 19991024 (release) (i386-wrs-vxworks) compiled by GNU C ve
rsion 3.2 20020927 (prerelease).
Assembler messages:
for reading open
: No such file or directory

享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]