Hi everyone,
I'm trying to build a libray using mwld on a bunch of .o on the command
line.
I then try to add this static library to a project in the IDE but I
can't.
I tried with the sample project library that comes in the sample and it
works. So here is my question: what switches do I need to flip on when
compiling the static library on the command line?
Thanks,
Chris
CodeWarrior Development Studio for Mac OS v9
Dual G4, 1Gb RAM
Z. Majeed - 18 Dec 2003 01:57 GMT
mwld -lib -o libmystatic.a file1.o file2.o ...
works for me.
Of course the project must be Mach-O if you want to add a library created by
mwld. You may also want to try setting the file type and creator to MLIB and
CWIE respectively.
Zartaj
> Hi everyone,
>
[quoted text clipped - 13 lines]
> CodeWarrior Development Studio for Mac OS v9
> Dual G4, 1Gb RAM