Article View: gnu.gcc.help
Article #42652Re: Problems building GCC 2.6.2 cross-compiler for OS-9
From: Mario Klebsch DG1AM
Date: Mon, 20 Nov 1995 00:00
Date: Mon, 20 Nov 1995 00:00
32 lines
1850 bytes
1850 bytes
tim@dierks.org (Tim Dierks) writes: >Or do I need additional tools, libraries, headers, etc. from Microware or >other sources? Yes, you need all libraries and header files, you would need to compile your C program on the OS9 system. > - When it was looking for /usr/local/m68k-os9/ar, I created a link to the >Sun's ar out of a loss of what else to do. Sun's ar is not the right ar. Did you do a make install? I had some problems with the installation because I have gcc-2.6.3 and gcc-os9-2.6.2. I don't know exactly but I think, you cannot use gcc as a cross compiler without installing the normal gcc on your system. Here is my command to call gcc: "gcc -b m68k-unknown-os9 -V 2.6.2". I call the normal compiler driver and use an option to use the OS9 cross compiler. This requires at least the normal driver to be present. I had to do some modifications to lib/gcc-lib/m68k-unknown-os9/2.6.2/specs. I included -L/usr/local/os9/lib in the *link: line. When I started, this file was even missing. So I had a lot of trouble with syntax errors in .h files because of wring -D options given to cpp. I hope, this helps. 73, Mario -- Mario Klebsch, DG1AM, M.Klebsch@tu-bs.de +49 531 / 391 - 7457 Institut fuer Robotik und Prozessinformatik der TU Braunschweig Hamburger Strasse 267, 38114 Braunschweig, Germany
Technical Details
Message-ID:
<mkl.816880318@helferlein.rob.cs.tu-bs.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<tim-1911950245530001@tdierks.vip.best.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,2d76a83a016ed86a X-Google-Attributes: gid11318c,public From: mkl@rob.cs.tu-bs.de (Mario Klebsch DG1AM) Subject: Re: Problems building GCC 2.6.2 cross-compiler for OS-9 Date: 1995/11/20 Message-ID: <mkl.816880318@helferlein.rob.cs.tu-bs.de> X-Deja-AN: 119772660 distribution: world references: <tim-1911950245530001@tdierks.vip.best.com> organization: TU Braunschweig, Informatik (Bueltenweg), Germany newsgroups: gnu.gcc.help