| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Andrew Pinski <email@hidden> writes:
On Monday, Jun 23, 2003, at 11:18 US/Eastern, Pierre d'Herbemont wrote:
Hi,
I would like to know why is there differences between Mac OS X and
Linux PowerPC assembler syntax. For example this is not working fine
on Mac OS X:
lis 9,imports+32@ha
you will have to change this to:
lis r9, ha16(imports+32)
Are there some settings you can change to enable Linux syntax on Mac
OS X.
No because Linux and Darwin uses two different file formats and ABI's
for executables.
You should use two different files for Darwin and Linux.
I know that the asm files shouldn't be used directly for each
platform, but I do with there was a consistant asm format in gcc. It's
a pain to have to remember all the different styles.
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.