This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Changes for running GCC on MacOS X ...


The ABI of Darwin and LinuxPPC are different.
Also the file format of Darwin's executables are different
than Linux's (mach-o vs. elf).

Thanks,
Andrew Pinski

On Monday, June 17, 2002, at 06:38 , Jan-Hendrik Palic wrote:

#include <hello>

On Mon, Jun 17, 2002 at 03:04:56PM -0700, Stan Shebs wrote:
Look at config/darwin* and config/rs6000/darwin*
if you wan to see the i386 port of gcc to darwin look at
config/i386/darwin*
Actually, the x86 Darwin support is not in FSF GCC yet, only in
Apple's version.  I expect to post an FSF patch in time to
get into 3.2 though.
Call me stupid, but I'm not an assembly-expert and not a compiler guru,
but can you say, why the assembly code is not the same on PPC on Linux
and Mac OS X?
We had this problem with OpenOffice.org, that we had to port the
assembly code for PPC_Linux to MacOS X and we had to do some changes to
get this piece of code running on MacOS X.

I thought, that assembly is arch dependent and not OS dependent.

Regards
Jan

--
.''`. Jan-Hendrik Palic |
: :' : ** Debian GNU/ Linux ** | ** OpenOffice.org ** ,.. ,..
`. `' http://www.debian.org | http://www.openoffice.org ,: ..` `
`- jan.palic@linux-debian.de | ' ` `







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]