public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mark Butcher <M_J_BUTCHER@compuserve.com>
To: "INTERNET:huntbs@lycos.com" <huntbs@lycos.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: Cross compiler won't build
Date: Fri, 07 Jun 2002 07:47:00 -0000	[thread overview]
Message-ID: <200206071045_MC3-1-147-9328@compuserve.com> (raw)

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


             reply	other threads:[~2002-06-07 14:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-07  7:47 Mark Butcher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-07 12:55 Mark Butcher
2002-06-07 11:56 Mark Butcher
2002-06-07  9:10 Brett Hunt
2002-06-05 16:06 Mark Butcher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200206071045_MC3-1-147-9328@compuserve.com \
    --to=m_j_butcher@compuserve.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=huntbs@lycos.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).