[Simh] Build problem under Mac OS X.

Jason Stevens neozeed at gmail.com
Tue Jun 2 11:46:46 EDT 2009


>
> I have access to both if you need anything checked/built.
>
> --Toby


That would be awesome... do you have the tools to build universal binaries?

I recall it being something like this:

$ gcc -arch i386 -arch ppc 1.c -o 1

which will run both the i386 & ppc compilers, and put the images into
a single Mach-O file...  So it'd be a matter of modifying the
makefile's CFLAGS variable to include the two arch's.

I also used to do 'networking' versions by first building libpcap (as
not all Mac OSX versions have libpcap) but instead of doing the -lpcap
bit to link to it, I linked with all the object files from the libpcap
build directory.....

If the networkign bit seems to complicated, don't worry, but a
universal set of regular exe's would be fantastic..  Also if you tar/
bzip2 them to me in gmail it's virus scanner won't trigger then I can
just upload them directly to sourceforge...


Thanks so much again!

Jason



More information about the Simh mailing list