public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Porting of gcc 4.2.3 to AIX
@ 2008-07-18 11:34 Vardhan, Sundara (GE Infra, Energy)
  2008-07-18 12:03 ` Andrew Haley
  2008-07-18 12:26 ` Mihai Donțu
  0 siblings, 2 replies; 4+ messages in thread
From: Vardhan, Sundara (GE Infra, Energy) @ 2008-07-18 11:34 UTC (permalink / raw)
  To: gcc-help

Hi All

I was able to go further from the last time on compiling gcc 4.2.3 on AIX 5.3. However, I get the following error and the make aborts

xgcc: error trying to exec '/cots/gnu/gcc-4.2.3/host-powerpc-ibm-aix5.3.0.0/gcc/as': execv: No such file or directory

"as" is present and is a shell script calling /usr/bin/as. When I try to execute the above line from command line too I get the same error. I am running this in bash and using the AIX native as  which is in /usr/bin/as

Any ideas as to why this should happen? Appreciate your inputs and advice.

With Regards

Vardhan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Porting of gcc 4.2.3 to AIX
  2008-07-18 11:34 Porting of gcc 4.2.3 to AIX Vardhan, Sundara (GE Infra, Energy)
@ 2008-07-18 12:03 ` Andrew Haley
  2008-07-18 12:49   ` Vardhan, Sundara (GE Infra, Energy)
  2008-07-18 12:26 ` Mihai Donțu
  1 sibling, 1 reply; 4+ messages in thread
From: Andrew Haley @ 2008-07-18 12:03 UTC (permalink / raw)
  To: Vardhan, Sundara (GE Infra, Energy); +Cc: gcc-help

Vardhan, Sundara (GE Infra, Energy) wrote:
> Hi All
> 
> I was able to go further from the last time on compiling gcc 4.2.3 on AIX 5.3. However, I get the following error and the make aborts
> 
> xgcc: error trying to exec '/cots/gnu/gcc-4.2.3/host-powerpc-ibm-aix5.3.0.0/gcc/as': execv: No such file or directory
> 
> "as" is present and is a shell script calling /usr/bin/as. When I try to execute the above line from command line too I get the same error. I am running this in bash and using the AIX native as  which is in /usr/bin/as
> 
> Any ideas as to why this should happen? Appreciate your inputs and advice.

You ask many questions but you never reply to anything anyone says to you.
I'm wondering why anyone bothers to help you.  This will be the last time
I try to do so.

Look at the very first line of as.  What is it?  Is that file present?

Andrew.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Porting of gcc 4.2.3 to AIX
  2008-07-18 11:34 Porting of gcc 4.2.3 to AIX Vardhan, Sundara (GE Infra, Energy)
  2008-07-18 12:03 ` Andrew Haley
@ 2008-07-18 12:26 ` Mihai Donțu
  1 sibling, 0 replies; 4+ messages in thread
From: Mihai Donțu @ 2008-07-18 12:26 UTC (permalink / raw)
  To: gcc-help; +Cc: Vardhan, Sundara (GE Infra, Energy)

On Friday 18 July 2008, Vardhan, Sundara (GE Infra, Energy) wrote:
> Hi All
>
> I was able to go further from the last time on compiling gcc 4.2.3 on AIX
> 5.3. However, I get the following error and the make aborts
>
> xgcc: error trying to exec
> '/cots/gnu/gcc-4.2.3/host-powerpc-ibm-aix5.3.0.0/gcc/as': execv: No such
> file or directory
>
> "as" is present and is a shell script calling /usr/bin/as. When I try to
> execute the above line from command line too I get the same error. I am
> running this in bash and using the AIX native as  which is in /usr/bin/as
>
> Any ideas as to why this should happen? Appreciate your inputs and advice.

I have never used an AIX, but on Linux you can get this error if the binary 
has an invalid dynamic linker. Eg:

# cat a.c
static const char v[] __attribute__((section(".interp"))) 
= "/lib/libfoo.so.2";

int main( void )
{
        return 0;
}

# gcc -fPIC -shared a.c -o liba.so
# ./liba.so
bash: ./liba.so: No such file or directory

As to how could this happen, beats me. :)

-- 
Mihai DONÈšU
Linux Software Developer
BitDefender
------------------------------
Email: mdontu@bitdefender.com
Phone: +40 212 063 470
------------------------------
www.bitdefender.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Porting of gcc 4.2.3 to AIX
  2008-07-18 12:03 ` Andrew Haley
@ 2008-07-18 12:49   ` Vardhan, Sundara (GE Infra, Energy)
  0 siblings, 0 replies; 4+ messages in thread
From: Vardhan, Sundara (GE Infra, Energy) @ 2008-07-18 12:49 UTC (permalink / raw)
  To: Andrew Haley; +Cc: gcc-help

Hi Andrew

My sincere apologizes for not sending mail back. Will do so henceforth. I do reply back to the person sending me the mail, but sometimes I do miss out. I will ensure that send mail on  what I find etc to all from now.


With Regards

Vardhan

-----Original Message-----
From: Andrew Haley [mailto:aph@redhat.com]
Sent: Friday, July 18, 2008 7:54 AM
To: Vardhan, Sundara (GE Infra, Energy)
Cc: gcc-help@gcc.gnu.org
Subject: Re: Porting of gcc 4.2.3 to AIX


Vardhan, Sundara (GE Infra, Energy) wrote:
> Hi All
> 
> I was able to go further from the last time on compiling gcc 4.2.3 on AIX 5.3. However, I get the following error and the make aborts
> 
> xgcc: error trying to exec '/cots/gnu/gcc-4.2.3/host-powerpc-ibm-aix5.3.0.0/gcc/as': execv: No such file or directory
> 
> "as" is present and is a shell script calling /usr/bin/as. When I try to execute the above line from command line too I get the same error. I am running this in bash and using the AIX native as  which is in /usr/bin/as
> 
> Any ideas as to why this should happen? Appreciate your inputs and advice.

You ask many questions but you never reply to anything anyone says to you.
I'm wondering why anyone bothers to help you.  This will be the last time
I try to do so.

Look at the very first line of as.  What is it?  Is that file present?

Andrew.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-18 12:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-18 11:34 Porting of gcc 4.2.3 to AIX Vardhan, Sundara (GE Infra, Energy)
2008-07-18 12:03 ` Andrew Haley
2008-07-18 12:49   ` Vardhan, Sundara (GE Infra, Energy)
2008-07-18 12:26 ` Mihai Donțu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).