This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Run an AP compiled by gcc but run on a OS built by SDS6.5 (m68k)?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]