From: Jongware on
On 01-Jul-10 15:34 PM, Richard Heathfield wrote:
> Jongware wrote:
>> On 01-Jul-10 6:43 AM, Fred Nurk wrote:
>>> Are you as puzzled as I am, trying to complete question 6 as part of
>>> holiday homework?
>>>
>>> http://sites.google.com/site/xtheunknown0/information-technology
>>
>> Not at all.
>>
>> A hint is given in one of the other questions.
>
> All joking aside, the presence of the source code is rather important if
> you want to use a compiler /as/ a compiler. The whole point of a
> compiler is to translate code from one language into another language.
> The presence of the code is intrinsic to this process.
>
> I'm not sure what you're getting at with your "hint is given..." statement.

Ah, apparently I'm /so/ used to having my linker and compiler in one
single executable. I thought of object files -- no source, just linkable
files and the odd library (his Q#2). On afterthought this falls under
"when creating a program" (i.e., linking) rather than plain "when using
a compiler".

Does "gcc --help" still count?

[Jw]
From: Pascal J. Bourguignon on
August Karlstrom <fusionfile(a)gmail.com> writes:

> On 2010-07-01 06:43, Fred Nurk wrote:
>> Are you as puzzled as I am, trying to complete question 6 as part of
>> holiday homework?
>>
>> http://sites.google.com/site/xtheunknown0/information-technology
>
> Makes sense if "the source code" refers to the source code for the
> compiler as opposed to the source code that the compiler translates.

The question is very badly formulated. IMO, the person who's asking,
is thinking about the source code of the program being compiled, and
whether it is needed after the compilation, to execute that compiled
program. What makes me think that is the mention of interpreters and
scripting languages in the other questions.

I think he wanted to ask:

Provide a reason why the source code of a program is not needed
after the compilation, when executing that program.


--
__Pascal Bourguignon__ http://www.informatimago.com/
From: Fred Nurk on
Pascal J. Bourguignon wrote:
> <snip>
> I think he wanted to ask:
>
> Provide a reason why the source code of a program is not needed
> after the compilation, when executing that program.

Thanks, that actually makes sense now.