* gcc doesn't work but seemed to install fine...
@ 2002-09-22 20:01 Ed
2002-09-22 22:07 ` Michael A Chase
0 siblings, 1 reply; 8+ messages in thread
From: Ed @ 2002-09-22 20:01 UTC (permalink / raw)
To: cygwin
Hello all,
I just used the cygwin setup program to install gcc on my d: drive on
my windows 2000 professional pc.
The install seemed to go fine. From the command line I can get the
version of gcc:
bash.exe-2.02$ gcc -v
Using builtin specs.
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
But when I try to compile something I get an error:
bash.exe-2.02$ gcc socks.c
cpp: unrecognized option `-remap'
And then an error box pops up that says:
The procedure entry point_ctype_ could not be located in the dynamic
link libary cygwin1.dll.
What's up here? Have I been a bad little programmer?
Any suggestions welcome...
Thanks,
Ed
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gcc doesn't work but seemed to install fine...
2002-09-22 20:01 gcc doesn't work but seemed to install fine Ed
@ 2002-09-22 22:07 ` Michael A Chase
0 siblings, 0 replies; 8+ messages in thread
From: Michael A Chase @ 2002-09-22 22:07 UTC (permalink / raw)
To: Ed, cygwin
On 22 Sep 2002 20:53:57 -0600 Ed <ed@telestoconsulting.com> wrote:
> I just used the cygwin setup program to install gcc on my d: drive on
> my windows 2000 professional pc.
>
> The install seemed to go fine. From the command line I can get the
> version of gcc:
>
> bash.exe-2.02$ gcc -v
> Using builtin specs.
> gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
egcs != Cygwin. Check $PATH.
> But when I try to compile something I get an error:
> bash.exe-2.02$ gcc socks.c
> cpp: unrecognized option `-remap'
>
> And then an error box pops up that says:
> The procedure entry point_ctype_ could not be located in the dynamic
> link libary cygwin1.dll.
>
> What's up here? Have I been a bad little programmer?
You seem to have a very old installation. The current Cygwin Bash is 2.05
and the Cygwin GCC 2 has been 2.95.2 or .3 for ages. Even the Mingw GCC
has been at 2.95.2 since 1999.
Your first step should be to visit http://cygwin.com/ and install
a recent version of Cygwin, including GCC.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: gcc doesn't work but seemed to install fine...
2002-09-24 7:20 ` Barry Buchbinder
@ 2002-09-24 7:41 ` Barry Buchbinder
0 siblings, 0 replies; 8+ messages in thread
From: Barry Buchbinder @ 2002-09-24 7:41 UTC (permalink / raw)
To: cygwin; +Cc: cygwin
I didn't know that about download.com either. I was
interested in seeing if they supplied source so I
looked and that was what I found.
- Barry
--- Igor Pechtchanski <pechtcha@cs.nyu.edu> wrote:
> Oh, didn't know that about download.com. What threw
> me off was the
> subject -- one can read it as "gcc installed fine",
> so I assumed she
> actually explicitly installed gcc... My bad.
> Igor
>
> On Tue, 24 Sep 2002, Barry Buchbinder wrote:
>
> > download.com just points to setup.exe on the
> cygwin
> > home page so what she got was up to date but
> > incomplete. Betty didn't see the instructions for
> how
> > to install so didn't install gcc and man, as
> neither
> > gcc nor man are part of the base install. Betty
> > should see the the installation instructions on
> the
> > cygwin home page http://sources.redhat.com/cygwin/
> and
> > then re-run steup. And get in the habit of using
> the
> > cygwin home page and not download.com when dealing
> > with cygwin.
> >
> > - Barry
> >
> > On Mon, 23 Sep 2002, Betty Cheung wrote:
> >
> > > Hi, all,
> > >
> > > I installed cygwin 1.3.1 whole package on my
> PC with windows XP from
> > > download.com as instructed and started cygwin
> from my desktop. But when I
> > > compile a c program: gcc try.c -o try.exe, I got
> "bash: gcc: command not
> > > found", then I typed 'man gcc' I got "bash: man:
> command not found".
> > > Could anybody tell me how to use gcc with
> cygwin? any demo for that?
> > >
> > > Many Thanks!
> > >
> > > Betty
> >
> > Betty,
> >
> > It looks like your Cygwin was not set up properly
> (missing or incorrect
> > $PATH, etc). This could have something to do with
> the fact that you
> > didn't get it from an official Cygwin mirror...
> Also, 1.3.1 is OLD, OLD,
> > OLD!
> >
> > Here's what you can do:
> > Rename your current cygwin directory (to
> "cygwin.old", for example).
> > Go to http://cygwin.com/ , click on "Install
> Cygwin now", and download
> > setup.exe. Follow the instructions to upgrade
> your Cygwin to 1.3.12-4
> > (which is the latest for now; 1.3.13 may be
> released soon). You may
> > choose any mirror. Also install gcc-2.95.3-5 (or
> you may try your luck
> > with 3.2-1), and any other packages you think you
> need (e.g., man, less,
> > etc). Move any files you created from your old
> cygwin tree to the new
> > one. Then try your compilation again.
> > Igor
> > P.S. You may also remove your old cygwin tree at
> that
> > point -- you won't need it anymore.
>
> --
> http://cs.nyu.edu/~pechtcha/
> |\ _,,,---,,_ pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
> |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
> '---''(_/--' `-'\_) fL a.k.a
> JaguaR-R-R-r-r-r-.-.-. Meow!
>
> "Water molecules expand as they grow warmer" (C)
> Popular Science, Oct'02, p.51
>
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: gcc doesn't work but seemed to install fine...
2002-09-24 7:14 ` Igor Pechtchanski
@ 2002-09-24 7:20 ` Barry Buchbinder
2002-09-24 7:41 ` Barry Buchbinder
0 siblings, 1 reply; 8+ messages in thread
From: Barry Buchbinder @ 2002-09-24 7:20 UTC (permalink / raw)
To: cygwin; +Cc: cygwin
I didn't know that about download.com either. I was
interested in seeing if they supplied source so I
looked and that was what I found.
- Barry
--- Igor Pechtchanski <pechtcha@cs.nyu.edu> wrote:
> Oh, didn't know that about download.com. What threw
> me off was the
> subject -- one can read it as "gcc installed fine",
> so I assumed she
> actually explicitly installed gcc... My bad.
> Igor
>
> On Tue, 24 Sep 2002, Barry Buchbinder wrote:
>
> > download.com just points to setup.exe on the
> cygwin
> > home page so what she got was up to date but
> > incomplete. Betty didn't see the instructions for
> how
> > to install so didn't install gcc and man, as
> neither
> > gcc nor man are part of the base install. Betty
> > should see the the installation instructions on
> the
> > cygwin home page http://sources.redhat.com/cygwin/
> and
> > then re-run steup. And get in the habit of using
> the
> > cygwin home page and not download.com when dealing
> > with cygwin.
> >
> > - Barry
> >
> > On Mon, 23 Sep 2002, Betty Cheung wrote:
> >
> > > Hi, all,
> > >
> > > I installed cygwin 1.3.1 whole package on my
> PC with windows XP from
> > > download.com as instructed and started cygwin
> from my desktop. But when I
> > > compile a c program: gcc try.c -o try.exe, I got
> "bash: gcc: command not
> > > found", then I typed 'man gcc' I got "bash: man:
> command not found".
> > > Could anybody tell me how to use gcc with
> cygwin? any demo for that?
> > >
> > > Many Thanks!
> > >
> > > Betty
> >
> > Betty,
> >
> > It looks like your Cygwin was not set up properly
> (missing or incorrect
> > $PATH, etc). This could have something to do with
> the fact that you
> > didn't get it from an official Cygwin mirror...
> Also, 1.3.1 is OLD, OLD,
> > OLD!
> >
> > Here's what you can do:
> > Rename your current cygwin directory (to
> "cygwin.old", for example).
> > Go to http://cygwin.com/ , click on "Install
> Cygwin now", and download
> > setup.exe. Follow the instructions to upgrade
> your Cygwin to 1.3.12-4
> > (which is the latest for now; 1.3.13 may be
> released soon). You may
> > choose any mirror. Also install gcc-2.95.3-5 (or
> you may try your luck
> > with 3.2-1), and any other packages you think you
> need (e.g., man, less,
> > etc). Move any files you created from your old
> cygwin tree to the new
> > one. Then try your compilation again.
> > Igor
> > P.S. You may also remove your old cygwin tree at
> that
> > point -- you won't need it anymore.
>
> --
> http://cs.nyu.edu/~pechtcha/
> |\ _,,,---,,_ pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
> |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
> '---''(_/--' `-'\_) fL a.k.a
> JaguaR-R-R-r-r-r-.-.-. Meow!
>
> "Water molecules expand as they grow warmer" (C)
> Popular Science, Oct'02, p.51
>
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: gcc doesn't work but seemed to install fine...
2002-09-24 7:01 Barry Buchbinder
@ 2002-09-24 7:14 ` Igor Pechtchanski
2002-09-24 7:20 ` Barry Buchbinder
0 siblings, 1 reply; 8+ messages in thread
From: Igor Pechtchanski @ 2002-09-24 7:14 UTC (permalink / raw)
To: Barry Buchbinder; +Cc: cygwin
Oh, didn't know that about download.com. What threw me off was the
subject -- one can read it as "gcc installed fine", so I assumed she
actually explicitly installed gcc... My bad.
Igor
On Tue, 24 Sep 2002, Barry Buchbinder wrote:
> download.com just points to setup.exe on the cygwin
> home page so what she got was up to date but
> incomplete. Betty didn't see the instructions for how
> to install so didn't install gcc and man, as neither
> gcc nor man are part of the base install. Betty
> should see the the installation instructions on the
> cygwin home page http://sources.redhat.com/cygwin/ and
> then re-run steup. And get in the habit of using the
> cygwin home page and not download.com when dealing
> with cygwin.
>
> - Barry
>
> On Mon, 23 Sep 2002, Betty Cheung wrote:
>
> > Hi, all,
> >
> > I installed cygwin 1.3.1 whole package on my PC with windows XP from
> > download.com as instructed and started cygwin from my desktop. But when I
> > compile a c program: gcc try.c -o try.exe, I got "bash: gcc: command not
> > found", then I typed 'man gcc' I got "bash: man: command not found".
> > Could anybody tell me how to use gcc with cygwin? any demo for that?
> >
> > Many Thanks!
> >
> > Betty
>
> Betty,
>
> It looks like your Cygwin was not set up properly (missing or incorrect
> $PATH, etc). This could have something to do with the fact that you
> didn't get it from an official Cygwin mirror... Also, 1.3.1 is OLD, OLD,
> OLD!
>
> Here's what you can do:
> Rename your current cygwin directory (to "cygwin.old", for example).
> Go to http://cygwin.com/ , click on "Install Cygwin now", and download
> setup.exe. Follow the instructions to upgrade your Cygwin to 1.3.12-4
> (which is the latest for now; 1.3.13 may be released soon). You may
> choose any mirror. Also install gcc-2.95.3-5 (or you may try your luck
> with 3.2-1), and any other packages you think you need (e.g., man, less,
> etc). Move any files you created from your old cygwin tree to the new
> one. Then try your compilation again.
> Igor
> P.S. You may also remove your old cygwin tree at that
> point -- you won't need it anymore.
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: gcc doesn't work but seemed to install fine...
@ 2002-09-24 7:01 Barry Buchbinder
2002-09-24 7:14 ` Igor Pechtchanski
0 siblings, 1 reply; 8+ messages in thread
From: Barry Buchbinder @ 2002-09-24 7:01 UTC (permalink / raw)
To: cygwin; +Cc: bettycheung_02
download.com just points to setup.exe on the cygwin
home page so what she got was up to date but
incomplete. Betty didn't see the instructions for how
to install so didn't install gcc and man, as neither
gcc nor man are part of the base install. Betty
should see the the installation instructions on the
cygwin home page http://sources.redhat.com/cygwin/ and
then re-run steup. And get in the habit of using the
cygwin home page and not download.com when dealing
with cygwin.
- Barry
On Mon, 23 Sep 2002, Betty Cheung wrote:
> Hi, all,
>
> I installed cygwin 1.3.1 whole package on my PC
with windows XP from
> download.com as instructed and started cygwin from
my desktop. But when I
> compile a c program: gcc try.c -o try.exe, I got
"bash: gcc: command not
> found", then I typed 'man gcc' I got "bash: man:
command not found".
> Could anybody tell me how to use gcc with cygwin?
any demo for that?
>
> Many Thanks!
>
> Betty
Betty,
It looks like your Cygwin was not set up properly
(missing or incorrect
$PATH, etc). This could have something to do with the
fact that you
didn't get it from an official Cygwin mirror... Also,
1.3.1 is OLD, OLD,
OLD!
Here's what you can do:
Rename your current cygwin directory (to "cygwin.old",
for example).
Go to http://cygwin.com/ , click on "Install Cygwin
now", and download
setup.exe. Follow the instructions to upgrade your
Cygwin to 1.3.12-4
(which is the latest for now; 1.3.13 may be released
soon). You may
choose any mirror. Also install gcc-2.95.3-5 (or you
may try your luck
with 3.2-1), and any other packages you think you need
(e.g., man, less,
etc). Move any files you created from your old cygwin
tree to the new
one. Then try your compilation again.
Igor
P.S. You may also remove your old cygwin tree at that
point -- you won't
need it anymore.
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a
JaguaR-R-R-r-r-r-.-.-. Meow!
"Water molecules expand as they grow warmer" (C)
Popular Science, Oct'02, p.51
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gcc doesn't work but seemed to install fine...
2002-09-24 0:01 Betty Cheung
@ 2002-09-24 6:49 ` Igor Pechtchanski
0 siblings, 0 replies; 8+ messages in thread
From: Igor Pechtchanski @ 2002-09-24 6:49 UTC (permalink / raw)
To: Betty Cheung; +Cc: cygwin
On Mon, 23 Sep 2002, Betty Cheung wrote:
> Hi, all,
>
> I installed cygwin 1.3.1 whole package on my PC with windows XP from
> download.com as instructed and started cygwin from my desktop. But when I
> compile a c program: gcc try.c -o try.exe, I got "bash: gcc: command not
> found", then I typed 'man gcc' I got "bash: man: command not found".
> Could anybody tell me how to use gcc with cygwin? any demo for that?
>
> Many Thanks!
>
> Betty
Betty,
It looks like your Cygwin was not set up properly (missing or incorrect
$PATH, etc). This could have something to do with the fact that you
didn't get it from an official Cygwin mirror... Also, 1.3.1 is OLD, OLD,
OLD!
Here's what you can do:
Rename your current cygwin directory (to "cygwin.old", for example).
Go to http://cygwin.com/ , click on "Install Cygwin now", and download
setup.exe. Follow the instructions to upgrade your Cygwin to 1.3.12-4
(which is the latest for now; 1.3.13 may be released soon). You may
choose any mirror. Also install gcc-2.95.3-5 (or you may try your luck
with 3.2-1), and any other packages you think you need (e.g., man, less,
etc). Move any files you created from your old cygwin tree to the new
one. Then try your compilation again.
Igor
P.S. You may also remove your old cygwin tree at that point -- you won't
need it anymore.
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 8+ messages in thread
* gcc doesn't work but seemed to install fine...
@ 2002-09-24 0:01 Betty Cheung
2002-09-24 6:49 ` Igor Pechtchanski
0 siblings, 1 reply; 8+ messages in thread
From: Betty Cheung @ 2002-09-24 0:01 UTC (permalink / raw)
To: cygwin
Hi, all,
I installed cygwin 1.3.1 whole package on my PC with windows XP from
download.com as instructed and started cygwin from my desktop. But when I
compile a c program: gcc try.c -o try.exe, I got "bash: gcc: command not
found", then I typed 'man gcc' I got "bash: man: command not found".
Could anybody tell me how to use gcc with cygwin? any demo for that?
Many Thanks!
Betty
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2002-09-24 14:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-22 20:01 gcc doesn't work but seemed to install fine Ed
2002-09-22 22:07 ` Michael A Chase
2002-09-24 0:01 Betty Cheung
2002-09-24 6:49 ` Igor Pechtchanski
2002-09-24 7:01 Barry Buchbinder
2002-09-24 7:14 ` Igor Pechtchanski
2002-09-24 7:20 ` Barry Buchbinder
2002-09-24 7:41 ` Barry Buchbinder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).