Re: next problem
Re: next problem
- Subject: Re: next problem
- From: Jeffrey Oleander <email@hidden>
- Date: Wed, 20 Jun 2007 12:36:05 -0700 (PDT)
> Peter O'Gorman <email@hidden> wrote:
>> On Wed, 2007-06-20 at 11:58 -0700, Jeffrey Oleander
wrote:
>>> Stefan Werner <email@hidden> wrote:
>>>> On 20.06.2007, at 01:26, Chris Espinosa wrote:
>>>> You can first curse the C++ gods for a) deciding
>>>> that C++ headers don't deserve extensions and
>>>> b) naming them the same as binaries.
>>> No, we just curse the gods that made us use
>>> extensions to begin with ;)
>> Yes! Ran into this the first time I tried to compile
>> on a UNIX system and thought it was nuts, then.
>> "Whatta ya mean you won't compile a file named
>> fred or fred.george!?
> You can compile fred, but the compiler does not know
> and can not guess what langauge fred was written in,
> so you have to tell it.
Exactly. I much prefer saying
C compiler, compile this
C++ compiler, compile that
Fortran compiler, compile these
Objective-C compiler, compile this other stuff
link editor, take this and that and build a library
link editor, take this other stuff and if you need any
additional code look in this library first, then that
library, then some other library...
loader, read in the base stub from that object file and
start executing, I'll get back with you if I need anything
else.
In ye ancient days that might be
cc -i this
cpp -i that
run23,s,,,these,list,obj1
objc,otherstuff,list,obj2
linkedit,i=this/that,l=list,o=library1.
linkedit,i=otherstuff,il=library1/library2/library3,o=obj9.
obj9.
The loader didn't care about extensions, either. Whatever
name you gave it, it would try to load and execute.
(Except, of course, C being a UNIX critter, it always
demanded extensions and separate header files in
directories rather than single files.)
But, since it's convenient to have a multi-purpose compiler
that shares various capabilities over different source
language syntaxes, etc., it's convenient to use suffixes to
tell it which syntax it's to try to parse. Meta-data would
do just as well, and it's a PITA, but it's just one more of
those aggravating evolutionary turns that we've got to live
with. The goal is to decrease the inconvenience to us as
much as possible, and Xcode helps do some of that, and
sloooowwwwwwwwwwwly it's getting there.
____________________________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden