View Single Post
Old 28 July 2013, 18:28   #1
Cowcat
Registered User
 
Join Date: Apr 2013
Location: Mallorca
Posts: 759
Mixed 68k / PPC code on VBCC.

Hello. This is my first post.

So far I've been testing some 68k C code that sends data (array with integers) to a PPC C code function and returns the result: Compiled each object file with their respective cpu directives and then linked both finally as 68k code. It works.

The problem I face is when my data is based arround float point: The PPC code needs the link library -lm to work correctly, but at linking time I can only use 68k link libraries.

Being a half begginer coder I don't know if it is possible such a thing, or if I need some kind of stub (fd,etc) with mixed math code from both cpu's.

Any idea?
"2013 and playing with my old Commodore A 1200-40/PPC "

Last edited by Cowcat; 28 July 2013 at 19:47.
Cowcat is offline  
 
Page generated in 0.04328 seconds with 11 queries