Re: [hatari-devel] Re: Hatari SCSI Driver patch

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

Commited:
  http://hg.tuxfamily.org/mercurialroot/hatari/hatari/rev/9e11e20df838

With correstions to:
- include file name for CMake macro [1]
- message about found optional deps
- readme.txt

	- Eero

[1] Remove CMakeCache.txt each time before testing CMake
    file changes.

    It seems that if CMake has once found something, changing
    the check to something that doesn't exist, doesn't change
    anything, CMake digs the old path from cache.

keskiviikko 28 lokakuu 2015 08:39:55 Uwe Seimet kirjoitti:
> Hi,
> 
> Should be better now, please see attachment.
> 
> Take care
> 
> Uwe
> 
> > Hi,
> > 
> > torstai 22 lokakuu 2015 12:31:18 Uwe Seimet kirjoitti:
> > > The attached diffs add libudev support to the SCSI Driver, on systems
> > > where libudev is available.
> > 
> > I think that your CMake stuff has the issue that it checks udev header
> > and library separately, but doesn't check that both are present.
> > Both are needed to get a working binary.
> > 
> > (If header is missing, linking udev is redundant.  If library
> > is missing, compiling stuff with udev header fails to linking
> > error.)
> > 
> > Besides note in readme.txt about libudev, IMHO note about
> > it should be output at the end of the CMakeLists.txt file,
> > like is done with the other libraries.
> > 
> > Could you send an updated version?
> > 
> > 	- Eero
> > 
> > PS. Nicolas, SCSI drv adds only couple of KB to Hatari
> > size even with libudev support:
> > --------------
> > $ size src/CMakeFiles/hatari.dir/nf_scsidrv.c.o
> > 
> >    text    data     bss     dec     hex filename
> >    4918       0     640    5558    15b6
> > 
> > src/CMakeFiles/hatari.dir/nf_scsidrv.c.o
> > --------------
> > 
> > (Real executable size increase can be less than
> > the object file code/data/bss size.)




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/