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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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