Re: A89: Re: File API


[Prev][Next][Index][Thread]

Re: A89: Re: File API




true, but this is where the responsibility falls on the programmer to make
sure that such things don't happen, and to only include the files he needs.
perhaps a better way to do it  would be to have the ide run a preproc of its
own on the source, and check for directives such as:

// I_LIB math.a
// I_LIB stdlib.a

and such.
Then ignore my original idea.  Basically, this way the user just doesn't
have to go into some options menu for the compiler to add lib files, or
change the command line for the compiler.  The IDE would construct its own
command line from such directives.

--kaus


----- Original Message -----
From: "Zeljko Juric" <zjuric@utic.net.ba>
To: <assembly-89@lists.ticalc.org>
Sent: Thursday, May 25, 2000 12:21 PM
Subject: Re: A89: Re: File API


>
> > Rhere are ways to have the IDE intuitively decide which libraries to
use,
> > such as checking the header files, and if math.h is included, it can be
> > assumed that math.a wll be needed.
>
> But what if the user includes <all.h> ? To include for example all 100
> object files and to get 5K long program for "hello world" demo??? I am
> not too happy with such idea...
>
> Zeljko Juric
>




Follow-Ups: References: