I tried to create Universal Static Libary on Mac but when i specify
<linkerarg value="-arch i386" />
the following error occur by ant
[cc] 0 total files to be compiled.
[cc] Starting link
[cc] ar: illegal option -- h
[cc] usage: ar -d [-TLsv] archive file ...
[cc] ar -m [-TLsv] archive file ...
[cc] ar -m [-abiTLsv] position archive file ...
[cc] ar -p [-TLsv] archive [file ...]
[cc] ar -q [-cTLsv] archive file ...
[cc] ar -r [-cuTLsv] archive file ...
[cc] ar -r [-abciuTLsv] position archive file ...
[cc] ar -t [-TLsv] archive [file ...]
[cc] ar -x [-ouTLsv] archive [file ...]
To link the object files, cc tasks is using "ar" but not "gcc" and that is why it is giving errors for "ar"
Can anyone guide me how can i create universal Binary on MAc through cc tasks
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.