Cross compiler won't build
Mark Butcher
M_J_BUTCHER@compuserve.com
Fri Jun 7 07:47:00 GMT 2002
Thanks Brett
That was a great tip.
I cleaned up my installation and followed the instruction (except for the
bit about Linux). After downloading and building the latest binutils
version for the target (Mcore) the assembler worked and believe the
compiler and some libraries where successfully built (worked for about 2
hours).
The build didn't work completely though and aborted with an error while
configuring for
>>Configuring in mcore-elf/libstdc++-v3
>>..
>>checking for exception model to use... configure: error: unable to detect
exception model
>>make: *** [configure-target-libstdc++-v3] Error 1
It am very sure that this error is not caused by me doing something wrong
because the instructions are very good - probably the first ones I have
really understood, with details of exactly what should be entered (typed
in) and not just instructions which require some more detailed knowledge of
the environment before being able to follow them.
Although there was an error I continued with the install, which didn't seem
to compain, after which I have "mcore-elf-gcc.exe" in my bin directory.
This seems to run but probably the linker doesn't - it gives an error "ld:
cannot open crt0.o: No such file or directory" Probably this is not the
target linker because there is no such file in the mcore library (I find it
in cygwin/lib). I assume the standard linker is being called since the
linker never got built / installed correctly.
You said you are also new to all this. Have you had success in building ?
Any ideas how to best continue ? I wonder whether the Mcore works with the
lastes version - I have not been able to find a test report about it
anywhere.
Cheers
Mark
More information about the Gcc-help
mailing list