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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux