2 # Utility script to generate the generated sid files.
3 # This is useful for verifying changes to the generated files.
5 # Run this script in the src/cgen directory.
7 # Usage: gen-all-sid /path/to/sid/src
17 echo "Not in the src/cgen directory." >& 2
23 echo "Usage: gen-all-sid /path/to/sid/src" >& 2
28 if [ ! -f $siddir/sid/COPYING.SID ]
30 echo "unable to find sid sources in $siddir" >& 2
40 $siddir/configure --prefix /tmp/junk --enable-ltdl-install
42 cd sid/component/cgen-cpu