Is anyone working on a Z80 port?

2015-10-14 Thread Luke A. Guest
Hi, Thought I'd ask here as I've not managed to find any positive answers from google. But is anyone working on a Z80 port of GCC 4 or 5? I've managed to find patches for Z80 ports but they are using ancient GCC's. Thanks, Luke.

Re: Is anyone working on a Z80 port?

2015-10-14 Thread Luke A. Guest
I forgot, I'm not interested in using C, so SDCC is out of the question. On 14/10/15 16:04, Luke A. Guest wrote: > Hi, > > Thought I'd ask here as I've not managed to find any positive answers > from google. > > But is anyone working on a Z80 port of GCC 4 or 5? > > I've

Re: gnattools cannot be built for freestanding/bare metal environment without hacking up the build machinery

2014-02-20 Thread Luke A. Guest
Hi, I've uploaded a prebuilt arm cross compiler for Linux x86_64, built on Debian Jessie, should work fine, crosses fingers :D https://www.dropbox.com/s/273e1pbez0qgqkp/tinyada-arm-none-eabi-4.9.0-20140122.tbz Thanks, Luke.

Re: gnattools cannot be built for freestanding/bare metal environment without hacking up the build machinery

2014-02-14 Thread Luke A. Guest
-elf/4.9.0/ include include-fixed install-tools plugin $ ls ~/opt/tinyada/lib/gcc/x86_64-elf/4.9.0/ include include-fixed install-tools plugin Luke. From f8c74c16b9f7ef3be02a9a7d3480baf88d09efd6 Mon Sep 17 00:00:00 2001 From: Luke A. Guest lagu...@archeia.com Date: Fri, 14 Feb 2014 13:53:27

Re: gnattools cannot be built for freestanding/bare metal environment without hacking up the build machinery

2014-02-14 Thread Luke A. Guest
On Fri, 2014-02-14 at 15:32 +, Brian Drummond wrote: OK I'll take a look. Too many make and install targets; I have no idea how this process interacts with the process specified here: https://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=Install:redhat for the msp430, using (in

gnattools cannot be built for freestanding/bare metal environment without hacking up the build machinery

2014-01-16 Thread Luke A. Guest
Hi, I've been over this before and have got nowhere with it. As I've just retried building the latest sources after a long break I'd thought I'd add some further comment in the hope that someone somewhere cares enough to fix this issue; this is over my head at this time. Say you want to build an

Re: gnattools cannot be built for freestanding/bare metal environment without hacking up the build machinery

2014-01-16 Thread Luke A. Guest
On Thu, 2014-01-16 at 18:53 +0100, Rolf Ebert wrote: Am 16.01.2014 18:17, schrieb Luke A. Guest: But what about the gnattools? Not buildable. A message in the ml archives states to build them with make -C gcc gnattools, but this fails: This is PR19959, see comment #13. IMHO, this PR

Re: gnattools cannot be built for freestanding/bare metal environment without hacking up the build machinery

2014-01-16 Thread Luke A. Guest
And to clarify: $ make -C gnattools/ gnattools-cross make: Entering directory `/home/laguest/src/mine/tinyada-new/build/arm-none-eabi/gcc2-built-with-git-ro/gnattools' # gnattools1-re make -C ../gcc/ada/tools -f ../Makefile \ CC=cc CXX=g++ CFLAGS=-g -W -Wall LDFLAGS= ADAFLAGS=-gnatpg

libada configure contains wrong code and GNAT as a cross compiler in general

2013-01-09 Thread Luke A. Guest
Hi, I'm trying to add GNAT to Yocto and still coming across problems. I have a number of questions about GNAT as a cross compiler, I know it wasn't designed as one within the GCC tree, but I think it needs to be capable of building as one to match the other compilers. 1) The latest problem I'm

Re: libada configure contains wrong code and GNAT as a cross compiler in general

2013-01-09 Thread Luke A. Guest
On Wed, 2013-01-09 at 09:57 +0100, Arnaud Charlet wrote: 2) I also want to point out that inside gcc/ada/gcc-interface/Makefile.in there are lines such as: GNATLIB_SHARED = gnatlib-shared-dual Is these relics? No, these are correct settings. If there's a mistake, it might be

Re: libada configure contains wrong code and GNAT as a cross compiler in general

2013-01-09 Thread Luke A. Guest
On Wed, 2013-01-09 at 08:43 +, Luke A. Guest wrote: 1) The latest problem I'm having is that it fails to build libgnat-4.6.so, I've managed to track it down to the following code inside libada/configure: # Determine what to build for 'gnatlib' if test $build = $target

Re: ARM EABI ZCX Ada (4.6.1) almost working

2011-10-12 Thread Luke A. Guest
On Wed, 2011-10-12 at 09:09 +0200, Eric Botcazou wrote: On further thinking about this, I have a feeling this may have something to do with the Private1 field of the unwind_exception, but I'm not too sure how yet. For sure, adding a couple of fields on the Ada side that don't exist on the

ARM EABI ZCX Ada (4.6.1) almost working

2011-10-09 Thread Luke A. Guest
/ChangeLog 2011-10-09 11:51:05.0 +0100 @@ -1,3 +1,18 @@ +2011-10-09 Luke A. Guest lagu...@archeia.com + + * Initial port of ZCX code to ARM Linux. + * s-excunw-gcc.ads: New file, extracts the normal GCC Unwind_Exception + into it's own package. + * s-excunw-gcc-arm.ads: New file, extracts

Re: ARM EABI ZCX Ada (4.6.1) almost working

2011-10-09 Thread Luke A. Guest
On Sun, 2011-10-09 at 20:38 +0100, Luke A. Guest wrote: Anyway, I changed the code to throw an exception in a nested subprogram, this was also caught by the outer subprogram. I then added a raise; statement as a handler to see if it would reraise and then exit the program, sadly, I get

Proper way to build GNAT cross compiler with gnattools

2011-02-01 Thread Luke A. Guest
Hi, I'm trying (again) to work out how to build a GNAT cross compiler with no runtime, but with the tools. Firstly, I'd just like to ask, is this supposed to be possible? If it is possible, why is it so hard/impossible and why will nobody from AdaCore answer my questions regarding it? I'm

Re: Proper way to build GNAT cross compiler with gnattools

2011-02-01 Thread Luke A. Guest
On Tue, 2011-02-01 at 18:57 +0100, Arnaud Charlet wrote: I'm trying (again) to work out how to build a GNAT cross compiler with no runtime, but with the tools. As explained in the documentation, you need to first build a native GNAT compiler with the same sources before building a GNAT

Re: Ada.Exceptions.Exception_Propagation is not a predefined library unit

2010-10-14 Thread Luke A. Guest
On Thu, 2010-10-14 at 09:31 +0200, Duncan Sands wrote: Hi Luke, a-exexpr.adb:39:06: Ada.Exceptions.Exception_Propagation is not a predefined library unit it looks like you get this error when the compiler can't find a file that it thinks forms part of the Ada library (this is determined

Ada.Exceptions.Exception_Propagation is not a predefined library unit

2010-10-13 Thread Luke A. Guest
Hi, I've tried what I thought was correct and implemented 2 new private child specifications (of Ada.Exceptions.Exception_Propagation) containing the specifications of the Unwind_Exception (generic) and the Unwind_Control_Block/Unwind_Exception (ARM EABI) and I'm getting the following error and

GNAT ARM EABI ZCX, possible stopper needs clarification

2010-10-11 Thread Luke A. Guest
Hi, I've been reading as much as possible and trying to follow the source as much as possible and have, I think, come across a bit of a stopper as it may require a re-arrangement of GNAT sources, if I'm right, that is. So an exception object is defined within a-exexpr-gcc.adb as: type

Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-27 Thread Luke A. Guest
On Mon, 2010-09-27 at 11:12 +0200, Olivier Hainque wrote: Hello Luke, Luke A. Guest wrote: I'm having a look into getting DWARF2 exceptions (ZCX) working on ARM. Thanks :-) Well, I'm reading as much as I can regarding this, but finding it hard to work some things out. I've been reading

Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-27 Thread Luke A. Guest
On Mon, 2010-09-27 at 12:33 +0200, Olivier Hainque wrote: Luke A. Guest wrote: Well, I'm reading as much as I can regarding this, but finding it hard to work some things out. That's a pretty complex and very precise machinery overall. You're not wrong. I've been reading through

Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-24 Thread Luke A. Guest
Hi, I'm having a look into getting DWARF2 exceptions (ZCX) working on ARM. I just wondered if anyone has done this yet or is working on it? My target will be N900 Maemo, I'll have to use an older GCC due to the fact that the ABI changed at v4.4 (http://gcc.gnu.org/gcc-4.4/changes.html

Re: Porting ZCX (not SJLJ) for GNAT ARM EABI

2010-09-24 Thread Luke A. Guest
On Fri, 2010-09-24 at 15:39 -0700, Andrew Pinski wrote: (http://gcc.gnu.org/gcc-4.4/changes.html bit-fields). That ABI change only structs which are marked as being packed. If you have some of those in your code, you need to understand that before 4.4, it was incorrectly working. Yup,

What licence(s) does GNAT and the runtime fall under now?

2008-03-21 Thread Luke A. Guest
Hi, I was just wondering what licences are used for GNAT now that AdaCore has GNAT-GPL rather than GNAT with GMGPL'd runtime. It seems that the source - when I last looked - for the runtime was GPL rather that GMGPL, but I thought that only the FSF could change the licence of these files? Can

Re: What licence(s) does GNAT and the runtime fall under now?

2008-03-21 Thread Luke A. Guest
On Fri, 2008-03-21 at 14:20 -0400, Robert Dewar wrote: Luke A. Guest wrote: The license for the run-time sources at the FSF is the GMGPL. Can somebody please explain what licences are used for GCC-4.3.x GNAT? Good to know, thanks. Luke.

Re: Restricted or no run time in Ada

2008-01-04 Thread Luke A. Guest
Further to my last email, I managed to get it to work with no runtime, I've documented it as well, here: http://www.archeia.com/article-1199444859.html Luke.

Restricted or no run time in Ada

2008-01-02 Thread Luke A. Guest
Hi, I got a simple hello world style multiboot kernel working again recently and it has got me thinking about how I should be using GNAT. Basically, I built a cross compiler for binutils and gcc to target i386-elf (I will be wanting to play with other targets in the future, e.g. mips-elf,