ar script and bison errors
nick at dsvr.net
Sun Feb 24 08:58:36 PST 2002
Peter Naulls <peter at chocky.org> writes:
> In message <m3zo1zqhri.fsf at nick.ws.noc.dsvr.net>
> Nick Burrett <nick at dsvr.net> wrote:
> > Theo Markettos <atm26 at cam.ac.uk> writes:
> > > I've attached the above in case it's of use to anyone, or someone has
> > > something better.
> > A long long time ago I wrote a patch for Libfile to have an `Ar' class
> > that emulated the command line options of `ar'. I did this so that we
> > could build a RISC OS GCC direct from an official GCC build environment.
> By the same token, it would be nice if Drlink could understand the Unix
> archive format.
I'm not convinced we need this because our userland tools create
and work with ALF and AOF files. If we want Unix archive support then
perhaps we should be using ELF objects.
> Additionally, I'd like to resuggest a patch of Alex's from sometime ago
> below. I've been using this for quite some time, and I think the
> hassles of not having it are far more than any perceieved confusion
> about filetype naming.
> Below is a patch for LD so that it searches for lib<name>.a before it
> looks for lib<name>.o, if -l<name> is specified.
I still don't understand the merits of this patch, apart from perhaps
in a Unix environment.
More information about the gcc