comp.lang.c
[Top] [All Lists]

Re: How do linkers work?

Subject: Re: How do linkers work?
From: Keith Thompson
Date: Wed, 26 Mar 2008 19:36:49 -0700
Newsgroups: comp.lang.c

jacob navia <jacob@xxxxxxxxxx> writes:
[...]
> Both gcc and MSVC linked a flawed program without any warning.
>
> That doesn't ring bells anywhere?

If you'd like to discuss the fact that the C standard's requirements
for translation phase 8 (linking) are so lax that they permit some
serious errors to remain undiagnosed, by all means do so.  Using the
behavior of particular implementations as examples of what the
standard allows would IMHO be fine in such a discussion.  I'd even
encourage you to start a new thread to discuss the issue.  (If it
veers into proposals for changes to the language requirements, it
might become more appropriate for comp.std.c; we can deal with that as
it happens.)

It would be appropriate here in comp.lang.c because it would be about
C.  It would not be about C++, or Fortran, or Ada, because those
languages have different rules about linking.

A general discussion of "How do linkers work?", on the other hand, *is
not about C*, and therefore does not belong in comp.lang.c.  This is
not comp.whatever-jacob-finds-interesting.

-- 
Keith Thompson (The_Other_Keith) <kst-u@xxxxxxx>
Nokia
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy