Hi there,
I am using CW9.0 on MAC OS 10.2.8 and mwcc/mwld comman line to do following:
I have a directory wich contains following:
encrypt.c
decrypt.c
main.c <-- Main function
libone.a
libtwo.a
When I do following on command line:
mwcc -I. -flag dollar_identifiers -opt none -o output.app encrypt.c
decrypt.c main.c libone.a libtwo.a
Command line gives me following error message:
Error: 'ibone.a (doesn't read libone.a but it reads as ibone.a)
Error caused tool to abort.
I tried same command line with:
mwcc -I. -flag dollar_identifiers -opt none -o output.app encrypt.c
decrypt.c main.c -lone -ltwo
It generates same error.
Then, I tried same command line with "mwpefcc" and it works without any
problem.
Can you please tell me what am I doing wrong?
Codewarrior 9.0 documentation doesn't really help with this problem.
Thanks
MW Ron - 08 Jan 2004 19:34 GMT
>Hi there,
>
[quoted text clipped - 26 lines]
>
>Can you please tell me what am I doing wrong?
Well since the PEF compiler works just fine, it looks like you made a
PEF library libone.a and libtwo.a and that is why.
Maybe a bit more information would help if that isn't it.
Ron

Signature
Metrowerks, maker of CodeWarrior - "Software Starts Here"
Ron Liechty - MWRon@metrowerks.com - <http://www.metrowerks.com>