Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > Re: compiling m...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 6 Topic 25160 of 28234
Post > Topic >>

Re: compiling multiple source files

by "Bill Reid" <hormelfree@[EMAIL PROTECTED] > Mar 28, 2008 at 07:28 AM

broli <Broli00@[EMAIL PROTECTED]
> wrote in message
news:32336529-32a1-43a9-8f4f-3c7c8e87f4db@[EMAIL PROTECTED]
> How can this be done in windows based C compilers like PellesC ??

I know I can do it by selecting "Add To Project" from my integrated
development package "Project" menu, and specifying all the source
files, object files, and libraries that I want to comprise my target
executable.

Of course, it's not really do***ented or obvious what a "project"
is, because to the guys who developed my integrated development
environment a "project" may be a library, DLL, object file, a "component",
a "package", or about three or four other things, or maybe, just
maybe, an executable...but if your "target" is an executable,
adding all the source, object, and library files makes it work
pretty much like a makefile, without all the typing (just a lot
of mouse work!).

In other words, I don't know about YOUR development package,
but I suspect you have a "make" utility somewhere...for me, I can
im****t or ex****t makefiles to/from the integrated development
environment, or just use a makefile as is, because the whole
software package includes "make" and a command-line
compiler/linker.

> Is
> it possible to write a makefile or use the cc- o option as available
> in unix/linux ??

Dunno.  See above.

> does anyone know of good makefile tutorials ??

Hell, if people can't be bothered to properly do***ent their
proprietary idiotic integrated development environments so
people can actually use them, what are the chances that anybody
ever bothered to explain "make" properly?  Everything I ever knew
about "make" came from a Unix man page, so make of that
what you will...

> (I appologize if this is offtopic but I couldn't think of a better
> place to ask this question)

I wonder if there actually is a group dedicated to "make"...and
if anybody actually posts to it...but if they don't, it's still YOUR
fault for asking about it here!

---
William Ernest Reid
 




 6 Posts in Topic:
compiling multiple source files
broli <Broli00@[EMAIL   2008-03-27 23:57:16 
Re: compiling multiple source files
Richard Heathfield <rj  2008-03-28 07:17:17 
Re: compiling multiple source files
santosh <santosh.k83@[  2008-03-28 14:22:07 
Re: compiling multiple source files
David Thompson <dave.t  2008-04-07 06:00:53 
Re: compiling multiple source files
"Bill Reid" <  2008-03-28 07:28:03 
Re: compiling multiple source files
jacob navia <jacob@[EM  2008-03-28 09:50:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 19:18:03 CST 2008.