Thread: Re: [Dev-C++] Creating a static library
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel G. <sp...@ho...> - 2003-04-08 07:02:28
|
Well someone asked me how (they are using VC++) so I guess it's along those lines in another compiler huh? The library...that's the .cpp files compiled isn't it? and you #include the header and then just call them, yes? Daniel >From: David Matthews <dem...@uw...> >To: "Daniel Glenfield" <sp...@ho...>, >dev...@li... >Subject: Re: [Dev-C++] Creating a static library >Date: Mon, 07 Apr 2003 14:32:37 -0400 > >New project, static library. Add the source files to the project, compile >as lib<yourname>.a drop the new .a library into your /lib/ directory. In >another project, go to linker options, add -l<yourname> and #include ><yourname>.h > >At 04:52 PM 07/04/2003 +0100, Daniel Glenfield wrote: > >How can I create a static library? > > > >Sorry if this is obvious, can't think today! > > > > > > > > > > > >_________________________________________________________________ > >It's fast, it's easy and it's free. Get MSN Messenger today! > >http://www.msn.co.uk/messenger > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: ValueWeb: > >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > >No other company gives more support or power for your dedicated server > >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > >_______________________________________________ > >Dev-cpp-users mailing list > >Dev...@li... > >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger |
|
From: David M. <dem...@uw...> - 2003-04-08 20:58:53
|
Well, I'm assuming that you mean the .a files are just a collection of .o files. That's not what they are, they have their own format. You can probably find out more on google. At 11:30 AM 08/04/2003 -0400, David Matthews wrote: >Well someone asked me how (they are using VC++) so I guess it's along those >lines in another compiler huh? > >The library...that's the .cpp files compiled isn't it? and you #include the >header and then just call them, yes? > >Daniel > > >>From: David Matthews <dem...@uw...> >>To: "Daniel Glenfield" <sp...@ho...>, >>dev...@li... >>Subject: Re: [Dev-C++] Creating a static library >>Date: Mon, 07 Apr 2003 14:32:37 -0400 >> >>New project, static library. Add the source files to the project, compile >>as lib<yourname>.a drop the new .a library into your /lib/ directory. In >>another project, go to linker options, add -l<yourname> and #include >><yourname>.h >> >>At 04:52 PM 07/04/2003 +0100, Daniel Glenfield wrote: >> >How can I create a static library? >> > >> >Sorry if this is obvious, can't think today! >> > >> > >> > >> > >> > >> >_________________________________________________________________ >> >It's fast, it's easy and it's free. Get MSN Messenger today! >> >http://www.msn.co.uk/messenger >> > >> > >> > >> >------------------------------------------------------- >> >This SF.net email is sponsored by: ValueWeb: >> >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >> >No other company gives more support or power for your dedicated server >> >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >> >_______________________________________________ >> >Dev-cpp-users mailing list >> >Dev...@li... >> >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >> >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> > > > >_________________________________________________________________ >Use MSN Messenger to send music and pics to your friends >http://www.msn.co.uk/messenger > > > |
|
From: Daniel G. <sp...@ho...> - 2003-04-09 10:06:35
|
Here's a link my friend sent me - guess I wasn't of much help lol! http://www.nps.navy.mil/cs/sullivan/CS3971/LibTutorial.html >From: David Matthews <dem...@uw...> >To: Daniel Glenfield <sp...@ho...>, >dev...@li... >Subject: Re: [Dev-C++] Creating a static library >Date: Tue, 08 Apr 2003 14:14:03 -0400 > >Well, I'm assuming that you mean the .a files are just a collection of .o >files. That's not what they are, they have their own format. You can >probably find out more on google. > >At 11:30 AM 08/04/2003 -0400, David Matthews wrote: > >Well someone asked me how (they are using VC++) so I guess it's along >those > >lines in another compiler huh? > > > >The library...that's the .cpp files compiled isn't it? and you #include >the > >header and then just call them, yes? > > > >Daniel > > > > > >>From: David Matthews <dem...@uw...> > >>To: "Daniel Glenfield" <sp...@ho...>, > >>dev...@li... > >>Subject: Re: [Dev-C++] Creating a static library > >>Date: Mon, 07 Apr 2003 14:32:37 -0400 > >> > >>New project, static library. Add the source files to the project, >compile > >>as lib<yourname>.a drop the new .a library into your /lib/ directory. >In > >>another project, go to linker options, add -l<yourname> and #include > >><yourname>.h > >> > >>At 04:52 PM 07/04/2003 +0100, Daniel Glenfield wrote: > >> >How can I create a static library? > >> > > >> >Sorry if this is obvious, can't think today! > >> > > >> > > >> > > >> > > >> > > >> >_________________________________________________________________ > >> >It's fast, it's easy and it's free. Get MSN Messenger today! > >> >http://www.msn.co.uk/messenger > >> > > >> > > >> > > >> >------------------------------------------------------- > >> >This SF.net email is sponsored by: ValueWeb: > >> >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > >> >No other company gives more support or power for your dedicated server > >> >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > >> >_______________________________________________ > >> >Dev-cpp-users mailing list > >> >Dev...@li... > >> >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > >> >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > >> > > > > > > >_________________________________________________________________ > >Use MSN Messenger to send music and pics to your friends > >http://www.msn.co.uk/messenger > > > > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Surf together with new Shared Browsing http://join.msn.com/?page=features/browse&pgmarket=en-gb&XAPID=74&DI=1059 |