﻿id	summary	reporter	owner	description	type	status	priority	component	resolution	keywords	cc
4	SoClib + cygwin	turbo07	Nicolas Pouillon	"Bonjour,

Je tente actuellement d'installer !SoClib (révision 5) sous environnement Windows. Pour cela, j'utilise l'API cygwin afin de disposer des outils de batch binutils. 

   - L'installation de SystemC pour cette cible est documentée : http://organact.mine.nu/dokuwiki/doku.php?id=astuces:cygwinsystemc. J'ai obtenu une compilation correcte ainsi : 
 1. configure
 1. make pthreads (pas d'édition de la constante `SC_DEFAULT_STACK_SIZE`
 1. make install
 1. -> Commentaire des deux lignes wctomb et wcstombs dans systemc.h
 1. make pthreads_check. 

 - L'installation de !SoClib en suivant la page wiki donne les résultats suivants : 
 1. les utilitaires posent problèmes (fb en particulier en raison de la bibliothèque externe SDL)
 1. la compilation de la plateforme d'exemple timer_4mips pose problème. La commande en cause est relative à la cible de compilation `simulation.x`

Les messages d'erreurs suivent. 

 Merci pour votre aide
   Christophe

{{{
soclib-cc -p platform_desc
soclib-cc: Entering directory `/cygdrive/l/Projets/Soclib/Devel/soclib/platforms/timer_4mips'
CxxSource gen repos/release/soclib::caba::Mips_mips.cc
Traceback (most recent call last):
  File ""/cygdrive/l/Projets/Soclib/Devel/soclib/bin/soclib-cc.py"", line 121, in ?
    sys.exit(main())
  File ""/cygdrive/l/Projets/Soclib/Devel/soclib/bin/soclib-cc.py"", line 112, in main
    todo.process()
  File ""/usr/lib/python2.4/platform.py"", line 57, in process
    #            'unknown' instead of just leaving the field emtpy)
  File ""/home/cunat/Projets/Soclib/Devel/soclib/lib/python/soclib_cc/builder/todo.py"", line 63, in process
  File ""/home/cunat/Projets/Soclib/Devel/soclib/lib/python/soclib_cc/builder/todo.py"", line 53, in prepare
  File ""/home/cunat/Projets/Soclib/Devel/soclib/lib/python/soclib_cc/builder/todo.py"", line 40, in _prepare_one
  File ""/cygdrive/l/Projets/Soclib/Devel/soclib/lib/python/soclib_cc/builder/action.py"", line 72, in getDepends
    self.__depends = self._depList()
  File ""/cygdrive/l/Projets/Soclib/Devel/soclib/lib/python/soclib_cc/builder/action.py"", line 83, in _depList
    return self.sources+self.processDeps()
  File ""/cygdrive/l/Projets/Soclib/Devel/soclib/lib/python/soclib_cc/builder/cxx.py"", line 64, in processDeps
    return reduce(lambda x, y:x+y, map(self._processDeps, self.sources), [])
  File ""/cygdrive/l/Projets/Soclib/Devel/soclib/lib/python/soclib_cc/builder/cxx.py"", line 55, in _processDeps
    filename.generator.process()
  File ""/home/cunat/Projets/Soclib/Devel/soclib/lib/python/soclib_cc/builder/textfile.py"", line 42, in process
IOError: [Errno 2] No such file or directory: 'repos/release/soclib::caba::Mips_mips.cc'
make: *** [simulation.x] Error 1
}}}
"	defect	closed	major	component1	fixed		
