![]()
Note that the gdb-5.3 build is dependent on some source and object files of binutils in the build directory.
- create a gnu-tools-set-m68k directory (or similar)
- create in the gnu-tools-set-m68k a directory gcc-m68k-gnu-source (or similar)
- download gcc-3.4.3.tar.bz2 newlib-1.12.0.tar.gz binutils-2.15.90.0.1.1.tar.bz2
- gunzip the newlib-1.12.0.tar.gz and bzip2 it again to have the bz2 extension.
- place the newlib-1.12.0-20040308.diff in the gcc-m68k-gnu-source directory
- place the script build-gcc.sh in the gcc-m68k-gnu-source directory
- cd to the gcc-m68k-gnu-source directory
- ./build-gcc.sh <install directory>
and wait a long time....
The build-gcc.sh script will bunzip2, configure, build and install
a m68k-elf tool set suitable for the MRM.
Check errors in the *.log files in the build directory!
note that there are no more extra patches needed for gcc-3.4.3.
I use /gcc-m68k as my install directory. After the compilation and installation I removed the coldfire and other 680xx stuff except for m332 directories.
- the main information page is located here: http://sourceforge.net/projects/bdm/ - download gdb-5.3.tar.gz from your favorite GNU download site - download m68k-bdm-1.3.0.tar.gz from here http://sourceforge.net/project/showfiles.php?group_id=81515&release_id=171848 - it basically contains all the info you need. However giveio.sys mentioned is not on the web site but is in directio.zip. - Extract loaddrv.exe from directio.zip. This is needed to start the giveio.sys service. - download the gdb-build.sh script - run ./gdb-build.sh <install directory>