[Magic-dev] Re: IRSIM on Mac OS-X
R. Timothy Edwards
tim at opencircuitdesign.com
Thu Jan 6 16:36:43 EST 2005
Dear Kevin,
> ld: warning suggest use of -bind_at_load, as lazy binding may result in
> errors or different symbols being used
If I take this message at face value, then "configure.in" should be changed
from (line 997):
LDDL_FLAGS="-dynamiclib -flat_namespace -undefined suppress -noprebind"
to
LDDL_FLAGS="-dynamiclib -flat_namespace -undefined suppress \
-noprebind -bind_at_load"
This option may be mutually exclusive with "-noprebind" (I thought they
were the same, but apparently not). Problems sometimes occur depending
on what linker (GNU or Mac) is being used by gcc.
Do "autoconf" and run "configure" again (alternately, the change can
be made to "configure" instead of "configure.in" and you can avoid the
autoconf step).
The "configure" script is nearly identical to that used for magic, and
has been known to work on at least some configurations of OS-X. Check
the mailing list archive for discussions of compiling magic under OS-X,
because these discussions will be relevant to irsim-9.7.1.
Regards,
Tim
More information about the magic-dev
mailing list