image
image

Go Back   macosx.com > Mac Help Forums > Mac Classic System & Software

Reply
 
Thread Tools
  #1  
Old October 18th, 2006, 01:57 PM
Registered User
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
WindsorKnot is on a distinguished road
Blast from MPWland

The nice man at iDevApps told me I might find someone in this here forum who can help me with my MPW-related query; which appears here unchanged from its debut there:

Hi folks - I'm learning C except I only have a PowerBook G3 series with OS 9, putting me at the mercy of MPW. I have yet to get this MPW racket to create an executable file. All documamentation says the "mrc" command in the MPW shell causes the source code to compile into an XCOFF formatted file. Indeed, when I applied the mrc command to source file "cube.c" (a simple multiplication prog), file "cube.c.o" was created; and its icon even has the letters "XCOFF" in it.

Now I've chanced into some documentation that says I can't in fact run the XCOFF as an executable; instead I should convert the XCOFF to a PEF format; and that I can use the makepef command in the MPW shell.

So I did this, and I got this message:
# makepef: 'cube.c.o' not XCOFF executable file format
# makepef: 'cube.c.o' not converted

Not XCOFF? How is that possible of a file that was created by the MrC compiler? And if it is somehow possible, then how do I either:

a) get the object file converted into XCOFF to make makepef happy, or
b) how do I get the object file converted straight into PEF, or
c) how do I get the source code to ultimately compile into SOMETHING executable - whichever format that turns out being?

Thanks.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
e-mail blast un_mestizo Design & Media 4 September 27th, 2006 05:12 AM
Marble Blast? conopev Mac Games 0 June 26th, 2006 11:06 AM
Apple blast from the blast naodx Bob's Place 7 March 21st, 2004 02:39 PM
Upgrading is always a blast Trip Bob's Place 0 January 19th, 2004 07:32 PM
another blast from the past endian Bob's Place 1 March 6th, 2001 09:06 AM


All times are GMT -5. The time now is 09:35 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.