On 12/22/06, Robert Plantz <plantz@xxxxxxxxxx> wrote:
On Fri, 2006-12-22 at 08:16 -0800, Robert Plantz wrote: > On Fri, 2006-12-22 at 08:18 -0600, Kenton Brede wrote: > > On 12/22/06, Frank Kotler <fbkotler@xxxxxxxxxxx> wrote: > > > > At any rate I tried: > > > > $ as --32 power.s -o power.o > > > > $ ld power.o -o power > > > > First, at this point, if you do > gcc -m32 power.o -o power Oops. If it wasn't clear, I meant to use gcc instead of ld for the linking phase. I.e., as --32 --gstabs power.s -o power.o gcc -m32 power.o -o power The "--gstabs" option will include debugging info. Then you can use gdb to single step through your program etc. Great learning tool.
I tried that and the output of gcc gave me enough information that I was able to get the prog to compile on the system. Thanks :) Kent -- "It may be true that the law cannot make a man love me, but it can stop him from lynching me, and I think that's pretty important." - Martin Luther King Jr. - To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- Follow-Ups:
- Re: suffix or operands invalid for
- From: Robert Plantz
- Re: suffix or operands invalid for
- References:
- suffix or operands invalid for
- From: Kenton Brede
- Re: suffix or operands invalid for
- From: Frank Kotler
- Re: suffix or operands invalid for
- From: Kenton Brede
- Re: suffix or operands invalid for
- From: Robert Plantz
- Re: suffix or operands invalid for
- From: Robert Plantz
- suffix or operands invalid for
- Prev by Date: Re: suffix or operands invalid for
- Next by Date: Re: suffix or operands invalid for
- Previous by thread: Re: suffix or operands invalid for
- Next by thread: Re: suffix or operands invalid for
- Index(es):