On 1/23/07, DEEPAK BHATIA [EMAIL PROTECTED] wrote:
Hi,
I am not sure if this the right place to ask this question.
How can we use cc to product assembler output file ?
cc -S
--
Eric Enright
___
opensolaris-discuss mailing list
: opensolaris-discuss@opensolaris.org
Subject: Re: [osol-discuss] Assembler Output
On 1/23/07, DEEPAK BHATIA [EMAIL PROTECTED] wrote:
Hi,
I am not sure if this the right place to ask this question.
How can we use cc to product assembler output file ?
cc -S
--
Eric Enright
To: Eric Enright
Cc: opensolaris-discuss@opensolaris.org
Subject: RE: [osol-discuss] Assembler Output
Thanks for your reply.
I am talking about a.out given in the format below.
http://fuse4bsd.creo.hu/localcgi/man-cgi.cgi?a.out+5
Regards
Deepak Bhatia
-Original Message-
From: Eric Enright
Hi,
I am not sure if this the right place to ask this question.
How can we use cc to product assembler output file ?
Regards
bash-3.2$ cat hello.c
#include stdio.h
int
main(int argc, char *argv[])
{
printf ( Hello World!\n );
return (0);
}
bash-3.2$ CC=cc;export CC
bash-3.2$
forgot to add this :
bash-3.2$ cc -xstrconst -xildoff -xarch=v9a -xlibmil -Xc -o hello hello.s
bash-3.2$ ls -lap hello
-rwxr-xr-x 1 dclarke csw 7560 Jan 23 10:04 hello
bash-3.2$ date
Tue Jan 23 10:04:32 EST 2007
bash-3.2$ ./hello
Hello World!
-discuss] Assembler Output
Hi,
I am not sure if this the right place to ask this question.
How can we use cc to product assembler output file ?
Regards
bash-3.2$ cat hello.c
#include stdio.h
int
main(int argc, char *argv[])
{
printf ( Hello World!\n );
return (0);
}
bash-3.2$ CC=cc
Deepak Bhatia writes:
Thanks for your reply.
I am talking about a.out given in the format below.
http://fuse4bsd.creo.hu/localcgi/man-cgi.cgi?a.out+5
Why would you want to do this? What problem are you trying to solve?
--
James Carlson, Solaris Networking [EMAIL PROTECTED]
-discuss@opensolaris.org
Subject: RE: [osol-discuss] Assembler Output
Deepak Bhatia writes:
Thanks for your reply.
I am talking about a.out given in the format below.
http://fuse4bsd.creo.hu/localcgi/man-cgi.cgi?a.out+5
Why would you want to do this? What problem are you trying to solve
Deepak Bhatia wrote:
Thanks for your reply.
Will the hello executable execute the code of dynamic linker from the file
a.out.c
in the following directory /usr/src/cmd/sgs/rtld/common
But I have a i386 machine and I don't know why cc is not taking -xarch=v8.
So you have an i386 machine and
Deepak Bhatia writes:
But I have a i386 machine and I don't know why cc is not taking -xarch=v8.
Though -xarch=generic or -xarch=386 are working.
v8 means SPARC architecture version 8 -- that is, 32-bit SPARC.
There's no such thing as an i386 v8 architecture, nor do the tools
support
Deepak Bhatia wrote:
I am working on a project related to the dynamic linker on Solaris.
You have asked a number of rudimentary questions in regards this area
of Solaris on this alias, and I have suggested that you target your
questions to [EMAIL PROTECTED], which is a more appropriate
alias
Deepak Bhatia writes:
When I create an ELF File on my i386 machine with Solaris Nevada
and execute the code
./ld.so.1 a.out
I am not able to reach the file a.out.c which it looks like is used to
handle
old a.out (Assembler OUTput) file.
Please confirm if this is true or not.
It's
Rod Evans wrote:
Given that we're now several years into the *new* Solars :-), I have
on my list of things to do, the EOL of all this AOUT technology. I
find it hard to believe that anyone still expects a 4.x binary to
run on Solaris (although Sun had a few squirreled away up until a
couple of
Deepak Bhatia wrote:
When we do
#cc test.c
We get a.out file but it is again ELF File format file.
A.out is the name of a binary format that predates ELF. This compiler
always produces ELF output files, even if the file name happens to be
a.out.
Hi,
I am working on a project related
Rod Evans wrote:
Given that we're now several years into the *new* Solars :-), I have
on my list of things to do, the EOL of all this AOUT technology. I
find it hard to believe that anyone still expects a 4.x binary to
run on Solaris (although Sun had a few squirreled away up until a
couple
[EMAIL PROTECTED] wrote:
Rod Evans wrote:
Given that we're now several years into the *new* Solars :-), I have
on my list of things to do, the EOL of all this AOUT technology. I
find it hard to believe that anyone still expects a 4.x binary to
run on Solaris (although Sun had a few squirreled
[EMAIL PROTECTED] wrote:
Rod Evans wrote:
Given that we're now several years into the *new* Solars :-), I have
on my list of things to do, the EOL of all this AOUT technology. I
find it hard to believe that anyone still expects a 4.x binary to
run on Solaris (although Sun had a few
17 matches
Mail list logo