public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: bjorn rohde jensen <bjensen@fastmail.fm>
To: Jarmo <modem626@kymp.net>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Link problems
Date: Thu, 08 Aug 2002 06:45:00 -0000	[thread overview]
Message-ID: <3D5275F7.43A7E06A@fastmail.fm> (raw)
In-Reply-To: <200208081624.26563.modem626@kymp.net>

Hi Jarmo,

 You can not in general crosslink object code generated by
different compilers. You should use one and only one
compiler to create an application. One does usually not
have to rebuild the system C libraries, but C++ libs etc
definitely should be.
 The unresolved symbols are probably due to different
name mangling schemes employed by gcc-2.96, which is not
actually an official gcc release, and gcc-3.0.4. This is
done to protect users from linking incompatible object
files to create applications with spectacularly odd behaviour,
such as random core dumps despite code correctness and so on.

Yours sincerely,

Bjorn

  reply	other threads:[~2002-08-08 13:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-08  6:20 Jarmo
2002-08-08  6:45 ` bjorn rohde jensen [this message]
2002-08-08  9:08   ` Oscar Fuentes
2002-08-08  9:39     ` bjorn rohde jensen

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=3D5275F7.43A7E06A@fastmail.fm \
    --to=bjensen@fastmail.fm \
    --cc=gcc-help@gcc.gnu.org \
    --cc=modem626@kymp.net \
    /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).