Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

two assembler source with not same architecture in same pr..

 
   Macintosh computer (Home) -> Programmer Help RSS
Next:  Perl: @INC-Path when starting an app from finder  
Author Message
abz

External


Since: Jun 28, 2005
Posts: 13



(Msg. 1) Posted: Mon Jan 28, 2008 5:56 pm
Post subject: two assembler source with not same architecture in same project ?
Archived from groups: comp>sys>mac>programmer>help (more info?)

Is it possible ?
By example one source ppc64 assembler and one source x86_64 assembler.
Can I use pre-processor directive to call a function in one architecture
and call an other function for the other architecture ?

Any suggestion or web pointer will be greatly appreciate.

 >> Stay informed about: two assembler source with not same architecture in same pr.. 
Back to top
Login to vote
David Phillip Oste

External


Since: Apr 25, 2004
Posts: 974



(Msg. 2) Posted: Sun Feb 03, 2008 9:05 am
Post subject: Re: two assembler source with not same architecture in same project ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
abz wrote:

> Is it possible ?
> By example one source ppc64 assembler and one source x86_64 assembler.
> Can I use pre-processor directive to call a function in one architecture
> and call an other function for the other architecture ?
>
> Any suggestion or web pointer will be greatly appreciate.

The simple answer is: NO.

No Macs have both a PowerPC and an Intel processor. Rosetta, the PowerPC
emulator in Intel Macs supports ppc, but not ppc64.

 >> Stay informed about: two assembler source with not same architecture in same pr.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Setting x86_64 architecture in Xcode - It seem that the default architectures for a new project in Xcode 3.0 with Leopard is i386 (at least for my Mac mini Core 2 Duo). I found a way to set the architectures to x86_64: Select project name in "Groups & Files" and click "Inf...

G4 & G5 Assembler programming intro - Where can I find information for doing assembler programming for the G4 and G5 processors under Darwin? I would also like to know about the executable (binary) file format and linker/loader. Thanks -- One Emacs to rule them all. One Emacs to find...

Stack and "as" assembler in Xcode - This is code assembled by "as" and disassembled by Xcode 0x0001b618 <+0000> mflr r0 0x0001b61c <+0004> stwu r0,-4(r1) 0x0001b620 <+0008> lwz r0,0(r1) 0x0001b624 <+0012&amp...

Assembler Code for a Breakpoint - Hi all, I search a inline assembler code for a breakpoint under ppc (osx). Has anyone a idea. Under x86 is asm { int 3 } the right way.

GDB error for single step assembler powerpc - the error message is: Previous frame inner to this frame (gdb could not unwind past this frame) si gdb commande work correctly in console window but xcode debugger window fail to display valid info for $pc et disassembled code. How to bypass the..
   Macintosh computer (Home) -> Programmer Help All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]