HOw to bulid Hans Boehm Garbage Collector using Visual C++?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • monalikolhe
    New Member
    • Jan 2010
    • 5

    HOw to bulid Hans Boehm Garbage Collector using Visual C++?

    Hey guys,
    I have sucessfully built Hans Boehm Garbage collector on linux, accordind to instrtuctions given on Hans Boehm Website.
    But I am unable to bulid it on WINDOWS.
    It is not creating "gc.lib" file.

    Please help.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    There is no gc.lib for Windows.

    Do you have instructions for building using VC++?

    Comment

    • monalikolhe
      New Member
      • Jan 2010
      • 5

      #3
      But, when I did NMAKE on visual c++ command prompt, it created a GC.LIB file,
      and now when i am trying to link it, it is giving
      "Unresolved external symbol.......re ference in function main"
      kind of errors

      Comment

      • Banfa
        Recognized Expert Expert
        • Feb 2006
        • 9067

        #4
        Initially considering only the first error in the list

        What symbol is unresolved?
        Where in the garbage collector source code is it defined?
        Where in the garbage collector source code is it declared?
        Have you included the declaration into the file containing main?
        What is the name of the file containing main?

        Comment

        Working...