This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help with gcc partial link (option -ar)


On 02/22/2011 08:56 AM, horseloverFat wrote:
I am trying to use the option -ar, as was originally used on the irix
machine.
trying the following command:
gcc -ar -o outcome.a file1.o file2.o
Does anyone know what i'm doing wrong here?

use "ar" directly: ar cr outcome.a file1.o file2.o gnu ar is in the binutils package.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]