ar script and bison errors

Nick Burrett nick at dsvr.net
Sun Feb 24 02:46:41 PST 2002


Theo Markettos <atm26 at cam.ac.uk> writes:

> Lots of packages out there seem to call ar directly.  While libfile will
> do the job, it's not a direct alias as the options are different.  Has
> anyone written a script to convert ar to libfile options?  I've written
> the attached Basic program, which will do the job using Brandy, but
> something more portable (in shell or perl) is probably better -
> unfortunately I don't know enough of either of those to do it properly.
> 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.

I'll try to resurrect it.
 

Nick.



More information about the gcc mailing list