Hi,
I've looked through the varous forums and searched under a variety of terms, but can't seem to find the answer to this question :
what are the proper toolchain sequence entries and default compiler directives that are needed to compile assembly code using AS.EXE?
Obviously, AS.EXE ought to be the compiler. I get that. Is DLLTOOL and AR used for dynamic and static libraries, respectively?
I am not an assembly person, but got a bit of code (in a .S file) which I would like to compile into a library. It contains a function I would then like to call from a C program. So there is some exporting of symbols that has to go on. But I keep getting tripped up with the C program seeing "undefined references". (What I had tried to do as compile the assembly with
as test.s -o test.o
ar ru libtest.a test.o
then putting libtest.a in the library path for the linker.)
In any case, any help would be appreciated.
Matt