|
From: David E. <gc...@ya...> - 2009-01-31 14:40:37
|
And, while technically a library is a "compiled" collection in a single file, I use the term loosly to also refer to a directory containing many pieces of code to be use in #include for headers or otherwise for pieces of code to be copied into the current code. I do quite well know the difference between a header and a library. --- On Sat, 1/31/09, Tuomo Latto <dj...@ik...> wrote: > From: Tuomo Latto <dj...@ik...> > Subject: Re: [Mingw-users] I'm lost - trying to use gcc with specs file in Windows > To: "MinGW Users List" <min...@li...> > Date: Saturday, January 31, 2009, 5:30 AM > David Eaton wrote: > > I seem to have run into what I believe is a limit to > the length of a line in a .bat file (or the command line) > while trying to include the libraries for building a libusb > and gtk application. As such, I looked on the internet and > a site showed how to put the include libraries in the cpp > area with -Ixxxxx. I put each of the libs with a -I before > it all on that one single line - it's over 256 > characters long - is this a problem when the file is > processed? > > > > Also, using a very simple test program (not really a > program, but used to test the includes) in C, it does not > appear to picking up the -I paths as my #include <xxx> > fail. > > > > I also saw on this same internet page where to place > the link libraries. I have no idea if this is right or not > since it never gets to a link. > > First of all, how about putting in some line breaks? > > Second, you are using a specs file but don't know the > difference between a header and a library? > Why are you using a specs file? > It's usually a good idea to know why you're doing > something > before you actually do it. > > >From what I can tell, you should read up on compiling C > and libraries, etc: > http://www.cs.cf.ac.uk/Dave/C/node3.html > http://www.cs.cf.ac.uk/Dave/C/node35.html#ch:prog > http://www.cs.cf.ac.uk/Dave/C/node3.html#SECTION00326000000000000000 > > ...and see GCC manual: > http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/ > > ...and maybe find out about make and Makefiles. > > > -- > Tuomo > > ... Point not found. A)bort, R)eread, I)gnore > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe > at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > > _______________________________________________ > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. > > Most annoying abuses are: > 1) Top posting > 2) HTML/MIME encoded mail > 3) Improper quoting > 4) Improper trimming |