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.
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:
This comment has been removed by a blog administrator.
Post a Comment
<< Home