delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/26/14:52:46

Date: Fri, 26 Dec 1997 11:52:21 -0800 (PST)
Message-Id: <199712261952.LAA12151@adit.ap.net>
Mime-Version: 1.0
To: Joshua Heyer <jheyer AT geocities DOT com DOT NO DOT SPAM>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: ar -- concatonating?

At 11:36  12/24/1997 -0600, Joshua Heyer wrote:
>I was fooling around with the 'ar' program today, I was wondering --
>is there a way to concatenate libraries without using the scriping mode
>of 'ar'?  It's not that much trouble really, but it would be nice to do
>it all in one command line.
>Thanks!
Yes, of course. See the info node "Binutils" "ar" "ar cmdline". I usually do
something like this:
ar rcs libfoo.a foo1.o foo2.o ...

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019