<P>Hi Josh,</P><P> </P><P> The gcc binary file (/usr/bin/gcc-4.2) has not been touched since I first got this machine (May 10th). </P><P> I wrote a simple hello world program and compiled it. 'file' told me :</P><P> </P><P>a.out: Mach-O 64-bit executable x86_64</P><P> </P><P>So it looks like that isn't the problem?</P><P> </P><P>~Deepak</P><P> </P><P> </P><P><BR><BR><FONT SIZE=2 STYLE=font-size:9pt><B>Josh Faust <jfaust@willowgarage.com></B></FONT><BR><FONT SIZE=2 STYLE=font-size:9pt>Sent by: ros-users-bounces@code.ros.org</FONT><BR><FONT SIZE=2 STYLE=font-size:9pt>09/09/2010 04:59 PMPlease respond toros-users@code.ros.org</FONT><BR><BR> <FONT SIZE=2 STYLE=font-size:9pt>To</FONT>   <FONT SIZE=2 STYLE=font-size:9pt>ros-users@code.ros.org</FONT><BR> <FONT SIZE=2 STYLE=font-size:9pt>cc</FONT>   <BR> <FONT SIZE=2 STYLE=font-size:9pt>bcc</FONT>   <FONT SIZE=2 STYLE=font-size:9pt>Deepak Ramachandran/HRA/ASC/HONDA</FONT><BR> <FONT SIZE=2 STYLE=font-size:9pt>Subject</FONT>   <FONT SIZE=2 STYLE=font-size:9pt>Re: [ros-users] ogre_tools broken on CTurtle/Snow leopard</FONT><BR>  <BR><BR></P><P><FONT FACE="Monospace,Courier">$ gcc -v</FONT><BR><BR><FONT FACE="Monospace,Courier"> Using built-in specs.</FONT><BR><FONT FACE="Monospace,Courier">Target: i686-apple-darwin10</FONT><BR><FONT FACE="Monospace,Courier">Configured with: /var/tmp/gcc/gcc-5664~38/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1</FONT><BR><FONT FACE="Monospace,Courier">Thread model: posix</FONT><BR><FONT FACE="Monospace,Courier">gcc version 4.2.1 (Apple Inc. build 5664)</FONT><BR><BR><BR><BR><FONT FACE="Monospace,Courier">It looks like there's a mismatch somehow between compilers used for various parts of the build.  macports built x86_64 binaries, and some steps of ROS are as well, but then it's trying to link as x86.  The above output seems to imply that gcc itself will output x86 code -- you can test that by writing a simple program and then checking it with "file".</FONT><BR><BR><FONT FACE="Monospace,Courier">Have you made changes to your developer tools recently that might cause something like this?</FONT><BR><BR><FONT FACE="Monospace,Courier">Josh</FONT><BR><FONT FACE="Monospace,Courier">_______________________________________________<BR>ros-users mailing list<BR>ros-users@code.ros.org<BR><A HREF=https://code.ros.org/mailman/listinfo/ros-users>https://code.ros.org/mailman/listinfo/ros-users</A></FONT><BR></P>