Re: c++ compiler problem
Re: c++ compiler problem
- Subject: Re: c++ compiler problem
- From: Wayne Price <email@hidden>
- Date: Fri, 14 Sep 2007 11:26:14 +0100
'c++ -arch ppc -arch i386' should do the trick.
Wayne
Valentin Dan wrote:
Hi,
This is not actually related to FCP, but maybe someone knows the answer
anyway J
The problem is that when I compile with the command “c++ myFile.cpp” on
a PowerPC the resulting file can be executed both on a PowerPC and on an
Intel (with Mac OS X v 10.4 on them); but when I compile on the Intel,
the file can only be executed on the Intel machine.
Both calls to “c++” actually execute “g++-4.0.1”.
Is there a compiler switch I need to use on the Intel Mac to render
universal executable files (usable on the PowerPC, I’m not trying to use
the exec on Windows J … just Mac OS X 10.4).
Thanks.
___________________________________________________________________
*Valentin Dan*, Software Developer Direct: +1 905 886
1833 ext.3047
Email: email@hidden
<mailto:email@hidden> Office: +40 356-710158
Masstech Group Inc. Fax: +40 256-220912
http://www.masstechgroup.com <http://www.masstechgroup.com/>
THIS MESSAGE IS INTENDED ONLY FOR THE ADDRESSEE. IT MAY CONTAIN
PRIVILEGED OR CONFIDENTIAL INFORMATION.ANY UNAUTHORIZED DISCLOSURE IS
STRICTLY PROHIBITED.IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE
NOTIFY US IMMEDIATELY SO THAT WE MAY CORRECT THE RECORDS. PLEASE THEN
DELETE THE ORIGINAL MESSAGE. THANK YOU.
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.487 / Virus Database: 269.13.18/1007 - Release Date:
9/13/2007 9:48 PM
------------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Wayne Price
Development Director
The Pixel Farm Ltd
67 Bexley Street
Windsor
Berkshire
SL4 5BX
T +44(0)1753 852238
Farming Pixels|Herding Data
www.thepixelfarm.co.uk
The information in this email is intended only for the addressee(s) named
above. Access to this email by anyone else is unauthorised. If you are not
the intended recipient of this message any disclosure, copying, distribution
or any action taken in reliance on it is prohibited and may be unlawful.
The Pixel Farm Ltd do not warrant that any attachments are free from viruses
or other defects and accept no liability for any losses resulting from
infected email transmissions.
Please note that any views expressed in this email may be those of the
originator and do not necessarily reflect those of this organisation.
Please note we reserve the right to monitor all e-mail communication
through our internal and external networks.
The Pixel Farm incorporated in England and Wales under registration number
04580065
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden