FAQ:Install

From GNU 68HC11/HC12
(Difference between revisions)
Jump to: navigation, search
(Migrate faq to wiki)
 
(Why is it still necessary to patch FSF sources?)
Line 42: Line 42:
 
They are however strongly recommended:
 
They are however strongly recommended:
  
*Some patchs fix various problems detected after the FSF sources
+
*Some patchs fix various problems detected after the FSF sources are released.  These fixes are provided until the FSF releases
are released.  These fixes are provided until the FSF releases
+
 
a new version.
 
a new version.
  
*Unfortunately, several fixes are not integrated in FSF sources
+
*Unfortunately, several fixes are not integrated in FSF sources because it takes time to make them approved by FSF maintainers. This is the case for several nasty bugs in the compiler.
because it takes time to make them approved by FSF maintainers.
+
This is the case for several nasty bugs in the compiler.
+
  
*The gdb patch contains a BDM support that can't be integrated
+
*The gdb patch contains a BDM support that can't be integrated in FSF mainline due to the lack of copyright assignment by its author.
in FSF mainline due to the lack of copyright assignment by its author.
+

Revision as of 16:31, 18 February 2006

Contents


This section lists general questions about:

  • The site itself (www.gnu-m68hc11.org, ...)
  • How the FAQ works and how you can contribute

What tool do I need to build GEL?

GEL uses Makefiles to automate and help building the various libraries and examples it contains. The Makefiles need a shell (/bin/sh) and some Unix utilities.

On Windows, you should install the MSYS Mingw package which provides these Unix utilities. You can obtain it at:

[http://www.mingw.org]

You can get the MSYS 1.0.9 package at:

[ftp://m68hc11.serveftp.org/pub/win32/MSYS-1.0.9.exe]

To install this package, just execute the program. This will open a graphical installation that asks you where you want to install those tools. Do not forget to update your PATH to use them.

How can I build GDB for 68HC12?

The 68HC12 is supported by the GNU Debugger. The gdb sources must be configured as follows:

configure --target=m6811-elf --program-prefix=m6811-elf-

The debugger will support both 68HC11 and 68HC12. It will automatically select the processor according to the ELF file you specify.

Why is it still necessary to patch FSF sources?

The 68HC11/68HC12 tool chain is integrated in FSF main sources. When you want to build the tool chain from FSF sources, a set of patchs must be applied. In fact these patchs are not mandatory. They are however strongly recommended:

  • Some patchs fix various problems detected after the FSF sources are released. These fixes are provided until the FSF releases

a new version.

  • Unfortunately, several fixes are not integrated in FSF sources because it takes time to make them approved by FSF maintainers. This is the case for several nasty bugs in the compiler.
  • The gdb patch contains a BDM support that can't be integrated in FSF mainline due to the lack of copyright assignment by its author.
Personal tools