[newbie] gcc problem: cannot find 'cc1plus'

2004-10-20 Thread Boyi Zeng
Hello,
I know this may be an old problem. When I use gcc to compile a cpp
file, the error occur: installation problem, cannot find 'cc1plus' ..
I have searched the solution with google. I know it is related to
the 'gcc-cpp*' package. When I tried to installed that package, I get
the message 'package already installed'. When I tried to uninstalled
by 'rpm -e gcc-cpp', it turned out that several other packages depend
on it. How can I fix that problem and install a full gcc-cpp package?
Btw, my mandrake version is 10.1, gcc version is 3.4.1.
Thank you.

Sincerely,

Boyi


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] GCC version

2004-07-28 Thread Joseph Gregory Croes
Hallo, guys

What is the kernel and gcc version for VMware 4.05. Because I try to make vmware run on my machine. I have Mandrake 10.0 powerpack (kernel version 2.6 and gcc version 3.2)

Thanks,
GregoryAdd photos to your e-mail with MSN 8. Get 2 months FREE*.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] GCC version

2004-07-28 Thread Lee Wiggers
On Wed, 28 Jul 2004 16:50:51 +0200
Ger Schinkel [EMAIL PROTECTED] wrote:

 On Wednesday 28 July 2004 15:08, Joseph Gregory Croes wrote:
  htmldiv style='background-color:'DIV class=RTEHallo,
  guys/DIVDIV class=RTEnbsp;/DIV
  DIV class=RTEWhat is the kernel and gcc version for VMware
  4.05. Because I try to make vmware run on my machine. I have
  Mandrake 10.0 powerpack(kernel version 2.6 and gcc version
  3.2)/DIV DIV class=RTEnbsp;/DIVDIV
  class=RTEThanks,/DIVDIV class=RTEGregory/DIV/divbr
  clear=allhrAdd photos to your e-mail with a
  href=http://g.msn.com/8HMBEN/2746??PS=47575;MSN 8./a Get 2
  months FREE*./html
 
 Are you aware of the fact that you are posting in HTML?
 
 Ger Schinkel
 
 
That is so cool.  Give me some more.

Lee


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] GCC version

2004-07-28 Thread Tomas Tudja
Hi Greg
Contents:
1. About your html formatted mail
2. About vmware (important - memory requirements)

1. About your html formatted mail
Try to set your mail client (probably Outlook) not to compose messages in
html format (Tools - Options - Send - Mail sending format). Allways, if
you are sending a message to any kind of list, check the format (for example
in Outlook you can't see, in what format are you sending a message without
taking a look on settings). E-mail is standardly in plain text format and
all proper clients are showing only the text arrived, so html tags are shown
and also are very disturbing. If you want to send a html formatted e-mail to
anyone, you are supposed to check, if the recipient is ready, abble and
happy with it.

2. About vmware (important - memory requirements)
If you want to use vmware to install additional win* system, you need
MEMORY! My case: 96Megs of RAM. If i start a virtual computer under vmware,
i am abble only to share 12 Megs of RAM for this computer (the rest is
needed for host system), which does not allow me even to install win98
(win95 is OK). So if you want to run winxp on your vmware virtual machine,
you need at least 160 Megs of RAM (without at least 64M the winxp install
won't start)(win98 is installable on a box (or virtual box off course...)
with at least 16M, win95 is happy with 4M

BTW: 640kB of memory will be enought for everybody.
Guess Who
:

Best Regards
Tomas Tudja

- Original Message -
From: Lee Wiggers [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 7:05 PM
Subject: Re: [newbie] GCC version


 On Wed, 28 Jul 2004 16:50:51 +0200
 Ger Schinkel [EMAIL PROTECTED] wrote:

  On Wednesday 28 July 2004 15:08, Joseph Gregory Croes wrote:
   htmldiv style='background-color:'DIV class=RTEHallo,
   guys/DIVDIV class=RTEnbsp;/DIV
   DIV class=RTEWhat is the kernel and gcc version for VMware
   4.05. Because I try to make vmware run on my machine. I have
   Mandrake 10.0 powerpack(kernel version 2.6 and gcc version
   3.2)/DIV DIV class=RTEnbsp;/DIVDIV
   class=RTEThanks,/DIVDIV class=RTEGregory/DIV/divbr
   clear=allhrAdd photos to your e-mail with a
   href=http://g.msn.com/8HMBEN/2746??PS=47575;MSN 8./a Get 2
   months FREE*./html
 
  Are you aware of the fact that you are posting in HTML?
 
  Ger Schinkel
 
 
 That is so cool.  Give me some more.

 Lee








 
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 Join the Club : http://www.mandrakeclub.com
 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] gcc-3.3.tar.bz2

2003-06-21 Thread Derek Jennings
On Fri, 20 Jun 2003 20:31:20 -0600
[EMAIL PROTECTED] wrote:

 Hi ;
 I downladed this (gcc-3.3.tar.bz2) from a mirror site in minneapolis. But 
 how do i access it? I want to have c, c++, compilers to compile programs. 
 I've tried tar, gzip, gunzip, etc, nothing seems to work. It's on my 
 desktop.
 Thanx for your help again. 
 
 Ib 
 
What is wrong with the gcc supplied with your Mandrake system?

Open Mandrake Software Manager and type gcc in the search box.

derek

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] gcc-3.3.tar.bz2

2003-06-20 Thread altraide
Hi ;
I downladed this (gcc-3.3.tar.bz2) from a mirror site in minneapolis. But 
how do i access it? I want to have c, c++, compilers to compile programs. 
I've tried tar, gzip, gunzip, etc, nothing seems to work. It's on my 
desktop.
Thanx for your help again. 

Ib 







Convictions are more dangerous foes of truth than lies. - Nietzsche

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] gcc-3.3.tar.bz2

2003-06-20 Thread LeaAnne Kolp
lb,

In order to unzip it, you have to use:

bunzip2 gcc-3.3.tar.bz2

Then type in:

tar -xvf gcc-3.3.tar

and that will open it up for you to configure it :)

Hope that helps!

-- 
LeaAnne Kolp

Don't forget to check out my sites!

My Personal Site
http://cowgirlk.shorturl.com

My Cartoon Orbit Fan Page
http://orbiters.funurl.com

 From: [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Fri, 20 Jun 2003 20:31:20 -0600
 To: [EMAIL PROTECTED]
 Subject: [newbie] gcc-3.3.tar.bz2
 
 Hi ;
 I downladed this (gcc-3.3.tar.bz2) from a mirror site in minneapolis. But
 how do i access it? I want to have c, c++, compilers to compile programs.
 I've tried tar, gzip, gunzip, etc, nothing seems to work. It's on my
 desktop.
 Thanx for your help again.
 
 Ib 
 
 
 
 
 
 
 
 Convictions are more dangerous foes of truth than lies. - Nietzsche
 
 
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] gcc warnings

2003-01-18 Thread Ralph Slooten
Hi there all,

Often when I'm compiling programs, I get a warbningfrom gcc:

cc1: warning: changing search order for system directory
/usr/local/include
cc1: warning:   as it has already been specified as a non-system
directory

It seems gcc (or another program) is giving /usr/local as the first
search-dir for libs and includes (instead of /usr), but I can't find out
where to change this order. Yeah the programs compile great, but this
silly warning is getting a bit on my nerves as it appears about 1000
times per compile ;-)

Any suggestions / solutions?

Thanks in advance
Ralph
-- 
http://tuxpower.f2g.net/
http://axljab.homelinux.org:8080/

I have opinions of my own, strong opinions,
but I don't always agree with them. - George H. W. Bush


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] gcc warnings

2003-01-18 Thread Ralph Slooten
On 19 Jan 2003 07:00:05 +1100
Stephen Kuhn [EMAIL PROTECTED] wrote:

 What if you change the order in your /etc/ld.so.conf - rerun ldconfig
 and see if that affects change?
 
 I've not seen that particular error before - and compile most of my
 proggies by hand...maybe it has something to do with living in the
 Southern Hemisphere? Joking...(g)

$ cat /etc/ld.so.conf
/usr/X11R6/lib
/usr/lib/qt3/lib
/usr/lib
/usr/local/lib

Ummm, there ain't supposed to be include's there, just libs from what I
can see from my previos install of LM 8.2, server's debian 3, and now LM
9.0.

It must be something else ;-) Maybe nothing to do with the hemisphere's
either, but simply due to the fact that we are living beneath the
sea-level here in Holland ;-)


Any other ideas?

Greetings
Ralph
-- 
http://tuxpower.f2g.net/
http://axljab.homelinux.org:8080/

I have opinions of my own, strong opinions,
but I don't always agree with them. - George H. W. Bush


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] gcc warnings

2003-01-18 Thread Stephen Kuhn
On Sun, 2003-01-19 at 07:37, Ralph Slooten wrote:
 On 19 Jan 2003 07:00:05 +1100
 Stephen Kuhn [EMAIL PROTECTED] wrote:
 
  What if you change the order in your /etc/ld.so.conf - rerun ldconfig
  and see if that affects change?
  
  I've not seen that particular error before - and compile most of my
  proggies by hand...maybe it has something to do with living in the
  Southern Hemisphere? Joking...(g)
 
 $ cat /etc/ld.so.conf
 /usr/X11R6/lib
 /usr/lib/qt3/lib
 /usr/lib
 /usr/local/lib
 
 Ummm, there ain't supposed to be include's there, just libs from what I
 can see from my previos install of LM 8.2, server's debian 3, and now LM
 9.0.
 
 It must be something else ;-) Maybe nothing to do with the hemisphere's
 either, but simply due to the fact that we are living beneath the
 sea-level here in Holland ;-)
 
 
 Any other ideas?
 
 Greetings
 Ralph

Well, being that libs need includes and the includes are dependent on
libs, that is the only option that I'd see - unless there is a way to
set gcc's search order for includes...and I'm not sure on that one, but
will dig deeper into it...

-- 
Sun Jan 19 07:40:00 EST 2003
  7:40am  up 2 days, 17:23,  4 users,  load average: 0.01, 0.10, 0.14
--
|____  | kuhn media australia|
|   / ,, /| |'-.   | http://kma.0catch.com   |
|  .\__/ || |   |  |=|
|   _ /  `._ \|_|_.-'  | stephen kuhn|
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED] |
|  |/ ._/  || |  email: [EMAIL PROTECTED]|
|  |'.  `\ | | |icq: 5483808 |
|  ;/ / | | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389|
|  '  `-`'   | Berkeley, New South Wales, AU   |
--
 linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting
--

Chemist who falls in acid is absorbed in work.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] gcc warnings

2003-01-18 Thread Ralph Slooten
On 19 Jan 2003 07:43:13 +1100
Stephen Kuhn [EMAIL PROTECTED] wrote:

 Well, being that libs need includes and the includes are dependent on
 libs, that is the only option that I'd see - unless there is a way to
 set gcc's search order for includes...and I'm not sure on that one,
 but will dig deeper into it...

Again, thanks for the help here. I have searched, looked, asked gurus,
nobody seems to have ever seen this before, or knows how to solve it. I
say problem, but it's not a problem really, as they compile fine, just
bloody annoying if almost every second line is the warning while
compiling. I compile dcgui daily (warnings), fluxbox (no warnings),
dillo (warnings), an sylpheed (warnings). The list goes on and on, but
it's not just one program here, it's many.

*Sigh*, oh well, one day ;-)

Greetings
Ralph
-- 
http://tuxpower.f2g.net/
http://axljab.homelinux.org:8080/

I have opinions of my own, strong opinions,
but I don't always agree with them. - George H. W. Bush


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] gcc warnings

2003-01-18 Thread Stephen Kuhn
On Sun, 2003-01-19 at 08:03, Ralph Slooten wrote:
 On 19 Jan 2003 07:43:13 +1100
 Stephen Kuhn [EMAIL PROTECTED] wrote:
 
  Well, being that libs need includes and the includes are dependent on
  libs, that is the only option that I'd see - unless there is a way to
  set gcc's search order for includes...and I'm not sure on that one,
  but will dig deeper into it...
 
 Again, thanks for the help here. I have searched, looked, asked gurus,
 nobody seems to have ever seen this before, or knows how to solve it. I
 say problem, but it's not a problem really, as they compile fine, just
 bloody annoying if almost every second line is the warning while
 compiling. I compile dcgui daily (warnings), fluxbox (no warnings),
 dillo (warnings), an sylpheed (warnings). The list goes on and on, but
 it's not just one program here, it's many.
 
 *Sigh*, oh well, one day ;-)
 
 Greetings
 Ralph

So have you rearranged your ld.so.conf and tried? Just for giggles and
grins?

-- 
Sun Jan 19 08:10:01 EST 2003
  8:10am  up 2 days, 17:53,  4 users,  load average: 0.31, 0.16, 0.17
--
|____  | kuhn media australia|
|   / ,, /| |'-.   | http://kma.0catch.com   |
|  .\__/ || |   |  |=|
|   _ /  `._ \|_|_.-'  | stephen kuhn|
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED] |
|  |/ ._/  || |  email: [EMAIL PROTECTED]|
|  |'.  `\ | | |icq: 5483808 |
|  ;/ / | | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389|
|  '  `-`'   | Berkeley, New South Wales, AU   |
--
 linux user:267497 * RH 8.0 * PC/Mac/Linux/Networking/Consulting
--

Hmmm ... an arrogant bouquet with a subtle suggestion of POLYVINYL
CHLORIDE ...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] gcc 2.96 with gcc3.2

2002-10-10 Thread Carlos Cifuentes
I had very problems with gcc 2.96 and gcc 3.0 at time. The kernel compilation never
funtion. The only solutionwas delete gcc 3.0
Peter Watson <[EMAIL PROTECTED]>wrote:




I have a driver package for my intel 536EP modem which contains a cor binary compiled with gcc2.96.
I tried to install gcc2.96 to compile this package but received the following error message:-

file /etc/colorgccrc from install of gcc2.96-colorgcc-2.96-0.80mdk conflicts with file from package gcc-colorgcc-3.2.1mdk

I had read that both gcc2.96 and gcc3.2 could be installed at the same time and the link from /usr/bin/cc changed to point to whichever was required.

Have I done something wrong or is there a way round this?

Thanks in advance

Pete

---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system (http://.grisoft.com).Version: 6.0.393 / Virus Database: 223 - Release Date: 30/09/2002Yahoo! MessengerNueva versión: Webcam, voz, y mucho más ¡Gratis!

[newbie] gcc 2.96 with gcc3.2

2002-10-08 Thread Peter Watson



I have a driver package for my intel 536EP modem 
which contains a cor binary compiled with gcc2.96.
I tried to install gcc2.96 to compile this package 
but received the following error message:-

file /etc/colorgccrc from install of 
gcc2.96-colorgcc-2.96-0.80mdk conflicts with file from package 
gcc-colorgcc-3.2.1mdk

I had read that both gcc2.96 and gcc3.2 could be 
installed at the same time and the link from /usr/bin/cc changed to point to 
whichever was required.

Have I done something wrong or is there a way round 
this?

Thanks in advance

Pete

---Outgoing mail is certified Virus 
Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.393 / 
Virus Database: 223 - Release Date: 30/09/2002


Re: [newbie] gcc doesn't work

2002-10-03 Thread Katherine Richmond

We have done some more work on this. We re-installed Mandrake and did NOT
install any of the development packages. No gcc was installed at all at that
point. Then we went back and selected the development group and accepted the
default values for the packages (gcc2.96). We did not select the other
category that had gcc3.04 in it. 

After installation, to verify that gcc was installed, we did the following
command:

[root@pathfiles root]# find / -name gcc
/etc/alternatives/gcc
find: /mnt/floppy: Input/output error
find: /mnt/cdrom: Input/output error
/var/lib/rpm/alternatives/gcc
/usr/bin/gcc


Then we wrote a simple C program and tried to compile it:

gcc sample.c

The error is gcc: installation problem, cannot exec `cpp0': No such file or
directory.

We were logged on as root and the program was in the root directory. Then we
copied it to the directory where cpp0 is located, and got the same error.

Then we searched and found that we did indeed have gcc2.96 and gcc3.04 by
issuing the following command:

[root@pathfiles root]# rpm -qa | grep gcc  rpm -qa | grep gcc  rpm -qa |
grep libstd
gcc3.0-cpp-3.0.4-2mdk
libgcc3.0-3.0.4-2mdk
gcc-2.96-0.76mdk
gcc-c++-2.96-0.76mdk
gcc3.0-cpp-3.0.4-2mdk
libgcc3.0-3.0.4-2mdk
gcc-2.96-0.76mdk
gcc-c++-2.96-0.76mdk
libstdc++2.10-2.96-0.76mdk
libstdc++3.0-devel-3.0.4-2mdk
libstdc++3.0-3.0.4-2mdk
libstdc++2.10-devel-2.96-0.76mdk

Our dilema is that we have packages that we need to install, and we can't even
compile the simplest C program. Help!!





--- [EMAIL PROTECTED] wrote:
On Wednesday 02 October 2002 02:15 pm, you wrote:
 Hi Everyone,

 We installed Mandrake Linux 8.2 and chose all the options. We definitely
 installed the Development package. Now we need to use the c compiler, but
 we are getting the following error:

 checking for gcc... gcc
 checking whether the C compiler (gcc  ) works... no
 configure: error: installation or configuration problem: C compiler cannot
 create executables.

 It seems that gcc2.96 and 3.04 are both there. Could this be the cause, and
 why do you think both were installed?

 Thanks,
 Kathy Richmond
first, we need to know what program you are trying to install (not really, 
but might help), and then we need to make sure you were root when you tried 
to compile, and what directory you were in (and what directory the software 
was in) 
my bet is the program was written for redhat, and chokes at gcc2.96.

they were both installed because whomever selected the packages, selected 
both


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
--- end of quote ---




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] GCC problems

2002-06-22 Thread civileme

Matt Dalen wrote:


 insmod is used for loading kernel modules.  That means you need to be 
 in root mode and logged to /usr/src/linux and

 make mrproper
 make deps
 make modules install

 (and of course hello.c would have to be added to the kernel modules 
 source code and appropriate headers added.)

 Do not do this...  Hello.c does not have to be part of the kernel.

 Use the linker to make an executable from hello.o and then run it.


 It has to be part of the kernel if I want to make drivers, which is my 
 ultimate objective.  This is just an attempt to teach myself how to 
 write them.


 Civileme






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

O  OK, well then the method I outlined is the one to follow--look at 
chapter 14 of the Reference manual included with your install for more 
detail.  But if you want to make a driver, to test it you need to 
compile it against the code of the running kernel.

The reference manual should be accessible from your menu under 
Documentation=Mandrake Linux Documentation.

Civileme






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] GCC problems

2002-06-21 Thread civileme

Matt Dalen wrote:

I've been trying to compile a simple module, but I've been having
trouble with GCC.  I input:

gcc -c hello.c
insmod hello.o

and it outputs an error message, saying that hello.o was compiled for
kernel version 2.4.18, and that I'm using kernel version 2.4.18-6mdk.
Does anyone know how to compile for kernel version 2.4.18-6mdk?  I've
tried getting the latest version of gcc from MandrakeUpdate, but that
doesn't seem to change anything.  Thanks!

Matt Dalen





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

insmod is used for loading kernel modules.  That means you need to be in 
root mode and logged to /usr/src/linux and

make mrproper
make deps
make modules install

(and of course hello.c would have to be added to the kernel modules 
source code and appropriate headers added.)

Do not do this...  Hello.c does not have to be part of the kernel.

Use the linker to make an executable from hello.o and then run it.

Civileme





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] GCC / CC compiler problems

2002-01-13 Thread Spencer Collyer

On Saturday 12 January 2002 06:23, you wrote:
 Hello,

   I wrote a while ago about problems I was having
 w/ the GCC / CC compilers and I still can't get it to
 work.

   I checked my /usr/bin directories as people have
 suggested and I see the files are still there.  When I
 do an ls  in the /usr/bin directory, I get the
 following:

  gcc*

 and when I do an ls cc in the same directory, I
 get the following:

  cc@

  Now I do a set cc = /usr/bin/cc and that
 doesn't work.  I do a set cc = /usr/bin/cc@ and that
 doesn't work either, nor does it work w/ any
 permutation of set gcc = /usr/bin/gcc

  Any ideas of anything that might be wrong?  I
 have no idea what's happening.  I'm guessing it has
 something to do w/ the (*) and the (@) that follows
 the file name.

Paul,

The '@' after the 'cc' indicates it is a link to another file. You need 
to do ls -l to find out where the link is pointing. It is likely that 
the link is no longer pointing to a valid copy of gcc. If that is true, 
you will need point it to the valid gcc executable you have on your 
system.

HTH

S

-- 
 Eagles may soar, but weasels don't get sucked into jet engines 
Remove the fruit to obtain reply address:
spencer at lasermount guava dot uklinux dot net
2:11pm up 50 days, 11 min, 9 users, load average: 1.43, 1.45, 1.21
Registered Linux User #232457



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] GCC / CC compiler problems

2002-01-11 Thread Pauljames Dimitriu

Hello,

  I wrote a while ago about problems I was having
w/ the GCC / CC compilers and I still can't get it to
work.

  I checked my /usr/bin directories as people have
suggested and I see the files are still there.  When I
do an ls  in the /usr/bin directory, I get the
following:

 gcc*

and when I do an ls cc in the same directory, I
get the following:

 cc@

 Now I do a set cc = /usr/bin/cc and that
doesn't work.  I do a set cc = /usr/bin/cc@ and that
doesn't work either, nor does it work w/ any
permutation of set gcc = /usr/bin/gcc

 Any ideas of anything that might be wrong?  I
have no idea what's happening.  I'm guessing it has
something to do w/ the (*) and the (@) that follows
the file name.

 Thanks,

 Paul

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] GCC, CC Compilers not working

2002-01-08 Thread Spencer Collyer

On Tuesday 08 January 2002 05:53, you wrote:
 when I try to cuse cc  or gcc from a command line, I
 get no such file or directory.  When I go to my
 usr/bin directory and do an ls cc, I get the
 following:  cc@

 I try compiling directly in the /usr/bin directory
 (which shouldn't be necessary) and I still get the
 same error.

 Any ideas?

 Thanks,

 Paul

I had a similar problem when I updated from 7.2 to 8.0. I found that 
the gcc was actually a symlink pointing to a non-existant file, so I 
found the correct version of gcc (using find) and pointed gcc to that 
instead.

HTH

S

-- 
 Eagles may soar, but weasels don't get sucked into jet engines 
Remove the fruit to obtain reply address:
spencer at lasermount apple dot uklinux dot net
4:08pm up 45 days, 2:08, 8 users, load average: 1.17, 0.80, 0.55
Registered Linux User #232457



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] GCC, CC Compilers not working

2002-01-07 Thread Pauljames Dimitriu

when I try to cuse cc  or gcc from a command line, I
get no such file or directory.  When I go to my
usr/bin directory and do an ls cc, I get the
following:  cc@

I try compiling directly in the /usr/bin directory
(which shouldn't be necessary) and I still get the
same error.

Any ideas?

Thanks,

Paul

PS:  g++ works just fine.  I would use it but some
install programs ask for cc.

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] GCC, CC Compilers not working

2002-01-07 Thread Anuerin G.Diaz

On Mon, 7 Jan 2002 21:53:09 -0800 (PST)
Pauljames Dimitriu [EMAIL PROTECTED] wrote:

 when I try to cuse cc  or gcc from a command line, I
 get no such file or directory.  When I go to my
 usr/bin directory and do an ls cc, I get the
 following:  cc@
 
 I try compiling directly in the /usr/bin directory
 (which shouldn't be necessary) and I still get the
 same error.
 
 Any ideas?
 
 Thanks,
 
 Paul
 
 PS:  g++ works just fine.  I would use it but some
 install programs ask for cc.
 

cc is just a link to gcc. im guessing that either something happened with gcc and you 
lost permission to execute it or it was not installed in the first place.

just guessing...



-- 

Programming, an artform that fights back.

=
Anuerin G. Diaz
Design Engineer
Millennium Software, Incorporated
2305 B West Tower, Philippines Stocks Exchange Center,
Exchange Road, Ortigas Center, Pasig City

Tel# 638-3070 loc. 72
Fax# 638-3079
=




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] GCC, CC Compilers not working

2002-01-07 Thread Paul

On Mon, 7 Jan 2002 21:53:09 -0800 (PST)
Pauljames Dimitriu [EMAIL PROTECTED] wrote:

 when I try to cuse cc  or gcc from a command line, I
 get no such file or directory.  When I go to my
 usr/bin directory and do an ls cc, I get the
 following:  cc@
 
 PS:  g++ works just fine.  I would use it but some
 install programs ask for cc.

do

ls -l /usr/bin/cc

Where does that point to?
Paul

--
Silence is one of the hardest things to refute.
-Josh Billings

http://nlpagan.net - Registered Linux User 174403
Linux Mandrake 8.0 - Sylpheed 0.7.0



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] GCC, CC Compilers not working

2002-01-07 Thread Pauljames Dimitriu

Hi,

 Thanks for the prompt reply.

 I did an ls -l gcc and all the permissions are
set correctly:

 -rwxrwxrwx . gcc

 maybe it died.  Where can I get another copy w/o
reinstalling Linux?

 
--- Anuerin G.Diaz [EMAIL PROTECTED] wrote:
 On Mon, 7 Jan 2002 21:53:09 -0800 (PST)
 Pauljames Dimitriu [EMAIL PROTECTED] wrote:
 
  when I try to cuse cc  or gcc from a command line,
 I
  get no such file or directory.  When I go to my
  usr/bin directory and do an ls cc, I get the
  following:  cc@
  
  I try compiling directly in the /usr/bin directory
  (which shouldn't be necessary) and I still get the
  same error.
  
  Any ideas?
  
  Thanks,
  
  Paul
  
  PS:  g++ works just fine.  I would use it but some
  install programs ask for cc.
  
 
 cc is just a link to gcc. im guessing that either
 something happened with gcc and you lost permission
 to execute it or it was not installed in the first
 place.
 
 just guessing...
 
 
 
 -- 
 
 Programming, an artform that fights back.
 
 =
 Anuerin G. Diaz
 Design Engineer
 Millennium Software, Incorporated
 2305 B West Tower, Philippines Stocks Exchange
 Center,
 Exchange Road, Ortigas Center, Pasig City
 
 Tel# 638-3070 loc. 72
 Fax# 638-3079
 =
 
 
  Want to buy your Pack or Services from
MandrakeSoft?
 
 Go to http://www.mandrakestore.com
 


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] GCC, CC Compilers not working

2002-01-07 Thread Anuerin G.Diaz

On Mon, 7 Jan 2002 22:11:11 -0800 (PST)
Pauljames Dimitriu [EMAIL PROTECTED] wrote:

 Hi,
 
  Thanks for the prompt reply.
 
  I did an ls -l gcc and all the permissions are
 set correctly:
 
  -rwxrwxrwx . gcc
 
  maybe it died.  Where can I get another copy w/o
 reinstalling Linux?
 
  

you can try installing it from the CDs but before you do that do you get the correct 
path when you issue 

   which gcc

or do you get an error stating that gcc is not in your path? maybe its just a path 
problem and its worth a try first... ;-)

ciao!



-- 

Programming, an artform that fights back.

=
Anuerin G. Diaz
Design Engineer
Millennium Software, Incorporated
2305 B West Tower, Philippines Stocks Exchange Center,
Exchange Road, Ortigas Center, Pasig City

Tel# 638-3070 loc. 72
Fax# 638-3079
=




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] gcc-c++

2001-10-01 Thread mik

hi,

maybe this is more of a question for the expert, but anyways: what's the
deal with gcc-c++?. everytime i try to compile a c++ program i get messages
like c headers not found (while running configure) or strcomp not
defined (while compiling). in some cases i've been able to fix the by using
egcs, but since most programs are set up to be compiled with gcc, it would
be nice i could get this working.

any ideas.

mik





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] gcc-c++

2001-10-01 Thread Matt Greer

on 10/1/01 10:05 AM, mik at [EMAIL PROTECTED] wrote:

 hi,
 
 maybe this is more of a question for the expert, but anyways: what's the
 deal with gcc-c++?. everytime i try to compile a c++ program i get messages
 like c headers not found (while running configure) or strcomp not
 defined (while compiling). in some cases i've been able to fix the by using
 egcs, but since most programs are set up to be compiled with gcc, it would
 be nice i could get this working.

compile with g++

] g++ file1.cpp file2.cpp  -o program

Matt


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] gcc-c++

2001-10-01 Thread mik

fixed it.  i'm using egcs now. didn't work earlier because i hadn't installed 
egcs-cpp.

mik

On Monday 01 October 2001 20:20, you wrote:
 replying to my own message:
 c++ is a link to g++, so it doesn't work with g++ either.

 mik

 would it be alright then if i made a link from c++ to g++, 'cos most
 makefiles use c++?
 
 mik
 

  compile with g++
 
  ] g++ file1.cpp file2.cpp  -o program
 
  Matt



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] gcc problems

2001-06-18 Thread Sridhar Dhanapalan

The Mandrake 8.0 GCC is not the same as the unstable GCC used in Red 
Hat 7.0 and 7.1. Unfortunately, for technical reasons, the Mandrake 
developers decided to use the same version number as Red Hat used for 
their GCC (2.96), creating heaps of confusion in the process. Mandrake 
have been compiling Cooker with their GCC (a pruning from the 
then-unfinished 3.0 tree) for months now, with no problems whatsoever. 
Hopefully Mandrake will end this confusion by releasing a GCC 3.0 
package. Red Hat have already done so, and have labelled it as a 
critical update.


On Tue, 19 Jun 2001 15:35, Adam Willcox wrote:
 I've heard and read rumors that the version of gcc included in
 Mandrake 8.0 is bad.  As evidence I recently upgraded my nvidia
 video driver and had to compile it about 50 times before the module
 would successfully load.  Has anyone else heard, read, or otherwise
 experienced the same?

-- 
Sridhar Dhanapalan.
There are two major products that come from Berkeley:
LSD and UNIX. We don't believe this to be a coincidence.
-- Jeremy S. Anderson




[newbie] gcc problems

2001-06-18 Thread Adam Willcox

I've heard and read rumors that the version of gcc included in Mandrake 8.0
is bad.  As evidence I recently upgraded my nvidia video driver and had to
compile it about 50 times before the module would successfully load.  Has
anyone else heard, read, or otherwise experienced the same?





[newbie] gcc and g++ output

2001-06-14 Thread Adam Royall

I downloaded LM 8 when it first came out, and installed it on three
computers: mine, my roommate's laptop, and my roommate's desktop. The two
desktop computers are P3 450s with over 128 MB of RAM. The laptop is a P3
mobile 700 (I think that's the clock speed) with 128 MB of RAM. Anyway, the
installations went without a problem, but when we tried to run programs, I
noticed some strange happenings. On my machine, when using gcc or g++ if I
invoke printf() or cout in a Hello, World! program, respectively, there is
no problem when the object file is run. On my roommate's desktop, printf()
works and prints Hello, World! to the console when the object file is run,
but cout does not print anything to the console. On his laptop, neither form
of output works and nothing is printed to the console. He piped his output
to a file and the string appeared, but we both thought it was very strange
that the default install could be so strange. Any ideas would be greatly
appreciated.





[newbie] gcc question

2001-06-13 Thread Michael

I'm trying to compile PostgreSQL and I get the following error :

checking for gccgcc
checking whether the C compiler works  (gcc  -02)   worksyes
checking whether the C compiler  (gcc  -02)  is a cross compilerno
checking whether we are using GNU C yes
checking whether gcc accepts -g ...yes
checking how to run the C preprocessor   gcc  -E
checking whether gcc needs   -traditional no
-setting  CPPFLAGS=
-setting LDFLAGS=
checking srtting debug compiler  flag using default
checking for c++ no
checking for g++ ...no
checking for gcc gcc
checking whether the C++ compiler  (gcc  )  works no
configure: error: installation or configuration problem: C++ compiler cannot 
create executables.

Is C++ and g++ on the install disks?  I'm using 7.2 power pack.  Is this all 
I have to install?

Thanks,

Michael




Re: [newbie] gcc ?

2001-06-01 Thread Civileme

On Thursday 31 May 2001 23:53, you wrote:
 I just curious about the gcc 2.96 packaged with Mandrake 8.0, is it stable
 ? because the history of gcc 2.96 packaged with redhat 7.0 was not good
 right ?


Well, the number 2.96 was abandoned by the gcc team.  We used it to identify 
our pruning from the 3.0 development tree.  It was many months after RH made 
thier gcc 2.96.  It has been tested for six full months.  It makes programs 
correctly however it is probably a lot stricter than the gcc compilers your 
are used to.  It does not include standard headers by default, you have to be 
explicit.

It builds Python and Perl so they pass ALL their regression tests.  2.95 
never did that for us.   Everything seems to work better with this compiler.

Now gcc 3.0 is out, and we are testing it, but don't expect an overnight 
switch.  It took about 4 moths of testing for us to make a technical decision 
about this compiler even though we needed it for development work on future 
processors, and it may take that long again in testing before we accept gcc 
3.0.

Remember that a lot of the programs on this distro are bleeding-edge, and we 
cannot maintain or debug them without being able to trust our compiler.

Civileme




[newbie] gcc ?

2001-05-31 Thread Irwan Hadi

I just curious about the gcc 2.96 packaged with Mandrake 8.0, is it stable ?
because the history of gcc 2.96 packaged with redhat 7.0 was not good right
?






Re: [newbie] gcc++ question

2001-04-23 Thread Mark Weaver

Barbara,

The compiler is telling you it's confused and doesn't know for certain
whether it's supposed to do the job or not. Open the file Makefile and
check to make sure which compiler is being referenced in the file. specify
either gcc or g++.

-- 

Mark
*

what knowledge I have managed to accumlate over the years
at times becomes obscured and even hidden amidst the vast
emotional onslaught of my children. You never finish being a parent.  :)
On Sat, 21 Apr 2001, Barbara wrote:

 I was trying to configure ddd and while running configure, I got this error

 checking whether the C++ compiler (c++) compiles a simple program... no
 configure: error: You must set the environment variable CXX to a working
   C++ compiler.  Also check the CXXFLAGS settings.
   See the file 'config.log' for further diagnostics.

 This is a regular 7.1 Mandrake installation.

 Any ideas what I need to do here? Thanks!

 Barbara






[newbie] gcc++ question

2001-04-21 Thread Barbara

I was trying to configure ddd and while running configure, I got this error

checking whether the C++ compiler (c++) compiles a simple program... no
configure: error: You must set the environment variable CXX to a working
  C++ compiler.  Also check the CXXFLAGS settings.
  See the file 'config.log' for further diagnostics.

This is a regular 7.1 Mandrake installation.

Any ideas what I need to do here? Thanks!

Barbara




Re: [newbie] gcc

2001-03-24 Thread Ralph Frisbie

I finally found the problem, you did it also.  To invoke
the c++ compiler, try the command:
g++   myfile.cpp

I'd guess the other spellings invoke different scrips or make
that don't cause the c++ iostream library to be available.

good luck,
ralph


From: "T-Bond" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [newbie] gcc
Date: Fri, 23 Mar 2001 15:29:14 -0800

Hi
I got the same problem. That package, gcc-c++-2.95.2-12mdk, is installed 
and
I can't compile.
I do the following:
gcc test.cpp
/tmp/cc80C8KF.o: In function 'main':
/tmp/cc80C8KF.o(.text+0xf): undefined reference tp 'cout'
/tmp/cc80C8KF.o(.text+0x14): undefined reference to
'ostream::operator(char const *)'
collect2: ld returned 1 exit status


Any ideas what is wrong?
- Original Message -
From: "Kelley Terry" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 23, 2001 2:03 PM
Subject: Re: [newbie] gcc


  On Friday 23 March 2001 11:03 am, Ralph Frisbie wrote:
   I'm trying to use gcc with LInuxMandrake 7.2 in a C++ class.  The 
linker
is
   failing to find  the library containg cout, iostream, cin,
   etc.   Compile is clean, header file available, but link fails.
   A simple hello world  c program runs just fine, but a c++ version
   fails.
   I've run rpm -q on all of the packages mentioned in the Compile faq...
   What's wrong??
  
   ralph
 
  Ralph - For C++ support you need to install gcc-c++.  It's on your
mandrake
  install cd as gcc-c++-2.95.2-12mdk.i586.rpm.
  --
  Enjoy!
  Kelley Terry [EMAIL PROTECTED]
 
 



_
Get your FREE download of MSN Explorer at http://explorer.msn.com





Re: [newbie] gcc

2001-03-23 Thread Kelley Terry

On Friday 23 March 2001 11:03 am, Ralph Frisbie wrote:
 I'm trying to use gcc with LInuxMandrake 7.2 in a C++ class.  The linker is
 failing to find  the library containg cout, iostream, cin,
 etc.   Compile is clean, header file available, but link fails.
 A simple hello world  c program runs just fine, but a c++ version
 fails.
   I've run rpm -q on all of the packages mentioned in the Compile faq...
   What's wrong??

   ralph

Ralph - For C++ support you need to install gcc-c++.  It's on your mandrake 
install cd as gcc-c++-2.95.2-12mdk.i586.rpm.
-- 
Enjoy!
Kelley Terry [EMAIL PROTECTED]




Re: [newbie] gcc

2001-03-23 Thread T-Bond

Hi
I got the same problem. That package, gcc-c++-2.95.2-12mdk, is installed and
I can't compile.
I do the following:
gcc test.cpp
/tmp/cc80C8KF.o: In function 'main':
/tmp/cc80C8KF.o(.text+0xf): undefined reference tp 'cout'
/tmp/cc80C8KF.o(.text+0x14): undefined reference to
'ostream::operator(char const *)'
collect2: ld returned 1 exit status


Any ideas what is wrong?
- Original Message -
From: "Kelley Terry" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 23, 2001 2:03 PM
Subject: Re: [newbie] gcc


 On Friday 23 March 2001 11:03 am, Ralph Frisbie wrote:
  I'm trying to use gcc with LInuxMandrake 7.2 in a C++ class.  The linker
is
  failing to find  the library containg cout, iostream, cin,
  etc.   Compile is clean, header file available, but link fails.
  A simple hello world  c program runs just fine, but a c++ version
  fails.
  I've run rpm -q on all of the packages mentioned in the Compile faq...
  What's wrong??
 
  ralph

 Ralph - For C++ support you need to install gcc-c++.  It's on your
mandrake
 install cd as gcc-c++-2.95.2-12mdk.i586.rpm.
 --
 Enjoy!
 Kelley Terry [EMAIL PROTECTED]







Re: [newbie] gcc

2001-03-23 Thread Ralph Frisbie

rpm -q gcc-c++   reports that that rpm is loaded.


From: Kelley Terry [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [newbie] gcc
Date: Fri, 23 Mar 2001 15:03:25 -0700

On Friday 23 March 2001 11:03 am, Ralph Frisbie wrote:
  I'm trying to use gcc with LInuxMandrake 7.2 in a C++ class.  The linker 
is
  failing to find  the library containg cout, iostream, cin,
  etc.   Compile is clean, header file available, but link fails.
  A simple hello world  c program runs just fine, but a c++ version
  fails.
  I've run rpm -q on all of the packages mentioned in the Compile faq...
  What's wrong??
 
  ralph

Ralph - For C++ support you need to install gcc-c++.  It's on your mandrake
install cd as gcc-c++-2.95.2-12mdk.i586.rpm.
--
Enjoy!
Kelley Terry [EMAIL PROTECTED]


_
Get your FREE download of MSN Explorer at http://explorer.msn.com





Re: [newbie] gcc

2001-03-23 Thread Len Lawrence

On Fri, 23 Mar 2001, T-Bond wrote:

 Hi
 I got the same problem. That package, gcc-c++-2.95.2-12mdk, is installed and
 I can't compile.
 I do the following:
 gcc test.cpp
 /tmp/cc80C8KF.o: In function 'main':
 /tmp/cc80C8KF.o(.text+0xf): undefined reference tp 'cout'
 /tmp/cc80C8KF.o(.text+0x14): undefined reference to
 'ostream::operator(char const *)'
 collect2: ld returned 1 exit status
 
 
 Any ideas what is wrong?
 - Original Message -
 From: "Kelley Terry" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, March 23, 2001 2:03 PM
 Subject: Re: [newbie] gcc
 
 
  On Friday 23 March 2001 11:03 am, Ralph Frisbie wrote:
   I'm trying to use gcc with LInuxMandrake 7.2 in a C++ class.  The linker
 is
   failing to find  the library containg cout, iostream, cin,
   etc.   Compile is clean, header file available, but link fails.
   A simple hello world  c program runs just fine, but a c++ version
   fails.
   I've run rpm -q on all of the packages mentioned in the Compile faq...
   What's wrong??
  
   ralph
 
  Ralph - For C++ support you need to install gcc-c++.  It's on your
 mandrake
  install cd as gcc-c++-2.95.2-12mdk.i586.rpm.
  --
  Enjoy!
  Kelley Terry [EMAIL PROTECTED]

Had the same problem.  It worked after I extended the include search path.

This is an extract from one of my makefiles - it works for me.

-- extract -

INC = -I/usr/include -I/usr/include/g++-3 -I/usr/X11R6/include/X11
 
LIBS = -L/usr/X11R6/lib -lX11 -ldl -lieee -lm -ltcl8.3 -ltk8.3
DEBUG =
CFLAGS = $(DEBUG) $(INC)
CC = g++

SOURCE = timex.c timex.h journal.C journal.h

OBJS = timex.o journal.o 

journal: $(OBJS) $(SOURCE)
$(CC) $(CFLAGS) -o $(HOME)/bin/journal $(OBJS) $(LIBS)
rm journal.o
- end extract --

You might need to change the g++-3 to g++-2.  See if there is a 
/usr/include/g++-2 directory.

Cheers

Len Lawrence @ The Thistle Foundation










Re: [newbie] GCC

2001-02-27 Thread Glen Leinweber

yes, try "./a.out"
The problem is that your home directory is not in your PATH

- Original Message - 
From: "Robert Reed" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 27, 2001 1:52 AM
Subject: [newbie] GCC


 Hello, I just installed Linux today, and then
 installed the gcc compiler, and its dependencies.  I
 built a simple program hello.c:
 
 #include stdio.h
 
 main()
 {
   printf("Hello World\n");
   return 0;
 }
 
 After writing that, I compiled the code using:
 gcc hello.c
 I tried running it by typing:
 a.out
 And it just says that a.out is not found, but when I
 look into the directory, it is there.  Anyone know
 what's happening?
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail. 
 http://personal.mail.yahoo.com/
 





RE: [newbie] GCC

2001-02-27 Thread Robert Reed

Thanks.

--- Kevin_Bergner [EMAIL PROTECTED] wrote:
 type
 
 ./a.out
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 Robert Reed
 Sent: Monday, February 26, 2001 10:52 PM
 To: [EMAIL PROTECTED]
 Subject: [newbie] GCC
 
 
 Hello, I just installed Linux today, and then
 installed the gcc compiler, and its dependencies.  I
 built a simple program hello.c:
 
 #include stdio.h
 
 main()
 {
   printf("Hello World\n");
   return 0;
 }
 
 After writing that, I compiled the code using:
 gcc hello.c
 I tried running it by typing:
 a.out
 And it just says that a.out is not found, but when I
 look into the directory, it is there.  Anyone know
 what's happening?
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail. 
 http://personal.mail.yahoo.com/
 
 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




[newbie] GCC

2001-02-26 Thread Robert Reed

Hello, I just installed Linux today, and then
installed the gcc compiler, and its dependencies.  I
built a simple program hello.c:

#include stdio.h

main()
{
  printf("Hello World\n");
  return 0;
}

After writing that, I compiled the code using:
gcc hello.c
I tried running it by typing:
a.out
And it just says that a.out is not found, but when I
look into the directory, it is there.  Anyone know
what's happening?

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/




RE: [newbie] GCC

2001-02-26 Thread Kevin_Bergner

type

./a.out



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert Reed
Sent: Monday, February 26, 2001 10:52 PM
To: [EMAIL PROTECTED]
Subject: [newbie] GCC


Hello, I just installed Linux today, and then
installed the gcc compiler, and its dependencies.  I
built a simple program hello.c:

#include stdio.h

main()
{
  printf("Hello World\n");
  return 0;
}

After writing that, I compiled the code using:
gcc hello.c
I tried running it by typing:
a.out
And it just says that a.out is not found, but when I
look into the directory, it is there.  Anyone know
what's happening?

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/





[newbie] -gcc=

2001-01-14 Thread lll



ok ithink thats the problem i cant find the gcc is 
not in /bin an when i use the package tool an watch the file list there is none 
like gcc in /bin
what can i do without gcc?
is there other compilator? an y is not there in the 
mandrake the gcc?
im sure i installed it..



Re: [newbie] -gcc=

2001-01-14 Thread Penndragon



Hi

to find out if you have gcc, type "gcc -v" minus 
the quotes of course at the prompt in console mode. If you get a version, then 
you have it.

James

  - Original Message - 
  From: 
  lll 
  
  To: [EMAIL PROTECTED] 
  Sent: Monday, January 15, 2001 5:08 
  AM
  Subject: [newbie] -gcc=
  
  ok ithink thats the problem i cant find the gcc 
  is not in /bin an when i use the package tool an watch the file list there is 
  none like gcc in /bin
  what can i do without gcc?
  is there other compilator? an y is not there in 
  the mandrake the gcc?
  im sure i installed it..
  


Re: [newbie] -gcc=

2001-01-14 Thread Tom Brinkman

On Sunday 14 January 2001 01:08 pm, lll wrote:
 ok ithink thats the problem i cant find the gcc is not in /bin an
 when i use the package tool an watch the file list there is none like
 gcc in /bin what can i do without gcc?
 is there other compilator? an y is not there in the mandrake the gcc?
Content-Type: multipart/alternative;
 boundary="=_NextPart_000_0007_01C07E33.8600B8C0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200

   Please post in ASCII plain text.

   http://mandrakeuser.org/basics/bsource.htmlread this whole 
section, but pay particular attention to "Needed Packages" towards the 
bottom of the first page.  It lists what's needed to compile source, 
where to get it, and how to install it.
-- 
Tom Brinkman   [EMAIL PROTECTED] Galveston Bay




Re: [newbie] -gcc=

2001-01-14 Thread Altoine Barker


[EMAIL PROTECTED] wrote:

 On Sunday 14 January 2001 01:08 pm, lll wrote:
  ok ithink thats the problem i cant find the gcc is not in /bin an
  when i use the package tool an watch the file list there is none like
  gcc in /bin what can i do without gcc?
  is there other compilator? an y is not there in the mandrake the gcc?
 Content-Type: multipart/alternative;
  boundary="=_NextPart_000_0007_01C07E33.8600B8C0"
 X-Priority: 3
 X-MSMail-Priority: Normal
 X-Mailer: Microsoft Outlook Express 5.00.2615.200
 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
 
Please post in ASCII plain text.
 
http://mandrakeuser.org/basics/bsource.htmlread this whole 
 section, but pay particular attention to "Needed Packages" towards the 
 bottom of the first page.  It lists what's needed to compile source, 
 where to get it, and how to install it.
 -- 
 Tom Brinkman   [EMAIL PROTECTED] Galveston Bay
 
 

type this command to see if you have the packages:

rpm -qa|grep gcc

if you receive a list of packages then you have this file. Now to find where the 
binary(executable is usually gcc -o binaryname filename.c) is located type this 
command:

whereis gcc

mine is located in /usr/bin/gcc.


If you don't have the packages at all then go to http://rpmfind.net and type withing 
the search field:

gcc-2.95 

or just type:

gcc

and look for the packages with mdk in the package name.

I hope I helped.

Cheers
-- Al
If you were expecting a GUI environment or a GUI development environment type program 
then gcc is not the case. It is console based. Just simply type:

gcc -o preferredbinaryname somefile.c

(ie gcc -o netscrape nethack.c or gcc -o netscrape whateveriam)




__
Get your own FREE, personal Netscape Webmail account today at 
http://webmail.netscape.com/




Re: [newbie] gcc compiler - no such file ...

2001-01-13 Thread David E. Fox

On Wednesday 10 January 2001 15:20, you wrote:
 Hi all, I have installed some programs which use X11 and a compilation with
 gcc, I know, uses the option -lX11 to compiler look for libX11.so, which is
 in the /usr/include directory! OK!

Actually, the libX11.so won't be in /usr/include, but in /usr/X11R6/lib. 
/usr/include is for header files, and /usr/X11R6/lib is for X libraries.

 xdrvr.c:38: X11/Xos.h: No such file or directory

Most likely the X include files and/or libraries are not installed. Check 
your install media for fileswith 'devel' in their names. These are 
development RPMs that you need to install if you compile programs that use 
these services (for instance, if you have a program that uses the jpeg stuff, 
then you need to install the libjpeg and libjpeg-devel RPMs).

Look for the XFree86-devel RPM on your install media and install it (rpm -i 
XFree86-devel-*.i586.rpm as root).

 Jose

-- 

David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---




Re: [newbie] gcc tutorial

2001-01-02 Thread Tom Brinkman

On Sunday 31 December 2000 10:46 pm, Abraham Mandac wrote:
 Thanks, Tom. I've come accross google being recommended several times
 already on this list. I've never tried it. I guess I should before
 asking the following question, but I'll ask anyway :) Is it more, uh,
 linux-oriented than Yahoo, Lycos and the like?

   Well actually there's 2 Googles to use  http://www.google.com/
and   http://www.google.com/linux   I usually just use the first.
Hardly ever fails, but I sometimes also use
http://marc.theaimsgroup.com/?w=2
http://theory.uwinnipeg.ca/search/linux-search.html
   I've never used Yahoo much, but I depend on Lycos FTP searches
http://ftpsearch.lycos.com/?form=mediumhere you can set preferences.
I set it to 50 returns, exclude any *BSD files, and sort by size/date
-- 
Tom Brinkman   [EMAIL PROTECTED] Galveston Bay




Re: [newbie] gcc tutorial

2001-01-01 Thread Abraham Mandac

Thanks, Tom. I've come accross google being recommended several times 
already on this list. I've never tried it. I guess I should before asking 
the following question, but I'll ask anyway :) Is it more, uh, 
linux-oriented than Yahoo, Lycos and the like?

-- Abe

At 06:49 PM 12/30/00 -0600, you wrote:
On Saturday 30 December 2000 04:45 am, Abraham Mandac wrote:
  Can someone point me to a gcc tutorial [on the internet or a good
  book]? I find the man pages a bit overwhelming as yet.
 
  Thanks,
  Abe

go to Google and search 'gcc tutorial', it'll return 35,000 links,
some which might be useful ;)  Then search 'c++ tutorial' and you get a
lifetime's worth of tutorials, courses (with examples/problems), online
books, etc and more.  Enough to keep you out'a print book stores ;
--
Tom Brinkman   [EMAIL PROTECTED] Galveston Bay





Re: [newbie] gcc tutorial

2000-12-31 Thread Tom Brinkman

On Saturday 30 December 2000 04:45 am, Abraham Mandac wrote:
 Can someone point me to a gcc tutorial [on the internet or a good
 book]? I find the man pages a bit overwhelming as yet.

 Thanks,
 Abe

   go to Google and search 'gcc tutorial', it'll return 35,000 links, 
some which might be useful ;)  Then search 'c++ tutorial' and you get a 
lifetime's worth of tutorials, courses (with examples/problems), online 
books, etc and more.  Enough to keep you out'a print book stores ;
-- 
Tom Brinkman   [EMAIL PROTECTED] Galveston Bay




Re: [newbie] gcc tutorial

2000-12-31 Thread Po Kwok

Abraham Mandac wrote:
 
 Can someone point me to a gcc tutorial [on the internet or a good book]?
 I find the man pages a bit overwhelming as yet.
 
 Thanks,
 Abe

go to http://www.howstuffworks.com/

on their search engine, type in 'c programming'.

that will lead you to their c tutorial, which is based on gcc running on
unix/linux.

aston
sydney, australia




Re: [newbie] gcc tutorial

2000-12-31 Thread Romanator

Abraham Mandac wrote:
 
 Can someone point me to a gcc tutorial [on the internet or a good book]?
 I find the man pages a bit overwhelming as yet.
 
 Thanks,
 Abe

Hello Abe,

I found a lot of good books through a good web page at:
http:/www.informit.com
They allow you to review portions of the book before purchasing.

One example is:
Tom Swan's GNU C++ for Linux 

Check out: http://gcc.gnu.org/
and
gnu.g++.help newsgroup

By the way, which compiler are you using?

-- 
Roman
Registered Linux User #179293




[newbie] gcc tutorial

2000-12-31 Thread Abraham Mandac

At 11:04 AM 12/31/00 -0500, you wrote:
Abraham Mandac wrote:
 
  Can someone point me to a gcc tutorial [on the internet or a good book]?
  I find the man pages a bit overwhelming as yet.
 
  Thanks,
  Abe

Hello Abe,

I found a lot of good books through a good web page at:
http:/www.informit.com
They allow you to review portions of the book before purchasing.

One example is:
Tom Swan's GNU C++ for Linux

Check out: http://gcc.gnu.org/
and
gnu.g++.help newsgroup

By the way, which compiler are you using?

Under linux, gcc, I guess. I recently downloaded an IDE called CForge 
[first RPM I ever installed apart from the LM install in my entire life] 
but I've yet to learn my way around it.

Before linux, I used the old DOS-based Turbo C's and Visual C++ in Win98 to 
learn C and C++ [not really been able to build anything that would benefit 
all of mankind yet :) ].

My first try at compiling under linux is rather traditional: I  made a 
simple Hello World program and typed 'gcc hello.cc' on the console. It 
compiled OK.

Next, I tried a small program that uses the keyword 'new'. gcc doesn't seem 
to recognize it. I was worrying I might be missing some include file. But 
then 'new' is supposed to be a keyword and not a function included in some 
include file, isn't it?

Oh, well. Thanks for the links above.

-- Abe

--
Roman
Registered Linux User #179293





Re: [newbie] gcc tutorial

2000-12-31 Thread Romanator

Abraham Mandac wrote:
 
 At 11:04 AM 12/31/00 -0500, you wrote:
 Abraham Mandac wrote:
  
   Can someone point me to a gcc tutorial [on the internet or a good book]?
   I find the man pages a bit overwhelming as yet.
  
   Thanks,
   Abe
 
 Hello Abe,
 
 I found a lot of good books through a good web page at:
 http:/www.informit.com
 They allow you to review portions of the book before purchasing.
 
 One example is:
 Tom Swan's GNU C++ for Linux
 
 Check out: http://gcc.gnu.org/
 and
 gnu.g++.help newsgroup
 
 By the way, which compiler are you using?
 
 Under linux, gcc, I guess. I recently downloaded an IDE called CForge
 [first RPM I ever installed apart from the LM install in my entire life]
 but I've yet to learn my way around it.
 
 Before linux, I used the old DOS-based Turbo C's and Visual C++ in Win98 to
 learn C and C++ [not really been able to build anything that would benefit
 all of mankind yet :) ].
 
 My first try at compiling under linux is rather traditional: I  made a
 simple Hello World program and typed 'gcc hello.cc' on the console. It
 compiled OK.
 
 Next, I tried a small program that uses the keyword 'new'. gcc doesn't seem
 to recognize it. I was worrying I might be missing some include file. But
 then 'new' is supposed to be a keyword and not a function included in some
 include file, isn't it?
 
 Oh, well. Thanks for the links above.
 
 -- Abe
 
 --
 Roman
 Registered Linux User #179293

Check out Code Crusader. It's a free download. I downloaded the tar
balls for additional source code and icons. However, I used the rpm
download. It works quite good.

-- 
Roman
Registered Linux User #179293
High Energy Penguin Powered Email




[newbie] gcc tutorial

2000-12-30 Thread Abraham Mandac

Can someone point me to a gcc tutorial [on the internet or a good book]?
I find the man pages a bit overwhelming as yet.

Thanks,
Abe





Re: [newbie] GCC Problem

2000-12-09 Thread Len Lawrence

On Fri, 8 Dec 2000, Tw|sT wrote:

 Hi,
 
 I've just subscribed (and installed Mandrake).. and I have a problem, I am
 doing a project for uni and I need to compile C++ programs... but I cannot
 gcc keeps complaining about an some sort of call to cin or cout... It isn't
 a coding problem cause I've tried to compile a simple hello program
 
 Can anyone suggest a fix??
 
 Also if it's related I had the same problem under RedHat6.2
 
 
 cya
 
 Tw|sT
 
g++ should do it.  Unfortunately, the g++ stuff is not installed by
default on Mandrake 7.2 (?).  Don't know about RedHat 6.2 - it is
certainly there in RedHat 6.1.  I can't remember what was needed but
if you look on the second distribution disk in the RPMS2 directory
you will see a couple of files with ++ in the names, such as
gcc-c++2.95 and libstdc++-devel-2.95.  Those are a start
and you will probably be told about other packages that are needed.
I have just noticed that there is another reply to your post.  That lead
should give you the information you need.  Wish I had known about it.
-- 
Len Lawrence[EMAIL PROTECTED]
23 West Court   www.tarazed.demon.co.uk
The Thistle Foundation
Edinburgh EH16 4EB  0131-661 3648








[newbie] GCC Problem

2000-12-08 Thread Tw|sT

Hi,

I've just subscribed (and installed Mandrake).. and I have a problem, I am
doing a project for uni and I need to compile C++ programs... but I cannot
gcc keeps complaining about an some sort of call to cin or cout... It isn't
a coding problem cause I've tried to compile a simple hello program

Can anyone suggest a fix??

Also if it's related I had the same problem under RedHat6.2


cya

Tw|sT





Re: [newbie] gcc include files

2000-11-21 Thread Tom Brinkman

On Monday 20 November 2000 11:37 am, Colm Harrington wrote:
 Hi All,

 I'm a newcomer to linux and have just insralled mandrake 7.0 on my
 computer. I am a programming student and one of my main uses is gcc.
 My problem is that gcc cannot seem to find any header files that i
 #include at the top of my program.

   http://mandrakeuser.org/basics/bsource.html

Take a look there.  About half way down the page is a list of all 
the packages that are needed to compile source. Also, if you didn't 
install using the 'development' option, you should use your Cd's to 
upgrade.
-- 
Tom Brinkman   [EMAIL PROTECTED] Galveston Bay




[newbie] gcc include files

2000-11-20 Thread Colm Harrington

Hi All,

I'm a newcomer to linux and have just insralled mandrake 7.0 on my computer.
I am a programming student and one of my main uses is gcc.
My problem is that gcc cannot seem to find any header files that i #include
at the top of my program.
Any info on how to solve this would be greatly appreciated at

[EMAIL PROTECTED]
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





[newbie] gcc compiler, missing ld components??

2000-08-26 Thread Hanson, Lisa M

All right, I'm stuck...  After installing the GCC 2.95.2 package and thinking 
everything was hunky-dorey, I can't even compile a simple 1-line C program.  
/usr/bin/ld is complaining about crt1.o.  What is crt1.o and collect2??  The output 
from my compilation is below:

cc -o test test.c
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

Anyone know what I'm missing?
Thanks!
Lisa






[newbie] gcc compiler errors

2000-07-29 Thread krypt0neo



Hello, I am having problems when using the 
./configure command. I am receiving an error that says 

configure:error: installation or configuration 
problem: C compiler cannot create executables.

has anyone had this type of error before and what 
needs to be done?



Re: [newbie] gcc compiler

2000-07-21 Thread Toan Nguyen


Math lib is not included in standard C lib. You need to link to it
specifically. Use

gcc -lm sample.c

On Fri, 21 Jul 2000, Sergey Panasyuk wrote:

 Hi, I am trying to compile some c code and have problems with gcc.
 This is my code saved as sample.c
 #includestdio.h
 #includemath.h
 
 int main(void)
 {
   printf("%f", sin(3.14));
 }
 
 then at terminal I tipe gcc sample.c and got error that sin is undefined.
 Samething happened for cos, sqrt.
 I did compile the same code using VC++ 6.
 I think the code compiled with no errors but is not linked.
 
 
 




Re: [newbie] gcc can't find the header files

2000-07-03 Thread Tom Brinkman

On Sun, 02 Jul 2000, you wrote:
 I installed gcc from the Mandrake 7.0 CD and the
 header files were put into /usr/i386-glibc-linux/include/
 but when I compile a C program I get an error saying
 "Cannot find stdio.h". 
 
 I have put /usr/i386-glibc-linux/include in my PATH
 but it hasn't helped.which makes me wonder what the
 PATH variable is doing anyway.
 
 I have spent most of today on this and am throwing
 in the towell. Any help will be appreciated.
 
 Dana

http://www.mandrakeuser.org/basics/bsource.html

The whole site is neccesary reading, but I believe the URL to
this page will help. It's a tutorial for compiling. Be sure to read
the 'Preparations' section, particularly the part about what needs
to be installed to compile from source.

 -- 
~~   Tom Brinkman[EMAIL PROTECTED]




Re: [newbie] gcc can't find the header files

2000-07-03 Thread Dana

That did it.  I hadn't installed the glibc-dev library
when I install gcc.

So how come it wasn't installed anyway as there
certainly seems to be a dependency issue here.

Dana

- Original Message - 
From: Tom Brinkman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 03, 2000 6:24 AM
Subject: Re: [newbie] gcc can't find the header files


 On Sun, 02 Jul 2000, you wrote:
  I installed gcc from the Mandrake 7.0 CD and the
  header files were put into /usr/i386-glibc-linux/include/
  but when I compile a C program I get an error saying
  "Cannot find stdio.h". 
  
  I have put /usr/i386-glibc-linux/include in my PATH
  but it hasn't helped.which makes me wonder what the
  PATH variable is doing anyway.
  
  I have spent most of today on this and am throwing
  in the towell. Any help will be appreciated.
  
  Dana
 
 http://www.mandrakeuser.org/basics/bsource.html
 
 The whole site is neccesary reading, but I believe the URL to
 this page will help. It's a tutorial for compiling. Be sure to read
 the 'Preparations' section, particularly the part about what needs
 to be installed to compile from source.
 
  -- 
 ~~   Tom Brinkman[EMAIL PROTECTED]
 




[newbie] gcc can't find the header files

2000-07-02 Thread Dana

I installed gcc from the Mandrake 7.0 CD and the
header files were put into /usr/i386-glibc-linux/include/
but when I compile a C program I get an error saying
"Cannot find stdio.h". 

I have put /usr/i386-glibc-linux/include in my PATH
but it hasn't helped.which makes me wonder what the
PATH variable is doing anyway.

I have spent most of today on this and am throwing
in the towell. Any help will be appreciated.

Dana





Re: [newbie] gcc weirdness

2000-06-04 Thread Alan Shoemaker

ColinI don't use Kmail, so I don't know if it has a
setting you can use to fix the problem, but the mail client I
use (Netscape Messenger) has a feature that I set to 'wrap
incoming messages to window width.'  

What the person sending that type of message (one with no
width formatting included) is missing on their end is either a
feature like Netscape Messenger's 'Wrap outgoing plain text
messeges at you choose a number characters', or they are not
sending plian text (probably some form of HTML), and it
depends on the receiving end software to autowrap the text to
the window size (the feature I first mentioned).

Alan


"Colin L. Whipple" wrote:
 
 On Thu, 01 Jun 2000, John Couturier wrote:
  Interesting I just downloaded ksnuffle and it compiled and ran perfectly.  I have 
gcc 2.95.3 I downloaded the source RPM from the cooker site and rebuilt the whole gcc 
suite and installed it.  I also did that with glibc-2.1.3.  So it could be that last 
.3 in my gcc or possible glibc that makes it work for me.  Those are the only two 
packages I've upgraded that would come close to causing (or fixing for that matter) 
compiler errors.
 
 Why do some messages not format properly on my screen, like the one I am
 replying too?  It appears as one long line, that I have to use the horizontal
 scroll-bar to read.
 
 Do I need to adjust something in kmail, or is something wrong at the sender's
 end?
 
 Colin




Re: [newbie] gcc weirdness

2000-06-04 Thread Colin L. Whipple

On Sat, 03 Jun 2000, you wrote:
 ColinI don't use Kmail, so I don't know if it has a
 setting you can use to fix the problem, but the mail client I
 use (Netscape Messenger) has a feature that I set to 'wrap
 incoming messages to window width.'  

I don't see that feature in the kmail (Ver. 1.29) settings.  I checked a box
that apparently wraps outgoing messages, but it seems to have no
effect on incoming messages.  At least, I am seeing some that are not wraping.

I end up just ignoring them.  If people are going to make it hard to read what
they have to say...

Thanks anyway,
Colin




Re: [newbie] gcc weirdness

2000-06-03 Thread John Couturier

Interesting I just downloaded ksnuffle and it compiled and ran perfectly.  I have gcc 
2.95.3 I downloaded the source RPM from the cooker site and rebuilt the whole gcc 
suite and installed it.  I also did that with glibc-2.1.3.  So it could be that last 
.3 in my gcc or possible glibc that makes it work for me.  Those are the only two 
packages I've upgraded that would come close to causing (or fixing for that matter) 
compiler errors.  

Hope this information helps you a little.

John
-- Original Message --
From: Dan Ferris [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Wed, 31 May 2000 21:50:21 -0600

This came to my attention after fighting ksnuffle for a week
trying to get it to compile.  So in frustration, I wrote to the
developer of ksnuffle and was told that the problem stems from
the fact that gcc 2.95 does not like me.  

Since that time, I have tried to compile multiple apps/utilities
only to have gcc crash and burn.  This was especially frustrating
when I tried to compile kfstab and KDE explorer (can't remember
the name now).  These are apps that have compiled and worked
before.  I would like to convert to egcs, which I downloaded from
a Mandrake mirror and installed.  Heck, with my luck egcs would
probably not work either :-)

HOWEVER, the stinking autoconf configure scripts still find and
use gcc.  

I don't know that much about the differences between egcs and gcc
except that egcs is used by Red Hat, and gcc is used by
Mandrake.  

So, here is the burning questionHow do I make egcs work
instead of using gcc.  Or am I all screwed up??? 

TIA,
   Dan






Re: [newbie] gcc weirdness

2000-06-03 Thread Colin L. Whipple

On Thu, 01 Jun 2000, John Couturier wrote:
 Interesting I just downloaded ksnuffle and it compiled and ran perfectly.  I have 
gcc 2.95.3 I downloaded the source RPM from the cooker site and rebuilt the whole gcc 
suite and installed it.  I also did that with glibc-2.1.3.  So it could be that last 
.3 in my gcc or possible glibc that makes it work for me.  Those are the only two 
packages I've upgraded that would come close to causing (or fixing for that matter) 
compiler errors.  

Why do some messages not format properly on my screen, like the one I am
replying too?  It appears as one long line, that I have to use the horizontal
scroll-bar to read.

Do I need to adjust something in kmail, or is something wrong at the sender's
end?

Colin




Re: [newbie] gcc weirdness

2000-06-02 Thread Paul

On Wed, 31 May 2000, Dan Ferris wrote:

HOWEVER, the stinking autoconf configure scripts still find and
use gcc.  

I don't know that much about the differences between egcs and gcc
except that egcs is used by Red Hat, and gcc is used by
Mandrake.  

So, here is the burning questionHow do I make egcs work
instead of using gcc.  Or am I all screwed up??? 

I don't know about autoconfigure thingies, but the way I would go about it
is: find where the gcc executable is (which gcc), go to that directory,
rename gcc to gcc_old, and make a symbolic link named gcc pointing to
egcs.

That should get you somewhere.

Good luck!
Paul

)0(---)0(

Wisdom is as rare as diamond

)0([[EMAIL PROTECTED]]-)0(
http://nlpagan.net - ICQ 147208
Registered Linux User 174403




[newbie] gcc weirdness

2000-06-01 Thread Dan Ferris

This came to my attention after fighting ksnuffle for a week
trying to get it to compile.  So in frustration, I wrote to the
developer of ksnuffle and was told that the problem stems from
the fact that gcc 2.95 does not like me.  

Since that time, I have tried to compile multiple apps/utilities
only to have gcc crash and burn.  This was especially frustrating
when I tried to compile kfstab and KDE explorer (can't remember
the name now).  These are apps that have compiled and worked
before.  I would like to convert to egcs, which I downloaded from
a Mandrake mirror and installed.  Heck, with my luck egcs would
probably not work either :-)

HOWEVER, the stinking autoconf configure scripts still find and
use gcc.  

I don't know that much about the differences between egcs and gcc
except that egcs is used by Red Hat, and gcc is used by
Mandrake.  

So, here is the burning questionHow do I make egcs work
instead of using gcc.  Or am I all screwed up??? 

TIA,
Dan




Re: [newbie] GCC...where are you???

2000-05-06 Thread James McLaughlin

As long as its a Hard Drive ...I dont think there is a problem :)

[EMAIL PROTECTED] wrote:
 
 
  Went through last night and reinstalled Linux using different
  hard drive  set just to see if it would clear up the gcc problem.
 
 Does anybody know if MDK 7.0 supports Seagate hard drives?
 
 Thanks,
 BG




Re: [newbie] GCC...where are you???

2000-05-05 Thread Anthony Huereca

You have to specifiy what files you want to compile. So the correct usage would
be something like "gcc -o executable_name source_code_name.c" Or for your
Hello World, "gcc -o helloworld helloworld.c". See "man gcc" for more info on
all the options.


 
 when i type gcc in a terminal window i get gcc.colorgcc: No input files
 
 I would like to be able to use the Gnu C++ compiler for a course in c programming
 
  and don't know how to get the darn thing to cooperate to where i can even do a 
hello world!
 
 --
 GIF87a¾


-- 
Anthony Huereca
http://m3000.1wh.com
Computers are not intelligent. They only think they are. 




Re: [newbie] GCC...where are you???

2000-05-05 Thread Hopper



gcc, the C compiler, and g++, the c++ compiler 
needs to be told which file you'd like to compile. 

If I've written a program and called it "dirtydeeds.c" or 
"dirtydeeds.cpp", when I want to compile it, I'd type:

gcc dirtydeeds.c

OR

g++ dirtydeeds.cpp

This will generate a file called a.out in the directory where 
my source file was located. Then just type:

a.out

to run the program.

If you're like me, you'll get a crap load of errors. Vi has a 
nice feature to show you the line number, which makes finding the offending line 
easy.

Regards,
Nathan

  - Original Message - 
  From: 
  Michael 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, May 04, 2000 5:38 
AM
  Subject: Re: [newbie] GCC...where are 
  you???
  when i type gcc in a terminal window i get gcc.colorgcc: No input filesI would like to be able to use the Gnu C++ compiler for a course in c programmingand don't know how to get the darn thing to cooperate to where i can even do a hello world!--
GIF87a¾ 


Re: [newbie] GCC...where are you???

2000-05-05 Thread Mike Tracy Holt




  I'm doing some learning myself, and someone 
  directed me to 'man gcc' and 'man g++'; that helped me a lot.
  For a 'hello world' c++ program, save the file as 
  helloworld.cpp then run 'g++ -o helloworld helloworld.cpp' (the first 
  helloworld being the executable file that you want to create, the second file 
  being the one that you are compiling).
  
  Mikewhen i type gcc in a terminal window i get gcc.colorgcc: No input filesI would like to be able to use the Gnu C++ compiler for a course in c programmingand don't know how to get the darn thing to cooperate to where i can even do a hello world!--
GIF87a¾ 


Re: [newbie] GCC...where are you???

2000-05-05 Thread Paul

On Thu, 4 May 2000, Michael wrote:

when i type gcc in a terminal window i get gcc.colorgcc: No input files

I would like to be able to use the Gnu C++ compiler for a course in c programming

 and don't know how to get the darn thing to cooperate to where i can even do a hello 
world!

It might help to type the name of a source program after the compiler
instruction.

Paul

)0(---)0(

Nothing is impossible for the person who
doesn't have to do it himself.

)0([[EMAIL PROTECTED]]-)0(
http://nlpagan.net - ICQ 147208
Registered Linux User 174403




RE: [newbie] GCC...where are you???

2000-05-05 Thread Bill . Gardner

 
 Went through last night and reinstalled Linux using different 
 hard drive  set just to see if it would clear up the gcc problem. 

Does anybody know if MDK 7.0 supports Seagate hard drives?

Thanks,
BG




Re: [newbie] GCC...where are you???

2000-05-05 Thread Steve Philp

David Ramsey wrote:
 
 [snip]
 pretty much select any package you want. And then it seems that it will
 make all the required entries in the environment and required symbolic
 links. Otherwise, if you just install the RPM file, it does not.

Please understand that the only thing the installer does is use RPM to
install a list of packages.  Just like you'd do from the command line. 
The same things happen in either case.  Symbolic link and environment
creation gets done by post-install scripts within the RPM package that
would run the same at install time as they do at the command line.

My guess is that you were missing other packages and took the "voodoo
problem resolution" method popularized by Windows and reinstalled.  If
you expect to get much further than the three-days-at-a-time Linux
usage, you're going to have to take a bit more time in researching and
resolving the problem.

Just as an example of the "voodoo problem resolution" method:  I work in
the IS department with one other person.  Part of our job entails
monitoring a SQLBase SQL server for crashed and hung processes.  We got
a call one afternoon that the server was hung.  I opened the console
tool, found the offending process, and killed it.  My partner, who was
in the bathroom at the time, came out and declared with a straight face
that flushing the urinal must have cleared it up.  THAT is what voodoo
problem resolution is.  No effort to understand the problem or
resolution, just declaring that "something" must have fixed it.  

-- 
Steve Philp, MCSE/MCP+I
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]




Re: [newbie] GCC...where are you???

2000-05-05 Thread Alan Shoemaker

BillMDK 7.0 is operating from my Seagate 9.1 gig scsi
drive right now.

Alan


[EMAIL PROTECTED] wrote:
 
 
  Went through last night and reinstalled Linux using different
  hard drive  set just to see if it would clear up the gcc problem.
 
 Does anybody know if MDK 7.0 supports Seagate hard drives?
 
 Thanks,
 BG




RE: [newbie] GCC is missing....grrrr

2000-05-04 Thread David Ramsey

I have sort of the same issue. I did access the RPM files and reinstall it. 
They put the compiler in the /usr/ area. You will see a subdir for i586, 
i486, and i386. My problem, even after installing the RPM files, I still 
get the "gcc c complier can not make executable." error message. Even after 
manually putting these directory structurs in the LD_LIBARY_PATH and PATH 
environment. At least now it is not giving me "can not locate crt1.0" 
error. Now it is erroring out on a include file, which has nothing in it. I 
am told if you do not select the "developer" option when installing Linux, 
then the system is not setup correctly to compile. That does not make much 
sence, but figure I will spend about 4 hours tonight proving that theory. 
Hope that helps some.

Dave

-Original Message-
From:   James McLaughlin [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, May 03, 2000 5:59 AM
To: [EMAIL PROTECTED]
Subject:[newbie] GCC is missingg

I am wondering why every time I attempt to compile something I continue to
get errrors about my gcc or cc is missing.  I am guessing this is my C
compilerI don't get itwhere the hell is it?  IF I do a locate I 
come
up with zilch!  Nothing is out there...help..


I am downloading gcc but I wonder if I can even install that without a
compiler. :(

Horribly frustrated tech..




Re: [newbie] GCC is missing....grrrr

2000-05-03 Thread James McLaughlin

Hmmm..another question about this whole fiasco.  I dled the rpm ...transfered it
to teh server, and from a ssh sesion I was not able to install the rpm.
Is this because of security and installs like that can not be made remotly?
(and is this somethign I would be responsible for ?)
Or is it because I am missing some of the dependicies?

Any help is greatly appreciate.  Thanks for the info Monte M.

Kat

Monte Milanuk wrote:

 Welcome to one of the 'quirks' of Mandrake 7.0 ( I presume that is what
 flavor you have).  If I recall, if you don't select 'Custom', and
 'Development' during install, or otherwise explicitly specify to install
 the compiler, you don't get it.  If you are downloading an *.rpm file,
 you should be able to install that no problem, assuming you have all the
 dependencies (required files/libraries,etc.) satisfied.

 HTH

 Monte

 James McLaughlin wrote:
 
  I am wondering why every time I attempt to compile something I continue to
  get errrors about my gcc or cc is missing.  I am guessing this is my C
  compilerI don't get itwhere the hell is it?  IF I do a locate I come
  up with zilch!  Nothing is out there...help..
 
  I am downloading gcc but I wonder if I can even install that without a
  compiler. :(
 
  Horribly frustrated tech..

 __
 Do You Yahoo!?
 Talk to your friends online with Yahoo! Messenger.
 http://im.yahoo.com




Re: [newbie] GCC is missing....grrrr

2000-05-03 Thread Joseph S. Gardner

James McLaughlin wrote:

 Hmmm..another question about this whole fiasco.  I dled the rpm ...transfered it
 to teh server, and from a ssh sesion I was not able to install the rpm.
 Is this because of security and installs like that can not be made remotly?
 (and is this somethign I would be responsible for ?)
 Or is it because I am missing some of the dependicies?

 Any help is greatly appreciate.  Thanks for the info Monte M.

 Kat

 snip

If memory serves me you need to su to root in order to install rpm's




--
Joseph S. Gardner
Senior Designer / Technical Support
Kirby Co.,  Cleveland, OH
[EMAIL PROTECTED]

Linux is like a wigwam...
No windows, no gates.
Apache inside

Registered linux user #1696600
ICQ #63389227





[newbie] GCC...where are you???

2000-05-03 Thread James McLaughlin

I am going to grab all of the files that are dependant of the gcc rpm and do
an install today.  HOPEFULLY this will work, and I will not have to go
through the whole messy upgrade process.  I would not have so much trouble
with this if I would have known sooner, but we already rebuilt the server
and got all of our programs running on it.  It would be a GREAT deal of
trouble to reinstall the server from scratch...way too much extra work todo.
I will try and keep the comm lines open here, and let some of you know how
this goes, or if I find another way to successfully install gcc.

Question for ya Dave:  After you installed the gcc rpm did you query it to
see if it really installed or not?  I would like to know if it comes back as
installed or still "missing".

Let me know what you find out..


Frustrated tech still..

-Original Message-
From: David Ramsey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 03, 2000 4:05 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [newbie] GCC is missingg


A. That might explain my problem! I have been trying to compile Mat
Trace Route. When I do so, the configure script checks for the compiler
GCC, and comes back and says it can't make executable file. I even went to
the installation CDROM and reinstalled all the GCC RPM files, and get the
same error. Suspect doing it this way does not set the right environment.
Any idea how to get around this without re-installing from scratch?

Dave

-Original Message-
From:   Monte Milanuk [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, May 03, 2000 6:01 AM
To: [EMAIL PROTECTED]
Subject:    Re: [newbie] GCC is missingg

Welcome to one of the 'quirks' of Mandrake 7.0 ( I presume that is what
flavor you have).  If I recall, if you don't select 'Custom', and
'Development' during install, or otherwise explicitly specify to install
the compiler, you don't get it.  If you are downloading an *.rpm file,
you should be able to install that no problem, assuming you have all the
dependencies (required files/libraries,etc.) satisfied.

HTH

Monte

James McLaughlin wrote:

 I am wondering why every time I attempt to compile something I continue
to
 get errrors about my gcc or cc is missing.  I am guessing this is my C
 compilerI don't get itwhere the hell is it?  IF I do a locate I
come
 up with zilch!  Nothing is out there...help..

 I am downloading gcc but I wonder if I can even install that without a
 compiler. :(

 Horribly frustrated tech..

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com




RE: [newbie] GCC...where are you???

2000-05-03 Thread David Ramsey

Well, actually the gcc was installed before. As for query it, not sure 
specifically what you mean. I went and check the RPM database and it showed 
as installed. I could go to the console and type the gcc command and it 
would come up and will of the options. I believe the problem is in the 
environment settings. I believe when I did not select the "Developer" 
option on installation, the environment variables was not setup correctly 
for it to make executables. But I pulled a list of environment and it was 
only 8 pages long. Nothing that specifically pointed to c or c++ compiler 
options.

I am like you. I have done allot of work to tailor the installation, and 
re-installing would be a pain. Actually got SAMBA to function fully and 
work with the domain controller, and integrated with the NT login script. 
Don't want to have to start from scratch.

Dave

-Original Message-
From:   James McLaughlin [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, May 03, 2000 4:53 PM
To: [EMAIL PROTECTED]
Subject:    [newbie] GCC...where are you???

I am going to grab all of the files that are dependant of the gcc rpm and 
do
an install today.  HOPEFULLY this will work, and I will not have to go
through the whole messy upgrade process.  I would not have so much trouble
with this if I would have known sooner, but we already rebuilt the server
and got all of our programs running on it.  It would be a GREAT deal of
trouble to reinstall the server from scratch...way too much extra work 
todo.
I will try and keep the comm lines open here, and let some of you know how
this goes, or if I find another way to successfully install gcc.

Question for ya Dave:  After you installed the gcc rpm did you query it to
see if it really installed or not?  I would like to know if it comes back 
as
installed or still "missing".

Let me know what you find out..


Frustrated tech still..

-Original Message-
From: David Ramsey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 03, 2000 4:05 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [newbie] GCC is missingg


A. That might explain my problem! I have been trying to compile Mat
Trace Route. When I do so, the configure script checks for the compiler
GCC, and comes back and says it can't make executable file. I even went to
the installation CDROM and reinstalled all the GCC RPM files, and get the
same error. Suspect doing it this way does not set the right environment.
Any idea how to get around this without re-installing from scratch?

Dave

-Original Message-
From:   Monte Milanuk [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, May 03, 2000 6:01 AM
To: [EMAIL PROTECTED]
Subject:    Re: [newbie] GCC is missingg

Welcome to one of the 'quirks' of Mandrake 7.0 ( I presume that is what
flavor you have).  If I recall, if you don't select 'Custom', and
'Development' during install, or otherwise explicitly specify to install
the compiler, you don't get it.  If you are downloading an *.rpm file,
you should be able to install that no problem, assuming you have all the
dependencies (required files/libraries,etc.) satisfied.

HTH

Monte

James McLaughlin wrote:

 I am wondering why every time I attempt to compile something I continue
to
 get errrors about my gcc or cc is missing.  I am guessing this is my C
 compilerI don't get itwhere the hell is it?  IF I do a locate I
come
 up with zilch!  Nothing is out there...help..

 I am downloading gcc but I wonder if I can even install that without a
 compiler. :(

 Horribly frustrated tech..

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com




[newbie] GCC is missing....grrrr

2000-05-02 Thread James McLaughlin

I am wondering why every time I attempt to compile something I continue to
get errrors about my gcc or cc is missing.  I am guessing this is my C
compilerI don't get itwhere the hell is it?  IF I do a locate I come
up with zilch!  Nothing is out there...help..


I am downloading gcc but I wonder if I can even install that without a
compiler. :(

Horribly frustrated tech..





Re: [newbie] GCC is missing....grrrr

2000-05-02 Thread Monte Milanuk

Welcome to one of the 'quirks' of Mandrake 7.0 ( I presume that is what
flavor you have).  If I recall, if you don't select 'Custom', and
'Development' during install, or otherwise explicitly specify to install
the compiler, you don't get it.  If you are downloading an *.rpm file,
you should be able to install that no problem, assuming you have all the
dependencies (required files/libraries,etc.) satisfied.  

HTH

Monte

James McLaughlin wrote:
 
 I am wondering why every time I attempt to compile something I continue to
 get errrors about my gcc or cc is missing.  I am guessing this is my C
 compilerI don't get itwhere the hell is it?  IF I do a locate I come
 up with zilch!  Nothing is out there...help..
 
 I am downloading gcc but I wonder if I can even install that without a
 compiler. :(
 
 Horribly frustrated tech..

__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com




Re: [newbie] GCC is missing....grrrr

2000-05-02 Thread Doom

is there any way to do a custom install to install various things...? cause
three choices is not alot if you need various things and wanna do it why
your loading mandrake...thanks


===
You know you've been hacking too long when...
...your digital alarm clock goes off and you think "Bloody Macs!"
===
- Original Message -
From: "Monte Milanuk" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 02, 2000 10:14 PM
Subject: Re: [newbie] GCC is missingg


 Welcome to one of the 'quirks' of Mandrake 7.0 ( I presume that is what
 flavor you have).  If I recall, if you don't select 'Custom', and
 'Development' during install, or otherwise explicitly specify to install
 the compiler, you don't get it.  If you are downloading an *.rpm file,
 you should be able to install that no problem, assuming you have all the
 dependencies (required files/libraries,etc.) satisfied.

 HTH

 Monte

 James McLaughlin wrote:
 
  I am wondering why every time I attempt to compile something I continue
to
  get errrors about my gcc or cc is missing.  I am guessing this is my C
  compilerI don't get itwhere the hell is it?  IF I do a locate I
come
  up with zilch!  Nothing is out there...help..
 
  I am downloading gcc but I wonder if I can even install that without a
  compiler. :(
 
  Horribly frustrated tech..

 __
 Do You Yahoo!?
 Talk to your friends online with Yahoo! Messenger.
 http://im.yahoo.com



_
NetZero - Defenders of the Free World
Click here for FREE Internet Access and Email
http://www.netzero.net/download/index.html




[newbie] GCC

2000-04-25 Thread Glenn Johnson

And yet another question. I've downloaded a few programs and tried to install
them to no avail. After I untar the file, I type './configure'. There is some
activity, and then a message that states the following: 

loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.

What's up with that? Does this mean that the GCC program is not installed or
not working properly?




Re: [newbie] gcc not working

2000-04-07 Thread Anthony Huereca

Looks like you dont' have all the libraries installed. Go to /usr/include and
see if stdio.h is there. If it's not, then you'll need to download an RPM of
whatever header files you need, like
http://rpmfind.net/linux/RPM/mandrake/cooker/cooker/Mandrake/RPMS/glibc-devel-2.1.3-2mdk.i586.html
 
for stdio.h. 

But from what it sounds like, this is a newly installed system so to save you
the headache of later compiles, you may want to consider reinstalling and this
time select all the packages that have ANYTHING to do with programming and/or
libraries. 
Hmm, reading through the installation procedure of Mandrake 7, looks like the
installation that you do ("recommended") doesn't let you choose what packages
you install. In that case, you can either look up each libary you're missing (I
use http://google.com/linux to search for the file and see what rpm file it is
in, and then use rpmfind.net to download it from) or else do a "Custom"
installation, which you probally wouldn't want to do since you're a newbie.
Your choice though.

And if any Mandrake peoples are reading this, you guys really need to make the
installation of all the libraries standard for all installations. It's a huge
hassle to go track down everything if you don't have it, and newbies don't
relieze that they'll need all those libraries (since they don't program) until
they start compiling stuff from source. 


 Hello!
 I have just installed Mandrake 7.0 yesterday I am
 a very newbie!!! :)
 i chose the 'recommended installation'
 i installed mandrake on its own partition!
 
 after installation... i tried gcc
 but it didn't work!
  i tried the famout "Hello World" example!
 but the compiler complained that
 stdio.h: No such file or directory
 what to do!
 i tried to reinstall linux again but this didn't work!
 any help would be greatly appreciated!
 thank u
 
 Urs..
  Mohamed Saad
 
 
 
 __
 Do You Yahoo!?
 Talk to your friends online with Yahoo! Messenger.
 http://im.yahoo.com
-- 
Anthony Huereca
http://m3000.1wh.com
Computers are not intelligent. They only think they are. 




Re: [newbie] gcc not working

2000-04-07 Thread John Scott

Right on, Anthony!  I just ran into the same type of problem trying to compile a 
driver for my NIC.  I
hope the Mandrake folks read your (our) messages.

Anthony Huereca wrote:

 Looks like you dont' have all the libraries installed. Go to /usr/include and
 see if stdio.h is there. If it's not, then you'll need to download an RPM of
 whatever header files you need, like
 
http://rpmfind.net/linux/RPM/mandrake/cooker/cooker/Mandrake/RPMS/glibc-devel-2.1.3-2mdk.i586.html
 for stdio.h.

 But from what it sounds like, this is a newly installed system so to save you
 the headache of later compiles, you may want to consider reinstalling and this
 time select all the packages that have ANYTHING to do with programming and/or
 libraries.
 Hmm, reading through the installation procedure of Mandrake 7, looks like the
 installation that you do ("recommended") doesn't let you choose what packages
 you install. In that case, you can either look up each libary you're missing (I
 use http://google.com/linux to search for the file and see what rpm file it is
 in, and then use rpmfind.net to download it from) or else do a "Custom"
 installation, which you probally wouldn't want to do since you're a newbie.
 Your choice though.

 And if any Mandrake peoples are reading this, you guys really need to make the
 installation of all the libraries standard for all installations. It's a huge
 hassle to go track down everything if you don't have it, and newbies don't
 relieze that they'll need all those libraries (since they don't program) until
 they start compiling stuff from source.

  Hello!
  I have just installed Mandrake 7.0 yesterday I am
  a very newbie!!! :)
  i chose the 'recommended installation'
  i installed mandrake on its own partition!
 
  after installation... i tried gcc
  but it didn't work!
   i tried the famout "Hello World" example!
  but the compiler complained that
  stdio.h: No such file or directory
  what to do!
  i tried to reinstall linux again but this didn't work!
  any help would be greatly appreciated!
  thank u
 
  Urs..
   Mohamed Saad
 
 
 
  __
  Do You Yahoo!?
  Talk to your friends online with Yahoo! Messenger.
  http://im.yahoo.com
 --
 Anthony Huereca
 http://m3000.1wh.com
 Computers are not intelligent. They only think they are.




[newbie] GCC or CC not Found..Any Help?

2000-02-15 Thread Jim Witterschein

I've installed Mandrake 7..0 and now I am attemtpting to setup Samba.  However,
when I run ./configure, I get the following messages:

checing for gcc...no
checking for cc...no
no acceptable cc found in $PATH

I have modifed my path a number of times, adding path's to where I believe the
GCC compiler is, but obviously i am wrong.  Can you help?  Is it possible hat
the latest Mandrake install that I completed did not install GCC?   I thought
that was part of the base package?

Dan Ferris wrote:

 Joe Knapp -Technician wrote:
 
  Hi Everyone,
 
  I'm 3 days old in linux. Using ver 7.02 of mandrake (GOD THAT WAS A LONG
  DLOAD!). Heh, anyway my question is a simple one, what is the best
  programming envinronmet for coding c in linux? I'm just looking for some
  opinions on this one so go ahead and fire away... also to at least keep me
  satisified temporarily what is the procedure for coding and compiling via
  command line.
 
  Joe Knapp
  [EMAIL PROTECTED]

 Although I'm not a C programmer (well as little as possible :-), I can
 give you a few pointers.

 If you like KDE, and plan to write Object Orienated programs for KDE,
 try Kdevelop.  It has a bunch of nice wizards for making widgets and
 classes and all that stuff.

 http://www.kdevelop.org

 There is another programming IDE for KDE as well, but I can't remember
 the name, or the web page.  I do not think that it is as far along in
 development as Kdevelop is. Kdevelop is past version 1.0 (I think its on
 1.1 or 1.0.1 I don't remember and don't feel like checking)

 If you want to use GTK+, there are a bunch of IDEs avaliable for it as
 well.  I think there is even one that is specifically for Gnome.  Go to
 http://www.gtk.org to check that out.

 Good luck.

 Dan



Re: [newbie] Gcc: Missing iostream.h ?

2000-02-05 Thread Ronald J. Yacketta

Do you have the development rpms installed for gcc/g++???

On Sat, 5 Feb 2000, Alan Tam wrote:

 Hi all,
 I am new to Linux and have just installed Mandrake 7.0
 When I try to compile Hello World as a C++ program in
 Code Crusader, gcc compliants about missing iostream.h
 
 =
 error message:
 make -k
 
 g++  -g -Wall -Werror -I- -I. -c hellocc.cc -o hellocc.o
 
 hellocc.cc:1: iostream.h: No such file or directory
 
 make: *** [hellocc.o] Error 1
 
 make: Target `a.out' not remade because of errors.
 
 
 Program returned error code 2
 
 ===
 original code:
 #include iostream.h
 
 int main()
 {
 cout  "Hello world !"  endl;
 }
 
 
 
 How to solve this problem ? Thanks in advance.
 
 Alan
 
 



Re: [Re: [newbie] Gcc: Missing iostream.h ?]

2000-02-05 Thread Sherab Puntsok

Hi Ronald,
  I don't know I've development files for gcc/g++ or not, I installed mandrake
7.0 by choosing the recommended option from an iso file downloaded from web
site and burn into a CD while I was in Windows98.

  If this option don't include the development files please point me to where
I can get the files.

  Thank you.

  Alan

"Ronald J. Yacketta" [EMAIL PROTECTED] wrote:
 Do you have the development rpms installed for gcc/g++???
 
 On Sat, 5 Feb 2000, Alan Tam wrote:
 
  Hi all,
  I am new to Linux and have just installed Mandrake 7.0
  When I try to compile Hello World as a C++ program in
  Code Crusader, gcc compliants about missing iostream.h
  
  =
  error message:
  make -k
  
  g++  -g -Wall -Werror -I- -I. -c hellocc.cc -o hellocc.o
  
  hellocc.cc:1: iostream.h: No such file or directory
  
  make: *** [hellocc.o] Error 1
  
  make: Target `a.out' not remade because of errors.
  
  
  Program returned error code 2
  
  ===
  original code:
  #include iostream.h
  
  int main()
  {
  cout  "Hello world !"  endl;
  }
  
  
  
  How to solve this problem ? Thanks in advance.
  
  Alan
  
  



Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.



Re: [newbie] gcc catch 22.

2000-01-26 Thread Thomas J. Hamman

On Wed, 26 Jan 2000, Mercy Ships-Pacific Webmaster wrote:

 Well here goes... thanks to all of you that hang out and help on these
 lists.. I should think that this would be a common problem for anyone
 wanting to install stuff on their system...
 I am attempting to install mysql onto my  system
 I run the ./configure script, but get the error..
 
 checking for gcc... no
 checking for cc... no
 configure: error: no acceptable cc found in $PATH
 
 right... so I look for it myself.. find / -name gcc* -print
 
 nope.. no luck.. tried the same for cc.. no luck..
 
 I searched through the mandrake and redhat RPMS on my Linux 6.0 disks but

Mandrake 6.0 uses a version of gcc (actually egcs I think) specialized in
compiling with Pentium optimizations, called pgcc.  So look for the pgcc
packages on your Mandrake 6.0 CD.

 couldn't find an RPM that indicated either of those. So I ftp
 gcc-2.95.2-3mdk.src.rpm
 
 aha.. i say to myself.. Im getting there.. I start RPM and open
 gcc-2.95.2-3mdk.src.rpm  install it and presto. or so i think... tried
 installing mysql again but get the same freaking error message..  Ok. so I
 locate gcc and find that the RPM has copied 8 files into
 /usr/src/RPM/SOURCES with the extension .tar.bz2  what the frick these are I

Well, take a look at the file you downloaded.

gcc-2.95.2-3mdk.src.rpm
---

That's a SOURCE RPM.  So, installing it did not give you a compiled gcc
binary.

I'd recommend installing the compiler that's in your distribution (in this
case pgcc), but I guess gcc-2.95.2 will be okay for you too if you grab a
compiled RPM.

-Tom



Re: [newbie] gcc catch 21.78651 rounded up

2000-01-26 Thread Mercy Ships-Pacific Webmaster

Opps.. dang computers, make me look like a fool.. lols. alright so i got the
wrong package  Downloaded gcc-r.95.2-4.i586.rpm and installed with all
dependencies... No worries... tried configuring mysql again, this time it
tells me:
checking for gcc... gcc
checking whether the C compiler  (gcc  ) works... no
configure: error: installation or configuration problem" C compiler cannot
create executables.

Oh, well I'm not too suprised, sometimes it just doesn't happen... so I
uninstall gcc package and dependants and install pgcc and dependencies
thinking this may be another way of getting something configured...Away we
go:

checking for gcc... gcc
checking whether the C compiler  (gcc  ) works... no
configure: error: installation or configuration problem" C compiler cannot
create executables.

why cant a C compiler create executables, I mean that's what a C compiler
does right?  I think I may have come up with a new vocation, selling cheap
computers and gasoline..


 MDK 6.1 uses pgcc, the rpm is on your disk.
 src.rpm's are *source* code, ie: not compiled.
 
 You might be better off upgrading or reinstalling
 (from your current CD)  choosing the development
 tools. N.B. upgrading can break stuff, so backup..
 

 Well here goes... thanks to all of you that hang out and help on these
 lists.. I should think that this would be a common problem for anyone
 wanting to install stuff on their system...
 I am attempting to install mysql onto my  system
 I run the ./configure script, but get the error..
 
 checking for gcc... no
 checking for cc... no
 configure: error: no acceptable cc found in $PATH
 
snip  *redfaced*
 I will not give up. one day I will succeed with your
 help..
 
 Aaron  newbie2
 



Re: [newbie] gcc catch 21.78651 rounded up

2000-01-26 Thread Thomas J. Hamman

You need the development packages too... at the very least you want to
install glibc-devel for C programs and libstdc++-devel for C++
programs.  You may also want several others like gtk-devel, qt-devel,
etc... any time you get that kind of error when compiling, check to make
sure you have 'devel' packages for all the stuff that program requires.

On Wed, 26 Jan 2000, Mercy Ships-Pacific Webmaster wrote:

 Opps.. dang computers, make me look like a fool.. lols. alright so i got the
 wrong package  Downloaded gcc-r.95.2-4.i586.rpm and installed with all
 dependencies... No worries... tried configuring mysql again, this time it
 tells me:
 checking for gcc... gcc
 checking whether the C compiler  (gcc  ) works... no
 configure: error: installation or configuration problem" C compiler cannot
 create executables.
 
 Oh, well I'm not too suprised, sometimes it just doesn't happen... so I
 uninstall gcc package and dependants and install pgcc and dependencies
 thinking this may be another way of getting something configured...Away we
 go:
 
 checking for gcc... gcc
 checking whether the C compiler  (gcc  ) works... no
 configure: error: installation or configuration problem" C compiler cannot
 create executables.
 
 why cant a C compiler create executables, I mean that's what a C compiler
 does right?  I think I may have come up with a new vocation, selling cheap
 computers and gasoline..



Re: [newbie] gcc catch 22.

2000-01-25 Thread Mercy Ships-Pacific Webmaster

Well here goes... thanks to all of you that hang out and help on these
lists.. I should think that this would be a common problem for anyone
wanting to install stuff on their system...
I am attempting to install mysql onto my  system
I run the ./configure script, but get the error..

checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

right... so I look for it myself.. find / -name gcc* -print

nope.. no luck.. tried the same for cc.. no luck..

I searched through the mandrake and redhat RPMS on my Linux 6.0 disks but
couldn't find an RPM that indicated either of those. So I ftp
gcc-2.95.2-3mdk.src.rpm

aha.. i say to myself.. Im getting there.. I start RPM and open
gcc-2.95.2-3mdk.src.rpm  install it and presto. or so i think... tried
installing mysql again but get the same freaking error message..  Ok. so I
locate gcc and find that the RPM has copied 8 files into
/usr/src/RPM/SOURCES with the extension .tar.bz2  what the frick these are I
have no idea.. so I open them with archiver and untar them into
/root/gcc-2.95.2 and end up with what looks to be like install and
configuration scripts.. Alright.. im there methinks.

So i type, configure --prefix=MYDIR /usr/local   (why?? cause i have no idea
at all what else to do, and it seemed ok at the time..) and get this
message.

Created "Makefile" in /root/gcc-2.95.2
/root/gcc-2.95.2/configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable to CC to a working compiler...

DANG IT... FRICK.. STUPID THING.. WHAT DOES IT THINK IM TRYING TO DO, BUT
INSTALL A WORKING COMPILER...

My path of course, is set to include /root/gcc-2.95.2 where i presume any
well behaved c compiler would hang out...

I will not give up. one day I will succeed with your
help..please?

Aaron  newbie2




  1   2   >