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

dev/cross/aros-gcc-1.0.tar.bz2

Mirror:Random
Showing:m68k-amigaosgeneric
No screenshot available
Short:Create var. gcc-3.4.6 versions for aros
Author:Markus Weiss
Uploader:weissms aros org (Markus Weiss)
Type:dev/cross
Version:1.0
Requires:System able to compile gcc, wget, curl.
Architecture:generic
Date:2007-11-11
Download:http://aminet.net/dev/cross/aros-gcc-1.0.tar.bz2 - View contents
Readme:http://aminet.net/dev/cross/aros-gcc-1.0.readme
Downloads:3076

PURPOSE
Create aros gcc, g++, objc cross compilers, create compiler that is able to
build linux powerpc hosted version of AROS.

SUPPORTED GCC VERSIONS
3.4.6

BUILD ENVIRONMENT
Of course, the build host you are running must be able to compile gcc. AROS
itself currently is not. These are most Un*x like systems like Linux, the
BSD variants or Cygwin. Your also need to have the tools wget and curl
available. Because almost everything is fetched from the net you also need
an active internet connection.

TESTED BUILD HOSTS
- Debian Linux PowerPc          system and cross targets
- Cygwin                        cross targets
- Gentoo Linux 32 bit on PS3    system and cross targets

USAGE
[PREFIX=<install-dir>] [TARGET=<target>] make build-gcc

During the build of collect-aros, we already need installed binutils,
so the user issuing the above command must have write permission in
<install-dir>.

INSTALLATION
[PREFIX=<install-dir>] [TARGET=<target>] make install

By default we install into /usr/local.

!!!!!!
On a system that compiles its own updates with a newer gcc version like
Gentoo Linux, PLEASE know what you do, otherwise you might mess up your
system. In order to disable this custom gcc I do
mv /usr/local/bin /usr/local/bin_
mv /usr/local/lib /usr/local/lib_
to move it out of the search path. After that you might have to use a
new shell or reboot.
!!!!!!

TARGETS
system      default target
            Builds a patched system compiler, e.g. on a linux system, that is
            able to build linux hosted version of AROS. Currently, this makes
            only sense on a powerpc host.

i386        cross target
            Builds a cross compiler that is generating code for i386 AROS
            and is running on the current host, ie. the host system it is
            built on.

powerpc     cross target
            Same as i386 for powerpc.

EXAMPLES
Build and install powerpc cross compiler.
TARGET=powerpc make build-gcc
TARGET=powerpc make install

Build and install system compiler.
make build-gcc
make install

LIST OF FILES
patches/binutils-2.16.1-aros.diff       Patch to build AROS cross binutils.
patches/gcc-3.4.6-aros.diff             Patch to build the mentioned
                                        compilers.
README                              *   This file.
Makefile                            *   Makefile to build and install the
                                        mentioned compilers.
configure.ac                        *   autotool input file
configure                               Configure script needed to build
                                        collect-aros. Generated by autoconf.
acinclude.m4                            Autotool input file, taken from
                                        AROS source tree and modified.
aclocal.m4                              Generated by aclocal.
get_sdk_archive.sh                  *   Helper script to download needed sdk.

LICENSE
For all the files I have created (marked with *)
the AROS PUBLIC LICENSE Version 1.1 shall apply.

TODO
- Update installed SDK.
- Add gdc to the list of supported languages.
- Use newer versions of gcc.
- Use newer versions of binutils.
- Improve documentation.
- Use gnu mirrors.
- Use something like make config or make menuconfig.
- Create native compilers, ie. compilers running inside of AROS.
- Although tests were done in a 32 bit environment on PS3 which is
  a 64 bit machine, this release might not build everything correctly
  on such systems.

Any feedback to weissms()aros.org is welcome.
ciao, Markus



Uploaded using: archives.aros-exec.org


Contents of dev/cross/aros-gcc-1.0.tar.bz2
drwxr-xr-x mwe/mwe           0 2007-11-11 06:32:22 aros-gcc-1.0/
-rwxr-xr-x mwe/mwe        1677 2007-11-11 05:38:42 aros-gcc-1.0/acinclude.m4
drwxr-xr-x mwe/mwe           0 2007-11-04 02:36:32 aros-gcc-1.0/patches/
-rw-r--r-- mwe/mwe      658495 2007-11-04 02:34:08 aros-gcc-1.0/patches/gcc-3.4.6-aros.diff
-rwxr-xr-x mwe/mwe        1210 2007-05-12 09:47:59 aros-gcc-1.0/patches/binutils-2.16.1-aros.diff
-rwxr-xr-x mwe/mwe        4916 2007-11-03 02:55:09 aros-gcc-1.0/Makefile
-rwxr-xr-x mwe/mwe       78811 2007-11-11 05:39:00 aros-gcc-1.0/configure
-rwxr-xr-x mwe/mwe         958 2007-11-11 05:39:05 aros-gcc-1.0/configure.ac
-rw-r--r-- mwe/mwe         612 2007-11-11 05:38:49 aros-gcc-1.0/aclocal.m4
-rwxr-xr-x mwe/mwe        1300 2007-10-21 02:32:48 aros-gcc-1.0/get_sdk_archive.sh
-rw-r--r-- mwe/mwe        3571 2007-11-11 06:46:18 aros-gcc-1.0/README

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