At 01:38 PM 3/23/2004, you wrote:
> Maybe you need some extern "C" magic.

Yes, that got rid of the link error. Thanks.

> >Is there a step by step manual how to set up a target in CW9 that creates
> >(only) a stand alone 68k binary file?
>
> Not one of which I'm aware.

Ok. Could you help me out with the target settings to get this to work? :)

Currently I have these settings:

Linker:                                    Macintosh 68k
68K Target-->Project Type:   Palm OS Code resource
68K Target-->File name:        Test.out

When building this the Test.out file is created, but it does not countin
anything, its size is 0.

Use the Palm OS 68K Linker instead. With the Mac OS 68K linker, your code resource is there, but it's in a hidden RESOURCE.FRK folder.


What do I need to do make CW create a 68k binary file?

If I set the Post-linker to "Palm Rez Post Linker" I can create an output
file that contains the 68k code, but this file also has the .prc database
header. I only want the pure 68k code, without the .prc header or resources.

Oh... I don't know of a way to make a .bin file that just has the binary code. The tools will always output a Mac OS resource file, a PRC file, or a static library -- there are no other formats. How was this possible before?


-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to