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


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

Why SC don't work


Hi,

Now my PPC cross-compiling tool chain is UP under Linux, i've another
little problem...dealing with systems calls...

void toto()
{
.....
asm("
addi 10,0,<fonction code>
sc
");
.....
}

system call 'fonction code' never called...any clue ?
So i'd like to have some advices about newlib_1.8.0, for example a
simple putchar('x')...how's made the system call ?

Thanks for your help.

PS : during compiling sequence, i use -mmvme flag since i'm running
PPCBUG over my ATLAS Motherboard

Francois.

-- 
-------------------------------------------------------------
THIEBOLT Francois \ You think your computer run too slow ?
UPS Toulouse III  \ - Check nobody's asked for tea !
thiebolt@irit.fr  \ "The Hitchikers Guide to the Galaxy" D.Adams
-------------------------------------------------------------