Talk About Network

Google





Mac > Mac Programmer Tools > Re: (Assemblly ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 22 Topic 616 of 637
Post > Topic >>

Re: (Assemblly language) newbie wants to ****t Atari 68k to 'C'

by Robert Spykerman <robert.spykerman@[EMAIL PROTECTED] > May 9, 2008 at 11:02 PM

On May 10, 7:25 am, Sherman Pendley <spamt...@[EMAIL PROTECTED]
> wrote:
> Robert Spykerman <robert.spyker...@[EMAIL PROTECTED]
> writes:
> > The one thing you
> > probably won't find a lot on is how to write and link asm code on OS X
> > to c libs
>
> If you want to see what the ABI looks like in asm, you could have a look
> at the source for libffi, which is included with the gcc source. That's
> its job - you create a set of structures that describe a function's args
> and return value, and pass them along with a pointer to the function
> itself to a function in libffi. That function sets up the required stack
> frame and makes the function call.

This, I didn't know. Thank you very very much :)

Not having RTFM'ed just quite yet I'm assuming libffi is a DLL loaded
and present eh? Do you have any links to examples on how to link
assembly to DLL's ?

I have to admit I don't really like writing GUIs but I was thinking of
writing stuff that will call GTK - that way I (hopefully) will only
need to write most of the code once somewhere ie linux and might have
a fairly decent chance of ****ting to OSX  and perhaps even windoze.

Cheers + thanks

> sherm--

Robert Spykerman
 




 22 Posts in Topic:
Newbie
denis <dtheman@[EMAIL   2008-03-03 00:54:50 
Re: Newbie
Andrew <thecroft@[EMAI  2008-03-03 18:51:58 
Re: Newbie
denis <dtheman@[EMAIL   2008-03-03 21:16:13 
Re: Newbie
Gregory Weston <uce@[E  2008-03-04 11:20:23 
Re: Newbie
Andrew <thecroft@[EMAI  2008-03-04 15:42:33 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Robert Spykerman <robe  2008-05-09 23:02:06 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Sherman Pendley <spamt  2008-05-10 13:37:57 
Re: Newbie
rodmc <userprogoogle-1  2008-03-06 11:41:18 
(Assemblly language) newbie wants to port Atari 68k to 'C'
Beta Zero <beta_zero@[  2008-05-07 17:56:36 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
David Phillip Oster <o  2008-05-07 23:11:20 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Gregory Weston <uce@[E  2008-05-08 11:41:57 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Robert Spykerman <robe  2008-05-11 01:31:12 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Sherman Pendley <spamt  2008-05-11 15:43:26 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Beta Zero <beta_zero@[  2008-05-08 17:25:49 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
glenn andreas <gandrea  2008-05-09 11:24:28 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Jolly Roger <jollyroge  2008-05-09 17:24:59 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Beta Zero <beta_zero@[  2008-05-11 01:31:05 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Paul Russell <prussell  2008-05-11 16:41:23 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Robert Spykerman <robe  2008-05-09 02:43:34 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Sherman Pendley <spamt  2008-05-09 17:25:07 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Beta Zero <beta_zero@[  2008-05-12 01:08:38 
Re: (Assemblly language) newbie wants to port Atari 68k to 'C'
Paul Russell <prussell  2008-05-12 08:25:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 22:37:53 PST 2009.