Menu

ScsiIf.h ScsIf-linux nt win

Help
2005-08-09
2013-04-30
  • Marc Antonio

    Marc Antonio - 2005-08-09

    Hi, i know this may be off-topic, but i want a help out here. Im trying to understand how the compiler choose in so many declarations (/dao/ScsiIf.cc) of the ScsiIf::init() for eg. between ScsiIf-nt.cc, ScsiIf-win.cc, ScsiIf-linux.cc, i understand they are dependent on OS, but how can this compile without a ScsiIf.cc? And where the source make a choice for the OS, to choose the right scsiif-lib ?? Anybody can help?

    Thanks in advance,

    Marc

     
    • Denis Leroy

      Denis Leroy - 2005-10-28

      configure does this. If you look at the configure.ac file, it sets the scsilib_objs based on the host.  The 'scsilib_objs' variable is then later substituted in dao/Makefile.am

       

Log in to post a comment.