View topic - How to build C to Assembly in QNX 4.25?
How to build C to Assembly in QNX 4.25?
5 posts
• Page 1 of 1
How to build C to Assembly in QNX 4.25?
Hi EveryOne,
I have some C source files in QNX 4.25. They could be compiled to execuable files successfully.
(with Watcom C compiler 10.6).
But I want to view their intermediate assembly code. What compiler option can I use?
I have some C source files in QNX 4.25. They could be compiled to execuable files successfully.
(with Watcom C compiler 10.6).
But I want to view their intermediate assembly code. What compiler option can I use?
- sieudot
- Active Member
- Posts: 47
- Joined: Thu Mar 17, 2005 8:14 am
- Location: VietNam
- Tim
- Senior Member
- Posts: 1514
- Joined: Wed Mar 10, 2004 12:28 am
Re: How to build C to Assembly in QNX 4.25?
Tim wrote:http://users.pja.edu.pl/~jms/qnx/help/watcom/compiler-tools/cpopts.html
Tim
Hi Tim,
I have seen these options, but I can't find out the option can be used to compile C file to ASM file.
- sieudot
- Active Member
- Posts: 47
- Joined: Thu Mar 17, 2005 8:14 am
- Location: VietNam
Re: How to build C to Assembly in QNX 4.25?
I have an old manual and it states:
"WATCOM compilers do no produce an assembly language listing directly from a source program. Instead, the WATCOM Disassembler can be used to generate an assembly lanugage listing from the object file generated by the compiler."
The Watcom disassembler is "wdisasm".
ms...
"WATCOM compilers do no produce an assembly language listing directly from a source program. Instead, the WATCOM Disassembler can be used to generate an assembly lanugage listing from the object file generated by the compiler."
The Watcom disassembler is "wdisasm".
ms...
- MSchneider
- Active Member
- Posts: 27
- Joined: Wed May 28, 2003 6:19 pm
Re: How to build C to Assembly in QNX 4.25?
Mr MSchneider,
Thanks for your suggest, I will try it.
Thanks for your suggest, I will try it.
- sieudot
- Active Member
- Posts: 47
- Joined: Thu Mar 17, 2005 8:14 am
- Location: VietNam
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests