Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X asm syntax vs Linux asm syntax



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.

Thanks,
Andrew Pinski



Cheers,

Pierre
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Mac OS X asm syntax vs Linux asm syntax (From: "Pierre d'Herbemont" <email@hidden>)



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.