|  | static libirary |  | |
| | | raashid bhatt |  |
| Posted: Sat Sep 06, 2008 12:15 pm Post subject: static libirary |  |
does any body here knows how to create a static link libirary (.a) file in linux using GCC |
| |
| | | Richard Heathfield |  |
| Posted: Sat Sep 06, 2008 12:15 pm Post subject: Re: static libirary |  |
raashid bhatt said:
| Quote: | does any body here knows how to create a static link libirary (.a) file in linux using GCC
|
Search terms: gcc create static library
Altavista second hit, Lycos second hit: LINK
Excite first hit, Google first hit, Yahoo! second hit: LINK
Google Groups second hit: gnu.gcc.help
-- Richard Heathfield <http://www.cpax.org.uk> Email: -http://www. +rjh@ Google users: <http://www.cpax.org.uk/prg/writings/googly.php> "Usenet is a strange place" - dmr 29 July 1999 |
| |
| | | Ben Bacarisse |  |
| Posted: Sat Sep 06, 2008 12:15 pm Post subject: Re: static libirary |  |
raashid bhatt <raashidbhatt@gmail.com> writes:
| Quote: | does any body here knows how to create a static link libirary (.a) file in linux using GCC
|
You've been directed to <news:gnu.gcc.help> but you will probably get an answer faster in <news:comp.unix.programmer>. The gcc group is more directed to the compiler itself and making a library uses other tools which, though part of the gcc "tool chain", are really general Unix/Linux tools.
-- Ben. |
| |
| | | Richar |  |
| Posted: Sat Sep 06, 2008 12:35 pm Post subject: Re: static libirary |  |
vippstar@gmail.com writes:
| Quote: | On Sep 6, 3:15 pm, raashid bhatt <raashidbh...@gmail.com> wrote: does any body here knows how to create a static link libirary (.a) file in linux using GCC offtopic yes. /offtopic Your question is off-topic. Try <news:gnu.gcc.help
|
How can it be off topic when C programmers using all sorts of platforms contribute here? I can think of no better place to get a "generic" answer more likely to lead to portable makefiles.
As indeed he did.
And putting <offtopic> in a 4 line reply is childish to the extreme. |
| |
| | | Guest |  |
| Posted: Sat Sep 06, 2008 12:37 pm Post subject: Re: static libirary |  |
On Sep 6, 3:15 pm, raashid bhatt <raashidbh...@gmail.com> wrote:
| Quote: | does any body here knows how to create a static link libirary (.a) file in linux using GCC offtopic |
yes. </offtopic> Your question is off-topic. Try <news:gnu.gcc.help> |
| |
| | | Antoninus Twink |  |
| Posted: Sat Sep 06, 2008 1:07 pm Post subject: Re: static libirary |  |
On 6 Sep 2008 at 12:15, raashid bhatt wrote:
| Quote: | does any body here knows how to create a static link libirary (.a) file in linux using GCC
|
It's as simple as putting something like
OBJECTS=feature1.o feature2.o feature3.o libfoo.a($(OBJECTS)) : $(OBJECTS)
into your Makefile. Make's implicit rules will take care of everything. |
| |
| | | Richar |  |
| Posted: Sat Sep 06, 2008 1:33 pm Post subject: Re: static libirary |  |
| |  | |
gazelle@shell.xmission.com (Kenny McCormack) writes:
| Quote: | In article <g9u4hp$jt9$3@registered.motzarella.org>, Richard <rgrdev@gmail.com> wrote: vippstar@gmail.com writes:
On Sep 6, 3:15 pm, raashid bhatt <raashidbh...@gmail.com> wrote: does any body here knows how to create a static link libirary (.a) file in linux using GCC offtopic yes. /offtopic Your question is off-topic. Try <news:gnu.gcc.help
How can it be off topic when C programmers using all sorts of platforms contribute here? I can think of no better place to get a "generic" answer more likely to lead to portable makefiles.
As indeed he did.
And putting <offtopic> in a 4 line reply is childish to the extreme.
You expected anything else form vippstar?
BTW, I noticed some more obvious brown-nosing by vippy in another thread. One way to get in with the regs is to intentionally post something that is "wrong", then, when corrected by a regular, be oh-so-grateful for the correction. They love that sort of thing...
|
Yup. Already noted. I had vippstar tagged as a clc "reg" wannabe a while back as soon as he started with the "Mr" bit and saying "indeed" a bit too frequently. |
| |
| | | Kenny McCormack |  |
| Posted: Sat Sep 06, 2008 2:52 pm Post subject: Re: static libirary |  |
In article <g9u4hp$jt9$3@registered.motzarella.org>, Richard <rgrdev@gmail.com> wrote:
| Quote: | vippstar@gmail.com writes:
On Sep 6, 3:15 pm, raashid bhatt <raashidbh...@gmail.com> wrote: does any body here knows how to create a static link libirary (.a) file in linux using GCC offtopic yes. /offtopic Your question is off-topic. Try <news:gnu.gcc.help
How can it be off topic when C programmers using all sorts of platforms contribute here? I can think of no better place to get a "generic" answer more likely to lead to portable makefiles.
As indeed he did.
And putting <offtopic> in a 4 line reply is childish to the extreme.
|
You expected anything else form vippstar?
BTW, I noticed some more obvious brown-nosing by vippy in another thread. One way to get in with the regs is to intentionally post something that is "wrong", then, when corrected by a regular, be oh-so-grateful for the correction. They love that sort of thing... |
| |
| | | Kenny McCormack |  |
| Posted: Sat Sep 06, 2008 7:05 pm Post subject: Re: static libirary |  |
In article <87d4jhifi5.fsf@bsb.me.uk>, Ben Bacarisse <ben.usenet@bsb.me.uk> wrote:
| Quote: | raashid bhatt <raashidbhatt@gmail.com> writes:
does any body here knows how to create a static link libirary (.a) file in linux using GCC
You've been directed to <news:gnu.gcc.help> but you will probably get an answer faster in <news:comp.unix.programmer>. The gcc group is more directed to the compiler itself and making a library uses other tools which, though part of the gcc "tool chain", are really general Unix/Linux tools.
|
Actually, as the good Mr. Heathfield has pointed out, you will get the best and fastest answer just by doing a little googling. This sort of question is easier answered by "the web" than by "the Usenet". |
| |
| | | CBFalconer |  |
| Posted: Sat Sep 06, 2008 10:26 pm Post subject: Re: static libirary |  |
raashid bhatt wrote:
| Quote: | does any body here knows how to create a static link libirary (.a) file in linux using GCC
|
Yes.
-- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: <http://cbfalconer.home.att.net> Try the download section. |
| |
| Page 1 of 2 .:. Goto page 1, 2 Next | |
|
|