🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42651

Re: Problems building GCC 2.6.2 cross-compiler for OS-9

#42651
From: ARK Systems USA
Date: Mon, 20 Nov 1995 00:00
64 lines
3081 bytes
I have also been trying to build the cross-compiler on Linux with very
slow progress.

- "gperf" did not exist in my system, but I picked up "cperf" from GNU instead
  and it seems to work.

- Currently, the building process fails in compiling "gcc/objc/hash.c" with
  an error message "as: unrecognized option `-c68010'." It seems like the
  compiler is generating 68K code...

- When I configured at the beginnig, I gave only "--target=m68k-unknown-linux"
  to "configure." Was this correct?

I am not very familiar with GCC building process and any suggestion will be
welcomed.

Iku

In article <tim-1911950245530001@tdierks.vip.best.com>,
Tim Dierks <tim@dierks.org> wrote:
>Here's the most basic question I can ask, first:
>
>Can I start with just a standard SunOS workstation distribution and a copy
>of the gcc source as it was made available and build OS-9 software for
>68K?
>
>Or do I need additional tools, libraries, headers, etc. from Microware or
>other sources?
>
>I've gotten a ways on building gcc, but now I'm stuck. I don't know a lot
>about gcc or its components, so I'm kind of floundering.
>
> - I got around the gas configuration problem (thanks, Mario).
> - I didn't have gperf, so I just touched the file it was trying to build;
>I hope this was OK.
> - I now build gcc with LANGUAGES=c to get around the problem compiling
>the objective C library.
> - When it was looking for headers and libraries in /usr/local/os9, I
>copied them from my Fastrack (for Mac) distribution.
> - 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.
> - Now it's having trouble building something called cross-check (I think;
>I'm not at work now). It's looking for a library (.r file) I don't have.
>
>Has anyone got this to work? Can they help me? Am I missing something
>really basic about how to set this up or what I need?
>
>I'm buying the Stallman book on GCC tomorrow to see if that will help. Any
>help anyone can provide will be greatly appreciated, and could even be
>rewarded, if necessary. If someone can help me get this working, I'll be
>glad to write a document on it for the edification of all.
>
>Thanks,
> - Tim
>
>-- 
>Tim Dierks - Software Haruspex - tim@dierks.org
>If you can't lick 'em, stick 'em on with a big piece of tape. - Negativland


-- 
ARK Systems USA              | P.O. Box 23
Inernet:    arkusa@rahul.net | Santa Clara, CA 95052-0023 USA
CompuServe: 74464,1751       | Phone:+1(408)244-5358 Fax:+1(408)244-5395
Technical Details
Message-ID: <48oquc$nm8@hustle.rahul.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <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: ARK Systems USA <arkusa@rahul.net>
Subject: Re: Problems building GCC 2.6.2 cross-compiler for OS-9
Date: 1995/11/20
Message-ID: <48oquc$nm8@hustle.rahul.net>
X-Deja-AN: 119772659
references: <tim-1911950245530001@tdierks.vip.best.com>
x-original-newsgroups: comp.os.os9,gnu.gcc.help
organization: a2i network
nntp-posting-user: arkusa
newsgroups: gnu.gcc.help