Page 2 of 2
Re: link c/asm
Posted: Tue Oct 20, 2009 9:36 am
by Velko
Funny, though, OP's problem has nothing to do with C. It's the ASM part which does not link.
Re: link c/asm
Posted: Tue Oct 20, 2009 10:04 am
by lama
to solar:
thanks man, you are right.i should say more about the problem and definitely pay more attention to posted replies...anyway, i setuped that gcc cc, and (at least) linked those files together.it looks great at first look ... at 0 is 66 b8 10 00- mov ax, 10 , first line in preps.asm .. those two lines in pstst.c are somewhere behind compiled preps.asm surrounded by a lots of code - i dont know where it came from .. , so this hole thing is big as hell - over 128 MB. what am i done wrong this time?if you have still patience with me..
Re: link c/asm
Posted: Tue Oct 20, 2009 10:11 am
by Solar
Try following the
Bare bones tutorial, and then extend that by your ASM code. That gives you a running start.