🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52337

GCC 2.3.1 on a Sun3x (68030/68882).

#52337
From: Dean Michaels
Date: Wed, 25 Nov 1992 03:43
28 lines
1807 bytes
While reading through the config/m68k.h file, I read that if you
set the compiler for, and I quote....

/* Optimize for 68040, but still allow execution on 68020
   (-m68020-40 or -m68040).
   The 68040 will execute all 68030 and 68881/2 instructions, but some
   of them must be emulated in software by the OS.  When TARGET_68040 is
   turned on, these instructions won't be used.  This code will still
   run on a 68030 and 68881/2. */
#define TARGET_68040 (target_flags & 01400)

..... I should be able to use the binaries produced.

Question #1:  Is there any advantage in performance ( is it worth doing )?

Question #2:  Has anyone done this successfully?

I only have the workstation at home so binary compatibility isn't a
problem ( no other machines around).

Dean.


--
+-----------------------------------------------------+
|          dmichael@muskwa.ucs.ualberta.ca            |
|      Dean Michaels, Edmonton, Alberta, Canada       |
+--------Friends Don't Let Friends Use MS-DOS!--------+
Technical Details
Message-ID: <dmichael.722662998@muskwa.ucs.ualberta.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!van-bc!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!muskwa.ucs.ualberta.ca!dmichael

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,13f82c8d38d189b3,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-11-24 23:46:29 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!van-bc!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!muskwa.ucs.ualberta.ca!dmichael
From: dmichael@muskwa.ucs.ualberta.ca (Dean Michaels)
Subject: GCC 2.3.1 on a Sun3x (68030/68882).
Message-ID: <dmichael.722662998@muskwa.ucs.ualberta.ca>
Summary: Trying to create a 68030/68882 compiler for  the Sun3x.
Keywords: m68k Sun Sun3x 68030 68882 config
Sender: news@kakwa.ucs.ualberta.ca
Nntp-Posting-Host: muskwa.ucs.ualberta.ca
Organization: University Of Alberta, Edmonton Canada
Distribution: gnu
Date: Wed, 25 Nov 1992 03:43:18 GMT
Lines: 28