public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Huge binary size!
@ 1999-11-23  4:17 Faisal Nasim
  1999-11-30 23:39 ` Faisal Nasim
  0 siblings, 1 reply; 4+ messages in thread
From: Faisal Nasim @ 1999-11-23  4:17 UTC (permalink / raw)
  To: cygwin

Hi,

I have Cygwin b20 and I always get binaries of about 300 kb...
but this time it has reached over the limit to 7 mb!

The C++ program uses iostream and fstream libraries.
strip would make it 6.6 mb...

The program won't compile with VC Compiler 6.00 :-)
complains at write() and read() where Cygwin doesn't
and works great too! (but binary size 7mb makes the program
useless)

Any ideas?

Thank you!

P.S. I am not on the list, please CC a mail copy my mailbox,
that would be very kind!



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

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

* Huge binary size!
  1999-11-23  4:17 Huge binary size! Faisal Nasim
@ 1999-11-30 23:39 ` Faisal Nasim
  0 siblings, 0 replies; 4+ messages in thread
From: Faisal Nasim @ 1999-11-30 23:39 UTC (permalink / raw)
  To: cygwin

Hi,

I have Cygwin b20 and I always get binaries of about 300 kb...
but this time it has reached over the limit to 7 mb!

The C++ program uses iostream and fstream libraries.
strip would make it 6.6 mb...

The program won't compile with VC Compiler 6.00 :-)
complains at write() and read() where Cygwin doesn't
and works great too! (but binary size 7mb makes the program
useless)

Any ideas?

Thank you!

P.S. I am not on the list, please CC a mail copy my mailbox,
that would be very kind!



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

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

* RE: Huge binary size!
  1999-11-23  7:47 Luke Liu
@ 1999-11-30 23:39 ` Luke Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Luke Liu @ 1999-11-30 23:39 UTC (permalink / raw)
  To: cygwin, 'Faisal Nasim'

Using Visual C++ 6(or 5, anyhow), when the old stream library was used, the
binary size is significantly smaller than the std::ofstream... I am not sure
whether it happened same way with gcc but believe gcc always supports new
standard better and is an excellent tool.

BTW, thank for more experienced guys in the list. Last time I was
complaining about a 518KB helloworld.exe, after stripping, it was 7.6KB,
--same with both mingw32 and cygwin. But now that you've done the
stripping...

Luke

> ----------
> From: 	Faisal Nasim[SMTP:whizkid@sat.net.pk]
> Sent: 	Tuesday, November 23, 1999 6:17 AM
> To: 	cygwin@sourceware.cygnus.com
> Subject: 	Huge binary size!
> 
> The C++ program uses iostream and fstream libraries.
> strip would make it 6.6 mb...
> 

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

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

* RE: Huge binary size!
@ 1999-11-23  7:47 Luke Liu
  1999-11-30 23:39 ` Luke Liu
  0 siblings, 1 reply; 4+ messages in thread
From: Luke Liu @ 1999-11-23  7:47 UTC (permalink / raw)
  To: cygwin, 'Faisal Nasim'

Using Visual C++ 6(or 5, anyhow), when the old stream library was used, the
binary size is significantly smaller than the std::ofstream... I am not sure
whether it happened same way with gcc but believe gcc always supports new
standard better and is an excellent tool.

BTW, thank for more experienced guys in the list. Last time I was
complaining about a 518KB helloworld.exe, after stripping, it was 7.6KB,
--same with both mingw32 and cygwin. But now that you've done the
stripping...

Luke

> ----------
> From: 	Faisal Nasim[SMTP:whizkid@sat.net.pk]
> Sent: 	Tuesday, November 23, 1999 6:17 AM
> To: 	cygwin@sourceware.cygnus.com
> Subject: 	Huge binary size!
> 
> The C++ program uses iostream and fstream libraries.
> strip would make it 6.6 mb...
> 

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

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

end of thread, other threads:[~1999-11-30 23:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-23  4:17 Huge binary size! Faisal Nasim
1999-11-30 23:39 ` Faisal Nasim
1999-11-23  7:47 Luke Liu
1999-11-30 23:39 ` Luke Liu

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