🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #253

Crosscompiler VMS -> Motorola 68k

#253
From: Andrzej Hanczak
Date: Wed, 26 Aug 1992 12:31
30 lines
1998 bytes
Hi!

Since a longer time I'm trying to build a GNU C crosscompiler that will 
enable of compiling the files on VMS system and downloading themon the Motorola
68k based CPU board. I've got executable version of GNU C v2.2 compiler and it
works fine on my VAX machine. However I need an assembler (GAS) that can
understand the files generated by GCC. I've started to build the GAS on the VAX
for the M68k processor family. After compilation of the the sources, I get
error message while trying to link the objects. The problems are caused by two
variables that are defined in the VAXC library but declared in the source files 
of the assembler. The problem is that the attributes of this variables in
object files differ from the attributes in library (it is SHARE attribute).
VAXC compiler enables use of the "share" or "noshare" modifiers, however I
have not found this kind of modifiers in GNUC. Trying to compile this files
with VAXC compiler results in a number of compilatin errors.
Does anybody have an idea how to solve my problem -> GAS runing on VMS machine
and generating Motorola 68k object code. The other question is what to do next
with obtained object files. Can I use normal VAX linker or I need some other
one.

I will be greatfull for any help

  Andrzej Hanczak



++++++++++++++++++
Andrzej Hanczak                                         email hanczak@fzi.de
FZI Forschungszentrum Informatik                        phone +49-721-9654-332
Haid-und-Neu-Str. 10-14, D-7500 Karlsruhe, Germany      fax   +49-721-9654-309
Technical Details
Message-ID: <1992Aug26.123110.17714@fzi.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!gate.fzi.de!news

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!gate.fzi.de!news
From: HANCZAK@FZIVMS.FZI.DE (Andrzej Hanczak)
Subject: Crosscompiler VMS -> Motorola 68k
Message-ID: <1992Aug26.123110.17714@fzi.de>
Sender: news@fzi.de (FZI-news)
Organization: FZI, Forschungszentrum Informatik, Karlsruhe, Germany
Date: Wed, 26 Aug 1992 12:31:10 GMT
X-News-Reader: VMS NEWS 1.22
Lines: 30