Thread: removing debugging info with borland c++

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    167

    removing debugging info with borland c++

    I am using borland c++ commandline tools, I've compiled a simple windows app. EXE generated is 42 kb. I looked at the assembly code generated and I see a lot of debugging stuff so I thought if I remove this it will reduce the size of the executable. How would I do this?
    silk.odyssey

  2. #2
    Registered User biosx's Avatar
    Join Date
    Aug 2001
    Posts
    230
    You usually control that kind of code generation via cmd-line flags.

    However it is weird that it would put in debugging info without you telling it to.

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    167
    I've found that I can reduce the executable size by dynamically linking with the C runtime library,cw3250.dll. It is safe to assume that most people have this file?
    silk.odyssey

  4. #4
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    No, it isn't, mainly because I don't have it.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help displaying info from structure
    By kisiellll in forum C Programming
    Replies: 6
    Last Post: 04-04-2009, 12:51 PM
  2. Question about getting an info class from another Form
    By Joelito in forum C# Programming
    Replies: 0
    Last Post: 10-16-2006, 01:02 PM
  3. Help doing an e-mail program in c...
    By Tyler_Durden in forum C Programming
    Replies: 88
    Last Post: 01-02-2005, 03:12 PM
  4. Binary trees search problem...
    By Umoniel in forum C Programming
    Replies: 2
    Last Post: 02-22-2004, 02:29 PM
  5. debugging info
    By Cristian Negresco in forum C++ Programming
    Replies: 0
    Last Post: 05-27-2002, 02:04 AM