[Simh] Build problem under Mac OS X.

Pär Moberg gw at ghost-wolf.com
Tue Jun 2 12:12:46 EDT 2009


Doesn't sourceforge have a compiler environment for Mac OS X?
(may not be relevant here but it should ensure virus free compile)
//Pär

Toby Thain skrev:
> 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
>>     
>
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>   




More information about the Simh mailing list