public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Help with GCC
@ 2003-01-07 11:38 Andrew Luande
  2003-01-07 15:14 ` Gerald Pfeifer
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew Luande @ 2003-01-07 11:38 UTC (permalink / raw)
  To: gnu, gcc


Please help me if you can

 

am hoping someone can tell me where am going wrong with my installation of
SSH 3.5p1.  I have a netrax1 that I have just installed Solaris 8.  I
downloaded the SSH software from the site.  When  it compile it does this

 

# ./configure

checking for gcc... gcc

checking for C compiler default output... configure: error: C compiler
cannot create executables

 

and the config.log looks something like this

bash-2.05# more config.log

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

 

It was created by configure, which was

generated by GNU Autoconf 2.53.  Invocation command line was

 

  $ ./configure

 

## --------- ##

## Platform. ##

## --------- ##

 

hostname = netrax1

uname -m = sun4u

uname -r = 5.8

uname -s = SunOS

uname -v = Generic_108528-17

 

/usr/bin/uname -p = sparc

/bin/uname -X     = System = SunOS

Node = netrax1

Release = 5.8

KernelID = Generic_108528-17

Machine = sun4u

BusType = <unknown>

Serial = <unknown>

Users = <unknown>

OEM# = 0

Origin# = 1

NumCPU = 1

 

/bin/arch              = sun4

/usr/bin/arch -k       = sun4u

/usr/convex/getsysinfo = unknown

hostinfo               = unknown

/bin/machine           = unknown

/usr/bin/oslevel       = unknown

/bin/universe          = unknown

 

PATH: /usr/sbin

PATH: /usr/bin

PATH: /bin

PATH: /usr/local/bin

PATH: /usr/ccs/bin

PATH: /usr/ucbA

PATH: /usr/sadm/bin

PATH: /opt/SUNWppro/bin

 

 

## ----------- ##

## Core tests. ##

## ----------- ##

 

configure:1286: checking for gcc

configure:1302: found /usr/local/bin/gcc

configure:1312: result: gcc

configure:1556: checking for C compiler version

configure:1559: gcc --version </dev/null >&5

2.95.2

configure:1562: $? = 0

configure:1564: gcc -v </dev/null >&5

Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs

gcc version 2.95.2 19991024 (release)

configure:1567: $? = 0

configure:1569: gcc -V </dev/null >&5

gcc: argument to `-V' is missing

configure:1572: $? = 1

configure:1598: checking for C compiler default output

configure:1601: gcc    conftest.c  >&5

gcc: installation problem, cannot exec `as': No such file or directory

configure:1604: $? = 1

configure: failed program was:

#line 1575 "configure"

#include "confdefs.h"

 

#ifdef F77_DUMMY_MAIN

#  ifdef __cplusplus

     extern "C"

#  endif

   int F77_DUMMY_MAIN() { return 1; }

#endif

int

main ()

{

 

  ;

  return 0;

}

configure:1631: error: C compiler cannot create executables

 

## ---------------- ##

## Cache variables. ##

## ---------------- ##

 

ac_cv_env_CC_set=''

ac_cv_env_CC_value=''

ac_cv_env_CFLAGS_set=''

ac_cv_env_CFLAGS_value=''

ac_cv_env_CPPFLAGS_set=''

ac_cv_env_CPPFLAGS_value=''

ac_cv_env_CPP_set=''

ac_cv_env_CPP_value=''

ac_cv_env_LDFLAGS_set=''

ac_cv_env_LDFLAGS_value=''

ac_cv_env_build_alias_set=''

ac_cv_env_build_alias_value=''

ac_cv_env_host_alias_set=''

ac_cv_env_host_alias_value=''

ac_cv_env_target_alias_set=''

ac_cv_env_target_alias_value=''

ac_cv_prog_ac_ct_CC=gcc

 

## ----------- ##

## confdefs.h. ##

## ----------- ##

 

#define PACKAGE_NAME ""

#define PACKAGE_TARNAME ""

#define PACKAGE_VERSION ""

#define PACKAGE_STRING ""

#define PACKAGE_BUGREPORT ""

 

configure: exit 77

 

This are my variables 

 

bash-2.05# env

PWD=/opt/software/openssh-3.4p1

TZ=US/Eastern

HZ=100

HOSTNAME=netrax1

MACHTYPE=sparc-sun-solaris2.8

LOGNAME=root

SHLVL=1

SHELL=/sbin/sh

HOSTTYPE=sparc

OSTYPE=solaris2.8

HOME=/

TERM=vt100

PATH=/usr/sbin:/usr/bin:/bin:/usr/local/bin:/usr/ccs/bin:/usr/ucbA:/usr/sadm
/bin:/opt/SUNWppro/bin

_=/usr/bin/env

OLDPWD=/opt/software

 

Please help if you can.


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

* Re: Help with GCC
  2003-01-07 11:38 Help with GCC Andrew Luande
@ 2003-01-07 15:14 ` Gerald Pfeifer
  0 siblings, 0 replies; 12+ messages in thread
From: Gerald Pfeifer @ 2003-01-07 15:14 UTC (permalink / raw)
  To: Andrew Luande; +Cc: gnu, gcc

On Tue, 7 Jan 2003, Andrew Luande wrote:
> # ./configure
>
> checking for gcc... gcc
>
> checking for C compiler default output... configure: error: C compiler
> cannot create executables

First of all, this is not appropriate for gcc@gcc.gnu.org, and it is
even less appropriate for gnu@gnu.org.

And second, you do not have a C compiler installed, or your configure
script is not able to find that compiler.


Please do *not* respond to this message to either of the two lists.

Gerald
-- 
Gerald "Jerry"   pfeifer@dbai.tuwien.ac.at   http://www.pfeifer.com/gerald/

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

* Re: Help with GCC
  2005-08-16  6:38 Balaji V. Iyer
@ 2005-08-17 19:29 ` James E Wilson
  0 siblings, 0 replies; 12+ messages in thread
From: James E Wilson @ 2005-08-17 19:29 UTC (permalink / raw)
  To: Balaji V. Iyer; +Cc: gcc, gcc-help

Balaji V. Iyer wrote:
> Pass this "live/not-live" flag to the register allocation process so that
> it can output instruction in such a way (please see example below) (I want
> this information to be passed into .md stage)

You can't get cycle-accurate life time info in the register allocator
unless you have a combined register allocator and instruction scheduler.
 We don't have that.  They are separate passes.  Combining them is
difficult.

We do have life time info at the RTL instruction level, but this info
tends to be either internal to each register allocation pass, or not
specific enough for your needs.  You may or may not be able to do
anything with this info.

The register allocator does not emit instructions (other than reloads
emitted by reload), so you can't do this in the register allocator.  You
probably have to do this in final, when RTL is emitted as assembly language.

You might be able to do something useful with REG_DEAD notes, but they
are probably not guaranteed to be accurate when we get to final.  You
could try scanning following instructions for REG_DEAD notes, to see
where registers die.  Worst case, you might have to create your own life
time info by scanning all of the RTL instructions in a function.  You
could do this in a MACHINE_DEPENDENT_REORG pass.

You will probably need to spend some time studying the gcc sources in
order to do anything useful here.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com

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

* Help with GCC
@ 2005-08-16  6:38 Balaji V. Iyer
  2005-08-17 19:29 ` James E Wilson
  0 siblings, 1 reply; 12+ messages in thread
From: Balaji V. Iyer @ 2005-08-16  6:38 UTC (permalink / raw)
  To: gcc, gcc-help

Hello Everyone,
    Greetings! I apologize ahead for asking an non-specific question. I
have a question about the liveness analysis. This is what I wanted to
do.

I want to check to see if an instruction is live after a certain number of
stage. (eg. 3 cycles)

if (INSN is not live for more than 3 cycles)
   Mark it as "not_live" (NOT the same place as dead code marking)
else
   Mark it as "live"

Pass this "live/not-live" flag to the register allocation process so that
it can output instruction in such a way (please see example below) (I want
this information to be passed into .md stage)

if (live)
  print "add.live r1,r2,r3"
else
   print "add.notlive r1,r2,r3"

I would also like to do it on the OpenRISC processor. Also, would like to
NOT change the GCC sources as much as I can.

I would appreciate if anyone could point me in the right direction to go
about doing this.

Thanking You,

Yours Sincerely,

Balaji V. Iyer.

PS. CC's greatly appreciated.

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

* Re: Help with gcc
  2003-09-05 20:04 Help with gcc Brandon Dailey
@ 2003-09-05 22:22 ` Eric Christopher
  0 siblings, 0 replies; 12+ messages in thread
From: Eric Christopher @ 2003-09-05 22:22 UTC (permalink / raw)
  To: Brandon Dailey; +Cc: Gcc

On Fri, 2003-09-05 at 12:58, Brandon Dailey wrote:
> I just bought redhat9 and i was wondering if this program is already on my 
> computer?  I have tried to compile stuff but it comes up invalid comand.  I 
> dont know how to get all this stuff started can you help???

This isn't the right list for this type of question, however, you need
to install the developer packages - this is usually an install option.

-eric

-- 
Eric Christopher <echristo@redhat.com>

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

* Help with gcc
@ 2003-09-05 20:04 Brandon Dailey
  2003-09-05 22:22 ` Eric Christopher
  0 siblings, 1 reply; 12+ messages in thread
From: Brandon Dailey @ 2003-09-05 20:04 UTC (permalink / raw)
  To: Gcc

I just bought redhat9 and i was wondering if this program is already on my 
computer?  I have tried to compile stuff but it comes up invalid comand.  I 
dont know how to get all this stuff started can you help???

_________________________________________________________________
Compare Cable, DSL or Satellite plans: As low as $29.95.  
https://broadband.msn.com

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

* Re: help with gcc
  2001-11-17 11:20 ` Andrea 'Fyre Wyzard' Bocci
@ 2001-11-26 13:05   ` Andrea 'Fyre Wyzard' Bocci
  0 siblings, 0 replies; 12+ messages in thread
From: Andrea 'Fyre Wyzard' Bocci @ 2001-11-26 13:05 UTC (permalink / raw)
  To: arijit_paul, gcc

What platform / OS are you programming under ?

Basically, the OS should take care of swapping your host program to virtual 
memory. Just make sure the system("other program") call is blocking (ie., 
your host program stops and awaits for the other to finish).

fwyzard


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

* help with gcc
  2001-11-17 11:02 help " Arijit Paul
  2001-11-17 11:20 ` Andrea 'Fyre Wyzard' Bocci
@ 2001-11-26 12:31 ` Arijit Paul
  1 sibling, 0 replies; 12+ messages in thread
From: Arijit Paul @ 2001-11-26 12:31 UTC (permalink / raw)
  To: gcc

Hi,
I am developing a C program in gcc environment. The problem is that I have to make a system call to execute another program from my main program (i.e. system("program name")). The other program which I am calling is not written in C, and I dont have its source code, so basically I just call it to execute and it returns the output in a output file. I have to take up this output and use it in the main program, but until and unless it writes the output the main program has to wait without using substantial resources (because the other program needs lots of memory and CPU processing). These calling of the other program and execution based on its output happen in a loop. Can you suggest me how to handle this situation.
Thanks in advance
Arijit Paul







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

* Re: help with gcc
  2001-11-17 11:02 help " Arijit Paul
@ 2001-11-17 11:20 ` Andrea 'Fyre Wyzard' Bocci
  2001-11-26 13:05   ` Andrea 'Fyre Wyzard' Bocci
  2001-11-26 12:31 ` Arijit Paul
  1 sibling, 1 reply; 12+ messages in thread
From: Andrea 'Fyre Wyzard' Bocci @ 2001-11-17 11:20 UTC (permalink / raw)
  To: arijit_paul, gcc

What platform / OS are you programming under ?

Basically, the OS should take care of swapping your host program to virtual 
memory. Just make sure the system("other program") call is blocking (ie., 
your host program stops and awaits for the other to finish).

fwyzard


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

* help with gcc
@ 2001-11-17 11:02 Arijit Paul
  2001-11-17 11:20 ` Andrea 'Fyre Wyzard' Bocci
  2001-11-26 12:31 ` Arijit Paul
  0 siblings, 2 replies; 12+ messages in thread
From: Arijit Paul @ 2001-11-17 11:02 UTC (permalink / raw)
  To: gcc

Hi,
I am developing a C program in gcc environment. The problem is that I have to make a system call to execute another program from my main program (i.e. system("program name")). The other program which I am calling is not written in C, and I dont have its source code, so basically I just call it to execute and it returns the output in a output file. I have to take up this output and use it in the main program, but until and unless it writes the output the main program has to wait without using substantial resources (because the other program needs lots of memory and CPU processing). These calling of the other program and execution based on its output happen in a loop. Can you suggest me how to handle this situation.
Thanks in advance
Arijit Paul







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

* Re: Help with GCC
  2001-06-11 12:23 Help with GCC Will Holt
@ 2001-06-11 12:52 ` Phil Edwards
  0 siblings, 0 replies; 12+ messages in thread
From: Phil Edwards @ 2001-06-11 12:52 UTC (permalink / raw)
  To: Will Holt; +Cc: 'gcc@gcc.gnu.org'

On Mon, Jun 11, 2001 at 03:24:19PM -0400, Will Holt wrote:
> I can't get gcc to work on my SPARC/Solaris 7 machine.  Whenever I try to
> compile a program it says that gcc cannot be found.  Thanks in advance.

Put the directory containing the gcc executable in your PATH.

If you are using a shell like csh/tcsh, type "rehash".

If it still doesn't work, ask your system administrator for assistance.


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

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

* Help with GCC
@ 2001-06-11 12:23 Will Holt
  2001-06-11 12:52 ` Phil Edwards
  0 siblings, 1 reply; 12+ messages in thread
From: Will Holt @ 2001-06-11 12:23 UTC (permalink / raw)
  To: 'gcc@gcc.gnu.org'

I can't get gcc to work on my SPARC/Solaris 7 machine.  Whenever I try to
compile a program it says that gcc cannot be found.  Thanks in advance.

Will Holt
Web Applications Developer
Technology & Engineering Dept.
Network Services Division
Terremark Worldwide, Inc.
2601 S. Bayshore Dr., Suite 900
Coconut Grove, FL  33133
Phone: (305) 860-7876  Fax: (305) 890-8190

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

end of thread, other threads:[~2005-08-17 19:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-07 11:38 Help with GCC Andrew Luande
2003-01-07 15:14 ` Gerald Pfeifer
  -- strict thread matches above, loose matches on Subject: below --
2005-08-16  6:38 Balaji V. Iyer
2005-08-17 19:29 ` James E Wilson
2003-09-05 20:04 Help with gcc Brandon Dailey
2003-09-05 22:22 ` Eric Christopher
2001-11-17 11:02 help " Arijit Paul
2001-11-17 11:20 ` Andrea 'Fyre Wyzard' Bocci
2001-11-26 13:05   ` Andrea 'Fyre Wyzard' Bocci
2001-11-26 12:31 ` Arijit Paul
2001-06-11 12:23 Help with GCC Will Holt
2001-06-11 12:52 ` Phil Edwards

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).