[ant-contrib - Help] create Universal Static Library on Mac

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <[email protected]>
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4252861
By: gupta_rashi21

I tried to create Universal Static Libary on Mac but when i specify 

<linker name="gcc"
...
<linkerarg value="-arch i386" />
</linker>

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 ...]

Build Failed

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

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=113701

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.