i686-pc-cygwin to mips64orion-elf cross compiler
Jeff Domogala
domogala@bit-net.com
Fri Sep 22 13:12:00 GMT 2000
Folks,
I took Kai's advice and did a make install after the crt0.o issue just to
try and compile and assemble a test file. I made a simple c file to test
the compiler and assembler:
void test(void)
{
int a;
float b = 2.0;
a=6+2;
b=a;
return;
}
I executed the following:
gcc -mcpu=R4650 -g -O0 -EB -c -v test.c
and got the following output from gcc:
Reading specs from /gcc-mips/lib/gcc-lib/mips64orion-elf/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/gcc-mips/lib/gcc-lib/mips64orion-elf/2.95.2/cpp.exe -lang-c -v -D__GNUC__=2
-D__GNUC_MINOR__=95 -Dmips -DMIPSEB -DR4000 -D_mips -D_MIPSEB -D_R4000 -D__
mips__-D__MIPSEB__ -D__R4000__ -D___mips__ -D_MIPSEB -D_R4000 -D__mips -D__M
IPSEB -D__R4000 -D___mips -g -D__LANGUAGE_C -D_LANGUAGE_C -DLANGUAGE_C -UMIP
SEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ -DMI
PSEB test.c /cygdrive/c/TEMP/ccyPn21v.i
GNU CPP version 2.95.2 19991024 (release) [AL 1.1, MM 40] BSD Mips
#include "..." search starts here:
#include <...> search starts here:
/gcc-mips/lib/gcc-lib/mips64orion-elf/2.95.2/include
/gcc-mips/lib/gcc-lib/mips64orion-elf/2.95.2/../../../../mips64orion-elf/inc
lude
End of search list.
The following default directories have been omitted from the search path:
/gcc-mips/lib/gcc-lib/mips64orion-elf/2.95.2/../../../../include/g++-3
/gcc-mips/lib/gcc-lib/mips64orion-elf/2.95.2/../../../../mips64orion-elf/sys
-include
End of omitted list.
/gcc-mips/lib/gcc-lib/mips64orion-elf/2.95.2/cc1.exe
/cygdrive/c/TEMP/ccyPn21v.i -meb -quiet -dumpbase
test.c -mcpu=R4650 -g -O0 -version -o /cygdrive/c/TEMP/ccWkKnrZ.s
GNU C version 2.95.2 19991024 (release) (mips64orion-elf) compiled by GNU C
version 2.95.2 19991024 (release-2).
/gcc-mips/mips64orion-elf/bin/as.exe
Assembler messages:
for reading.open
: No such file or directory
jdomogala@JDOMOGALA2 ~
$
If I do the following sequence of commands:
gcc -mcpu=R4650 -g -O0 -EB -S test.c
as -mcpu=R4650 -g -O0 -EB -o test.o test.s
I get no errors at all. It appears that gcc is not passing any of the
arguments to as from gcc. Can anyone help?
Thanks,
Jeff
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list