AminetAminet
Search:
84450 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/gcc/gcc3210.lha

Mirror:Random
Showing:ppc-amigaosgeneric
No screenshot available
Short:Compiler for DSP3210 chips
Author:wrangler491_at_gmail_dot_com
Uploader:Wrangler491 gmail com
Type:dev/gcc
Version:3.2
Architecture:other
Distribution:Aminet
Kurz:Compiler fuer DSP3210-Chips
Date:2022-01-29
Download:http://aminet.net/dev/gcc/gcc3210.lha - View contents
Readme:http://aminet.net/dev/gcc/gcc3210.readme
Downloads:1146

This is an implementation of the GCC C compiler for the DSP3210 as used on
the Amiga AA3000 and AA3000+.  

The host machine needs to be 32-bit x86 running linux (I use cygwin, so that 
definitely works but other linux-type OSes ought to work). Note that 32 bit 
is essential!

Copyright Wrangler 2021, 2022

Some code based on the work of Michael Collinson


Usage:
------

./xgcc -B./ -S foo.c -o foo.s

Notes:
- Do not try to use optimisation options (eg -O2) - it's not implemented yet
  and you will likely get a fatal internal compiler error - TO DO
- The compiler isn't integrated with the assembler, so you must use the -S
  option to create an assembly language file first
- Use asm3210/elf2exem68k on Aminet to assemble and link.  Version 2.2 of
  asm3210 or higher is required
- Limitation: xgcc is based on GCC3 so REQUIRES 32 bit OS (eg cygwin 32-bit on
  Windows XP in a VM is what I use).  Asm3210 is compiled for 64 bit.  One
  day, I hope to migrate xgcc to 64 bit too to avoid this faff.
- GCC will create code that will be automatically linked to specific absolute
  addresses in RAM on execution.  Do not try to relocate the code to the DSP
  internal RAM without great care! -fpic not supported.


See documentation.txt for important details


Contents of dev/gcc/gcc3210.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]              3629675 7990601  45.4% -lh5- 895f Jan 22 14:36 cc1.exe
[unknown]               198749  462254  43.0% -lh5- 0a99 Jan 22 14:36 cpp0.exe
[unknown]                 1258    2521  49.9% -lh5- 6ff7 Jan 28 20:04 Documentation.txt
[unknown]                  686    1109  61.9% -lh5- 5bc6 Jan 28 20:04 Documentation.txt.info
[unknown]                  149     478  31.2% -lh5- 117d Jan 22 14:38 Example/code_DSP.c
[unknown]                  131     296  44.3% -lh5- c374 Jan 22 14:38 Example/config.h
[unknown]                 4002   16155  24.8% -lh5- f3eb Jan 22 11:59 Example/libgcc1.c
[unknown]                 1287    3474  37.0% -lh5- 7e76 Jan 22 12:22 Example/main_m68k.c
[unknown]                  297     723  41.1% -lh5- 3c2a Jan 25 20:07 Example/makefile
[unknown]                  490    2455  20.0% -lh5- 66d7 Jan 22 12:25 Example/wrapper_DSP.s
[unknown]                  846    1507  56.1% -lh5- 9b0c Jan 28 18:18 gcc3210.readme
[unknown]               105087  260932  40.3% -lh5- 9cc7 Jan 22 14:36 xgcc.exe
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        12 files 3942657 8742505  45.1%            Jan 30 03:41

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>