Run an AP compiled by gcc but run on a OS built by SDS6.5 (m68k)?
Cliff Tsai
clifftsai@axisoft.com
Fri Aug 17 03:44:00 GMT 2001
Actually,I found that
The SDS is "called function" pop the return value to D0.
And Gcc is "caller function" pop the return value to D0.
What options can I use in Gcc to let Gcc is "called funcion" pop?
Cliff.
----- Original Message -----
From: "Cliff Tsai" <clifftsai@axisoft.com>
To: "crossgcc" <crossgcc@sources.redhat.com>
Sent: Friday, August 17, 2001 6:07 PM
Subject: Run an AP compiled by gcc but run on a OS built by SDS6.5 (m68k)?
> Hi:
>
> I've tried to build an AP compiled by Gcc-2.95.3,
> But when I run the AP on a OS(built by SDS),
> the system crash.
> I've tried to generate two assembly to see what's wrong.
> I found the calling convension is different.
> How can I solve this,and what option can I use in Gcc?
>
> Thanks!
>
> Cliff
>
>
>
>
>
>
> ------
> Want more information? See the CrossGCC FAQ,
http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sourceware.cygnus.com
>
>
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list