Re: A89: Re: File API


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

Re: A89: Re: File API




While it is true that a IDE cannot intuitively know which object files would
be needed for linking, IDEs do allow the use of libraries in the form of
menus in which you can type in which libraries should be included in the
linking.  RHIDE does this, as well as Borland's IDE and Microsoft's.  Also,
there 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.  I know this can fall apart in certain
cases, but may be enough to assemble a rough list of libraries needed, which
then can be added to or cleaned up by the user.

--kaus

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


>
> Hi!
>
> > BTW:  What exactly are "libraries of object files?"  I'm sure I could
> make
> > it possible to use object file libraries with my IDE, don't you think?
>
> Libraries of object files are files (with extension .a) which are
> collections
> of a lot of object files archived in one file. Using a true GCC linker, it
> is
> possible to give such file as a parameter, for example
>
> GCC myprog.c library.a
>
> Then, the linker will link only these object files from library.a which
> contain symbols needed in the program. I am sorry, but this is not
possible
> to be implemented using IDE: there is no way to conclude which object
> files will be necessary for linking!
>
> Zeljko Juric
>
>




References: