Thread: Optimizing the linker in msvc

  1. #1
    Registered User Joelito's Avatar
    Join Date
    Mar 2005
    Location
    Tijuana, BC, México
    Posts
    310

    Optimizing the linker in msvc

    I'm sorry if my question don't fit here, I didn't find a proper place to ask.

    When I build from the command line a library with msvc 2010 (the one that comes with psdk win7 & .Net 4.0) I can see more files created:
    Code:
    *.manifest
    *.ilk
    *.pdb
    *.exp
    *.lib
    *.dll
    I managed to avoid the ilk and manifest, passing to the link this flags:
    Code:
    /MANIFEST:NO /INCREMENTAL:NO
    my question is..how to avoid the exp file creation? I want to see the library (lib) and the dynamic lib (dll)

    Thanks for the input
    * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
    * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    What do you mean "optimise"?

    I see a bunch of temporary files used for one purpose or another.
    https://msdn.microsoft.com/en-us/library/se8y7dcs.aspx
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. optimizing
    By h_howee in forum C++ Programming
    Replies: 4
    Last Post: 01-06-2008, 02:44 AM
  2. Linker error:msvc++2005
    By svaidya in forum C++ Programming
    Replies: 2
    Last Post: 08-30-2007, 08:54 PM
  3. MSVC 6 Intermittent Linker Crashing
    By SMurf in forum Tech Board
    Replies: 1
    Last Post: 11-02-2006, 10:53 AM
  4. Replies: 17
    Last Post: 05-07-2006, 06:11 PM
  5. Replies: 2
    Last Post: 09-09-2004, 12:57 PM