CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 15
  1. #1
    Join Date
    Nov 2008
    Posts
    15

    Question "Tiny" Mode in Visual studio 2005???

    Hi All...

    > I Just Built my project in DEBUG and RELEASE mode...

    > Please suggest me, how to build my project in TINY mode...


    Thanks in advance,
    John

  2. #2
    Join Date
    May 2006
    Location
    Norway
    Posts
    1,709

  3. #3
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: "Tiny" Mode in Visual studio 2005???

    You built a DEBUG and RELEASE configuration, not mode. You need to explain better what you want to do.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  4. #4
    Join Date
    May 2006
    Location
    beyond the pillars of hercules
    Posts
    295

    Re: "Tiny" Mode in Visual studio 2005???

    do you mean how to reduce the size of ur final app?
    i dont hink theres a "tiny mode" on the compiler
    u can always use a runtime PE packer
    Last edited by Cpp_Noob; December 5th, 2008 at 07:11 AM.

  5. #5
    Join Date
    Nov 2008
    Posts
    15

    Re: "Tiny" Mode in Visual studio 2005???

    > Exactly... even I was shocked when i heard this for the first time (To build in "Tiny mode or Configuration"), but my Prof. says we can build this.

    > He also mentioned about i can take help by using SCons also...

    if any one knows about this thing please reply...

  6. #6
    Join Date
    Apr 1999
    Posts
    27,449

    Re: "Tiny" Mode in Visual studio 2005???

    Quote Originally Posted by johnnash_815 View Post
    > Exactly... even I was shocked when i heard this for the first time (To build in "Tiny mode or Configuration"), but my Prof. says we can build this.

    > He also mentioned about i can take help by using SCons also...

    if any one knows about this thing please reply...
    The only "Tiny" mode that I've ever heard of is for the old MSDOS Turbo C compiler, and that was almost 20 years ago. No such mode exists now for a modern OS and modern compiler.

    Regards,

    Paul McKenzie

  7. #7
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: "Tiny" Mode in Visual studio 2005???

    Hmmm, Google didn't find out something useful searching for SCons "tiny mode"
    Perhaps, you should ask your "Prof." to explain more clear what he wants from you.

    And, BTW, could you omit the leading ">" symbols in your posts? They do not help to read understand your posts...
    Victor Nijegorodov

  8. #8
    Join Date
    Nov 2008
    Posts
    15

    Re: "Tiny" Mode in Visual studio 2005???

    Any way... i appreciate u guys for replying me... and also i'll be waiting for other replies... i hope i get solution for this...

  9. #9
    Join Date
    Nov 2003
    Posts
    1,902

    Re: "Tiny" Mode in Visual studio 2005???

    >> i hope i get solution for this
    Solution for what??

    VictorN gave your next step: Perhaps, you should ask your "Prof." to explain more clear what he wants from you.

    gg

  10. #10
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: "Tiny" Mode in Visual studio 2005???

    Well, I suppose you could compile with optimization set to prefer small code rather than fast, and using the runtime DLLs rather than static runtime linking.

  11. #11
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: "Tiny" Mode in Visual studio 2005???

    Quote Originally Posted by Lindley View Post
    Well, I suppose you could compile with optimization set to prefer small code rather than fast, and using the runtime DLLs rather than static runtime linking.
    As mentioned earlier, you can simply pack your executable/dlls with a executable packer like UPX. I do it with almost everything a write.

  12. #12
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    Re: "Tiny" Mode in Visual studio 2005???

    As Victor said, TINY is a build option for a 16-bit application (sweet memories ) , i.e. TINy is really nothing that's applicable these days.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    https://visualstudio.microsoft.com/vs

  13. #13
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,656

    Re: "Tiny" Mode in Visual studio 2005???

    Quote Originally Posted by S_M_A View Post
    As Victor said, TINY is a build option for a 16-bit application (sweet memories ) , i.e. TINy is really nothing that's applicable these days.
    I guess people might still use 16-bit compilers.
    Anyway, here is a nice write-up about the subject (Tiny "memory model", NOT "mode"): WiKi
    Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
    Convenience and productivity tools for Microsoft Visual Studio:
    FeinWindows - replacement windows manager for Visual Studio, and more...

  14. #14
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: "Tiny" Mode in Visual studio 2005???

    Quote Originally Posted by VladimirF View Post
    I guess people might still use 16-bit compilers.
    Anyway, here is a nice write-up about the subject (Tiny "memory model", NOT "mode"): WiKi
    I still use Visual C++ 1.52 [seriously!]
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  15. #15
    Join Date
    Nov 2008
    Posts
    15

    Re: "Tiny" Mode in Visual studio 2005???

    Thanks guys...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured