473,322 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How to make a library

Hello I have a question, if I have several .o files.
How can I combine those libraries together and make a library?

Thank you very much!

Dec 13 '05 #1
4 1509

<po***********@gmail.com> wrote
Hello I have a question, if I have several .o files.
How can I combine those libraries together and make a library?

Thank you very much!

It's platform specific.
If you are on UNIX, look up the gcc options.
If you are on Windows, look up the "create new project" options for the
Microsoft compiler.
Dec 13 '05 #2
po***********@gmail.com a écrit :
Hello I have a question, if I have several .o files.
How can I combine those libraries together and make a library?

Not a C-language question.

<OT>
Using a librarian. It's a utility that comes with your development
environment. (with GCC, it's called 'ar', meaning 'Archive').
</>

--
A+

Emmanuel Delahaye
Dec 13 '05 #3
po***********@gmail.com wrote:

Hello I have a question, if I have several .o files.
How can I combine those libraries together and make a library?


This is outside of C's realm, and it varies based on O/S and compiler/linker
being used.

<OT>
Given your use of ".o" makes me think you're on a Unix-type system, so you
can probably get your answer with the command "man ar".

If you need more help, you'll need to ask in a group that supports your
particular O/S and/or compiler/linker.
</OT>

--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:Th*************@gmail.com>

Dec 13 '05 #4
On Tue, 13 Dec 2005 12:21:55 -0800, poison.summer wrote:
Hello I have a question, if I have several .o files.
How can I combine those libraries together and make a library?

Thank you very much!


First off, this is off topic in this newsgroup, as you could have read in
the FAQ.

Second, how to make a library, depends on your OS and toolchain.

So:
1. Read the documentation supplied with your toolchain (RTFM, for short).
2. If you have questions after that, find a newsgroup which is pertinent
to your OS/toolchain.
3. Provide some more details, since crystall balls are in short supply.

Regards,

Kleuske.
Dec 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Simon | last post by:
Hi all, I'm hoping that someone could help with the following general question: I'm making a website that manages beta releases of software. It does various things like store bugs, comments,...
1
by: jitendar.rawat | last post by:
Hi, I am trying to create a library and want its user to define a function in their executable if that library is linked. some thing like, if some uses my library and haven't defined a function...
1
by: pnr | last post by:
I am makeing a system where every user have there ovn menu, they can chose between about 20 different sides they want in there menu. Eache side contains that menu, the user logs in with username...
1
by: MailYouLike | last post by:
Hi ! i need some help and advice i am using asp.net to make a email application it is complete but just one thing , i want to create a pop account at the mail server from my scripts is...
7
by: Steven Bethard | last post by:
I've updated PEP 359 with a bunch of the recent suggestions. The patch is available at: http://bugs.python.org/1472459 and I've pasted the full text below. I've tried to be more explicit about...
4
by: Chris F Clark | last post by:
Please excuse the length of this post, I am unfortunately long-winded, and don't know how to make my postings more brief. I have a C++ class library (and application generator, called Yacc++(r)...
1
by: SemSem | last post by:
iwant to know if there any way to make awell design forms as ithink .net can offered to me good design tools ineed to kow how idsign an asp well design site and if there techneques are used in...
7
by: John Harrison | last post by:
This is from SGI's FAQ, its the justification for why list<T>::size() is linear time in their library (and in gcc library too since their code is based on SGI) <quote> Why is list<>::size()...
3
by: skneife | last post by:
it seems that it is not possible to make a project Reference from a project class library to a website in the same solution, because the website doesn't contains any assembly (dll). So, if in the...
5
by: puneetsardana88 | last post by:
Hi I tried to make a library using code blocks. For which I went file->new->project->static library and name it as mylib and then i created a file mylib1.c and mylib1.h (with some sample functions...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.