POV-Ray : Newsgroups : povray.off-topic : Unix shell : Re: Unix shell Server Time
3 Sep 2024 23:26:42 EDT (-0400)
  Re: Unix shell  
From: Darren New
Date: 31 Jan 2011 18:02:00
Message: <4d473f68$1@news.povray.org>
Warp wrote:
> Darren New <dne### [at] sanrrcom> wrote:
>> Warp wrote:
>>>> No. The programming language is such that it is impossible to figure out by 
>>>> looking at the source code what the dependencies are on other source code. 
>>>   If that were true, then it would be impossible to compile the program.
>>> After all, it's impossible for the compiler to figure out which files are
>>> being included just by looking at the source code.
>>>
>>>   I suppose compilers do it by magic, then.
> 
>> Here are three C source files. Please compile them and tell me what it 
>> prints. Or do you think this code is impossible to compile? Or do you admit 
>> that it's impossible to figure out by looking at the source code what the 
>> dependencies are on other source code?
> 
>   So essentially you want the compiler to know what to compile without
> you specifying what to compile.

Nope. I specified that you want to compile "main".

Look at my statement: "It's impossible to figure out from the source code 
what other source files it depends on."

You're intentionally misinterpreting exactly what I'm saying, which is why I 
put a *trivial* example in a separate post. You're standing here agreeing 
that it's impossible to look at the source code and tell what depends on 
what, because there's not enough information in the source code to determine 
that. And now you're mocking me for pointing it out, in spite of the fact 
that other systems don't seem to have this problem, because other systems 
don't have bits and pieces of library source code compiled as part of the 
process of compiling your own source code.

-- 
Darren New, San Diego CA, USA (PST)
  "How did he die?"   "He got shot in the hand."
     "That was fatal?"
          "He was holding a live grenade at the time."


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.