Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22137

ld OS X: unknown option -z

$
0
0

I'm trying to compile a particular package for multi simulation called MUSIC (https://github.com/INCF/MUSIC). I didn't have any problems to compile it on ubuntu but when I try to compile it on os x I get this error:

ld: unknown option: -zcollect2: error: ld returned 1 exit statusmake[2]: *** [libmusic.la] Error 1

I tried almost everything: cross-compiling (the cross-compiler does not work), using ld installed with binutils... but I always get the same error. Does anyone know hot to solve this problem?

Thanks!


Viewing all articles
Browse latest Browse all 22137

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>