[comp.sys.atari.st] gcc-ar woes

es2a+@andrew.cmu.edu (Eric Stuyvesant) (03/17/91)

    I just recently got my 4 Mb system, and I just tried gcc-ar for the
first time.  It doesn't seem to work.  With everything in the right
place, the following occurs:

% ar r libab.olb abcd.o
Creating archive file `libab.olb'
ar: access denied for libab.ol$
cmd exit code 1
%

... and a very small file named libab.olb is created.  A file named
libab.ol$ which is a few bytes larger than abcd.o is also created.

    The version of gcc-ar I am using is the one that's in the bin.zoo
from terminator (gcc-1.37).

Any help is appreciated.

-Eric Stuyvesant
es2a+@andrew.cmu.edu || es2a%andrew@CMCCVB || JNET%"es2a%andrew@CMCCVB"
al782@cleveland.Freenet.Edu
Wanna buy brand new Lynx games: Blue Lghtng, Slime World, Zendocon for $22ea?
Go MEMS!

david@doe.utoronto.ca (David Megginson) (03/18/91)

In <IbshhLu00VADIIZ2Ev@andrew.cmu.edu>, Eric Stuyvesant writes:
> 
>     I just recently got my 4 Mb system, and I just tried gcc-ar for the
> first time.  It doesn't seem to work.  With everything in the right
> place, the following occurs:
> 
> % ar r libab.olb abcd.o
> Creating archive file `libab.olb'
> ar: access denied for libab.ol$
> cmd exit code 1
> %
> 
> ... and a very small file named libab.olb is created.  A file named
> libab.ol$ which is a few bytes larger than abcd.o is also created.
> 
>     The version of gcc-ar I am using is the one that's in the bin.zoo
> from terminator (gcc-1.37).
> 
> Any help is appreciated.
> 

libab.ol$ is, actually, what you are looking for. I had the same problem
with gcc-ar until I recompiled it with Eric Smith's MiNT library (the
panacea for program woes). Just rename libab.ol$ to libab.olb and you'll
have your archive.

David

-- 
////////////////////////////////////////////////////////////////////////
/  David Megginson                      david@doe.utoronto.ca          /
/  Centre for Medieval Studies          meggin@vm.epas.utoronto.ca     /
////////////////////////////////////////////////////////////////////////