public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Cross compiler for mcore
@ 2000-10-31  4:05 João Cadamuro Junior
  0 siblings, 0 replies; only message in thread
From: João Cadamuro Junior @ 2000-10-31  4:05 UTC (permalink / raw)
  To: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2405 bytes --]

Hello,

I'm looking for help in building a cross compiler for mcore under
cygwin-1.1.4 . I'm a subscriber of cross-gcc mailing list, but I cannot
find a solution or help there. So, maybe someone can help me here...

I receive the announce of the GCC port to M*Core in February. Then in
the current mounth I need a cross compiler for M*Core and I download
different gcc snapshots in a way to build the cross compiler for the
target mcore-elf. I think gcc-20000221 snapshot is the best way to do
this, but I tried with other snapshots too. In all cases it was
impossible to build a working compiler with libraries.

I'm using binutils-2.10 and newlib-1.8.2 headers in the task.

As an example of the problem, when I try to compile gcc-20000221 for a
target mcore-elf I get the following failure in the end of the process,
when building libstdc++ (file stdexcepti.cc) :

make[2]: Leaving directory `/tmp/build-mcore/gcc/mcore-elf/libio'
test x"no" != xyes || \
  /tmp/build-mcore/gcc/gcc/g++ -B/tmp/build-mcore/gcc/gcc/
-B/mcoretools/mcore-elf/bin/ -c -g -O2 -fno-implicit-templates
-I/src/gcc-snap/egcs-20000221/libstdc++
-I/src/gcc-snap/egcs-20000221/libstdc++/stl -I../libio
-I/src/gcc-snap/egcs-20000221/libstdc++/../libio -nostdinc++
/src/gcc-snap/egcs-20000221/libstdc++/stdexcepti.cc -o pic/stdexcepti.o
/tmp/build-mcore/gcc/gcc/g++ -B/tmp/build-mcore/gcc/gcc/
-B/mcoretools/mcore-elf/bin/ -c -g -O2 -fno-implicit-templates
-I/src/gcc-snap/egcs-20000221/libstdc++
-I/src/gcc-snap/egcs-20000221/libstdc++/stl -I../libio
-I/src/gcc-snap/egcs-20000221/libstdc++/../libio -nostdinc++
/src/gcc-snap/egcs-20000221/libstdc++/stdexcepti.cc
/src/gcc-snap/egcs-20000221/libstdc++/stdexcepti.cc: In function `void
__out_of_range (const char *)':
/src/gcc-snap/egcs-20000221/libstdc++/stdexcepti.cc:15: exception
handling disabled, use -fexceptions
/src/gcc-snap/egcs-20000221/libstdc++/stdexcepti.cc:15: to enable
make[1]: *** [stdexcepti.o] Error 1
make[1]: Leaving directory `/tmp/build-mcore/gcc/mcore-elf/libstdc++'
make: *** [all-target-libstdc++] Error 2
make: Leaving directory `/tmp/build-mcore/gcc'

Of course I tried to use the option "-fexceptions" in the compilation
process of this file, but in this case I get the message "invalid
option" as a mcore-elf-g++ response.


Is it possible to someone to give me help in this question?

Thanks in advance,

João Cadamuro Junior
LIT / CPDTT / CEFET-PR

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-10-31  4:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-31  4:05 Cross compiler for mcore João Cadamuro Junior

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).