* Problem about Assemble message:Assembler messages,for reading open,No such file or directory
@ 2004-03-05 12:46 shanyecunfu888
0 siblings, 0 replies; only message in thread
From: shanyecunfu888 @ 2004-03-05 12:46 UTC (permalink / raw)
To: gcc-help; +Cc: info-gnu, crossgcc, cygwin
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
"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-05 12:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-05 12:46 Problem about Assemble message:Assembler messages,for reading open,No such file or directory shanyecunfu888
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).