Wednesday, October 18, 2006

Assembler command-line

Like I mentioned previously, it looks like the order of arguments matters when assembling. The following commands work for me on all the machines for compiling the example program given in the x86-64 architecture guide:

cc example.s -L. -l6035 -o example
gcc4 example.s -L. -l6035 -o example

This assumes that lib6035.a is in the current directory.

Let me know if you have any problems.

1 Comments:

Anonymous Anonymous said...

This comment has been removed by a blog administrator.

9:30 PM  

Post a Comment

<< Home