public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Raju K. V." <rajukv@wipinfo.soft.net>
To: Wei  Xu <weixuz@yesic.com>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: gcc library
Date: Wed, 07 Jul 1999 07:47:00 -0000	[thread overview]
Message-ID: <Pine.SV4.3.93.990707203910.536C-100000@tagore> (raw)
In-Reply-To: <003901bec883$34bc9e00$c3dba1d1@Xu.toronto.vr1.com>

hi,

use g++ instead of gcc.

HTH,
Raju

On Wed, 7 Jul 1999, Wei  Xu wrote:

> Dear all,
> 
> I an new to this software. I have download the full verions of  Cygwin. When
> I try to testing the =
> gcc with the following C++ code:
> 
> #include <iostream.h>
> 
> int main (int argc, char **argv)
> {
>   cout << "Hello world\n";
>     printf("Hello world\n");
> }
> 
> 
> It says:
> 
> try.cc: In function `int main(int, char **)':
> try.cc:6: warning: implicit declaration of function `int printf(...)'
> C:\WINDOWS\TEMP\ccz14xFI.o(.text+0x1e):try.cc: undefined reference to =
> `cout'
> C:\WINDOWS\TEMP\ccz14xFI.o(.text+0x23):try.cc: undefined reference to =
> `ostream::
> operator<<(char const *)'
> collect2: ld returned 1 exit status
> 
> I can figure out what is wrong with my installation or library?=20
> Here is my set:
> 
> BASH_VERSION=3D'2.02.1(2)-release'
> BLASTER=3D'A220 I2 D3 H7 P330 T6'
> CMDLINE=3Dbash
> COMSPEC=3D'C:\COMMAND.COM'
> CTSYN=3D'C:\WINDOWS'
> DIRSTACK=3D()
> EUID=3D500
> GROUPS=3D()
> HISTFILE=3D/.bash_history
> HISTFILESIZE=3D500
> HISTSIZE=3D500
> HOSTNAME=3DXu
> HOSTTYPE=3Di586
> IFS=3D'
> '
> INCLUDE=3D'C:\MICROS~1\VC98\ATL\INCLUDE;C:\MICROS~1\VC98\INCLUDE;C:\MICRO=
> S~1\VC98\
> MFC\INCLUDE;'
> LIB=3D'C:\MICROS~1\VC98\LIB;C:\MICROS~1\VC98\MFC\LIB;'
> MACHTYPE=3Di586-pc-cygwin32
> MAILCHECK=3D60
> MAKE_MODE=3DUNIX
> MSDEVDIR=3D'C:\MICROS~1\COMMON\msdev98'
> MSVCDIR=3D'C:\MICROS~1\VC98'
> OLDPWD=3D/
> OPTERR=3D1
> OPTIND=3D1
> OSTYPE=3Dcygwin32
> PATH=3D/CYGNUS/CYGWIN~1/H-I586~1/BIN:/MICROS~1/COMMON/MSDEV98/BIN:/MICROS=
> ~1/VC98/B
> IN:/MICROS~1/COMMON/TOOLS/WIN98:/MICROS~1/COMMON/TOOLS:/SYSTEM:/PROGRA~1/=
> TEXMF/M
> IKTEX/BIN:/WINDOWS:/WINDOWS/COMMAND:/PROGRA~1/BIN:/PROGRA~1/JDK1.2/BIN:/M=
> ICROS~1
> /COMMON/MSDEV98/BIN
> PIPESTATUS=3D([0]=3D"1")
> PPID=3D1000
> PROMPT=3D'$p$g'
> PS1=3D'\s-\v\$ '
> PS2=3D'> '
> PS4=3D'+ '
> PWD=3D/Tmp
> SHELL=3D/bin/sh
> SHELLOPTS=3Dbraceexpand:hashall:histexpand:monitor:history:interactive-co=
> mments:em
> acs
> SHLVL=3D1
> TEMP=3D'C:\WINDOWS\TEMP'
> TERM=3Dcygwin
> TMP=3D'C:\WINDOWS\TEMP'
> UID=3D500
> WINBOOTDIR=3D'C:\WINDOWS'
> WINDIR=3D'C:\WINDOWS'
> _=3Dtry.cc
> 
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

WARNING: multiple messages have this Message-ID
From: "Raju K. V." <rajukv@wipinfo.soft.net>
To: Wei  Xu <weixuz@yesic.com>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: gcc library
Date: Sat, 31 Jul 1999 18:34:00 -0000	[thread overview]
Message-ID: <Pine.SV4.3.93.990707203910.536C-100000@tagore> (raw)
Message-ID: <19990731183400.ox5bmjiN26Fdi5l_6rm5FrV7Mz0Ymz7WG6CJk_u7oG0@z> (raw)
In-Reply-To: <003901bec883$34bc9e00$c3dba1d1@Xu.toronto.vr1.com>

hi,

use g++ instead of gcc.

HTH,
Raju

On Wed, 7 Jul 1999, Wei  Xu wrote:

> Dear all,
> 
> I an new to this software. I have download the full verions of  Cygwin. When
> I try to testing the =
> gcc with the following C++ code:
> 
> #include <iostream.h>
> 
> int main (int argc, char **argv)
> {
>   cout << "Hello world\n";
>     printf("Hello world\n");
> }
> 
> 
> It says:
> 
> try.cc: In function `int main(int, char **)':
> try.cc:6: warning: implicit declaration of function `int printf(...)'
> C:\WINDOWS\TEMP\ccz14xFI.o(.text+0x1e):try.cc: undefined reference to =
> `cout'
> C:\WINDOWS\TEMP\ccz14xFI.o(.text+0x23):try.cc: undefined reference to =
> `ostream::
> operator<<(char const *)'
> collect2: ld returned 1 exit status
> 
> I can figure out what is wrong with my installation or library?=20
> Here is my set:
> 
> BASH_VERSION=3D'2.02.1(2)-release'
> BLASTER=3D'A220 I2 D3 H7 P330 T6'
> CMDLINE=3Dbash
> COMSPEC=3D'C:\COMMAND.COM'
> CTSYN=3D'C:\WINDOWS'
> DIRSTACK=3D()
> EUID=3D500
> GROUPS=3D()
> HISTFILE=3D/.bash_history
> HISTFILESIZE=3D500
> HISTSIZE=3D500
> HOSTNAME=3DXu
> HOSTTYPE=3Di586
> IFS=3D'
> '
> INCLUDE=3D'C:\MICROS~1\VC98\ATL\INCLUDE;C:\MICROS~1\VC98\INCLUDE;C:\MICRO=
> S~1\VC98\
> MFC\INCLUDE;'
> LIB=3D'C:\MICROS~1\VC98\LIB;C:\MICROS~1\VC98\MFC\LIB;'
> MACHTYPE=3Di586-pc-cygwin32
> MAILCHECK=3D60
> MAKE_MODE=3DUNIX
> MSDEVDIR=3D'C:\MICROS~1\COMMON\msdev98'
> MSVCDIR=3D'C:\MICROS~1\VC98'
> OLDPWD=3D/
> OPTERR=3D1
> OPTIND=3D1
> OSTYPE=3Dcygwin32
> PATH=3D/CYGNUS/CYGWIN~1/H-I586~1/BIN:/MICROS~1/COMMON/MSDEV98/BIN:/MICROS=
> ~1/VC98/B
> IN:/MICROS~1/COMMON/TOOLS/WIN98:/MICROS~1/COMMON/TOOLS:/SYSTEM:/PROGRA~1/=
> TEXMF/M
> IKTEX/BIN:/WINDOWS:/WINDOWS/COMMAND:/PROGRA~1/BIN:/PROGRA~1/JDK1.2/BIN:/M=
> ICROS~1
> /COMMON/MSDEV98/BIN
> PIPESTATUS=3D([0]=3D"1")
> PPID=3D1000
> PROMPT=3D'$p$g'
> PS1=3D'\s-\v\$ '
> PS2=3D'> '
> PS4=3D'+ '
> PWD=3D/Tmp
> SHELL=3D/bin/sh
> SHELLOPTS=3Dbraceexpand:hashall:histexpand:monitor:history:interactive-co=
> mments:em
> acs
> SHLVL=3D1
> TEMP=3D'C:\WINDOWS\TEMP'
> TERM=3Dcygwin
> TMP=3D'C:\WINDOWS\TEMP'
> UID=3D500
> WINBOOTDIR=3D'C:\WINDOWS'
> WINDIR=3D'C:\WINDOWS'
> _=3Dtry.cc
> 
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

  parent reply	other threads:[~1999-07-07  7:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-07  7:16 Wei  Xu
1999-07-07  7:41 ` Jonathan Pryor
1999-07-31 18:34   ` Jonathan Pryor
1999-07-07  7:47 ` Raju K. V. [this message]
1999-07-31 18:34   ` Raju K. V.
1999-07-31 18:34 ` Wei  Xu
1999-07-07  7:54 Thomas Pfaff
1999-07-31 18:34 ` Thomas Pfaff
1999-07-07  7:55 Wei  Xu
1999-07-31 18:34 ` Wei  Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SV4.3.93.990707203910.536C-100000@tagore \
    --to=rajukv@wipinfo.soft.net \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=weixuz@yesic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).