[Simh] Build problem under Mac OS X.
Toby Thain
toby at telegraphics.com.au
Tue Jun 2 12:07:13 EDT 2009
On 2-Jun-09, at 11:46 AM, Jason Stevens wrote:
>>
>> 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.
Yes I do this frequently for my own projects.
>
> 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...
OK good idea.
--Toby
>
>
> Thanks so much again!
>
> Jason
More information about the Simh
mailing list