Subject: Re: STATUS_ACCESS_VIOLATION when running g++ (formerly without subject)
From: [email-masked] (Scott Warner)

20 Nov 1997 13:47:35 -0800
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
To: "Capron, Craig W" <[email-masked]>, <[email-masked]>

Apparently gcc will compile depending on your filename extension which
should be .cc or .cpp for C++.  I use

g++ -o foo.exe foo.cpp

This calls gcc with a few added parameters as I understand it.  Other than
that I can't imagine why it doesn't compile, unless your environmental
variables are incorrect and the compiler can't locate a needed file.

----------
> From: Capron, Craig W <[email-masked]>
> To: 'Scott Warner' <[email-masked]>
> Cc: [email-masked]'
> Subject: RE: STATUS_ACCESS_VIOLATION when running g++ (formerly without
subject)
> Date: Wednesday, November 19, 1997 8:26 AM
> 
> Hi Scott,
> 
> Thanks Scott, but the error repeats.  That is, it didn't change
> anything; I'm still getting the same error.
> 
> cwc
> 
> 	----------
> 	From: 	Scott Warner[SMTP:[email-masked]]
> 	Sent: 	Wednesday, November 19, 1997 4:05 AM
> 	To: 	Capron, Craig W; [email-masked]
> 	Subject: 	Re:
> 
> 	Craig,
> 
> 	try int main() to specify what return type
> 
> 	----------
> 	> From: Capron, Craig W <[email-masked]>
> 	> To: [email-masked]'
> 	> Subject: 
> 	> Date: Monday, November 17, 1997 12:38 PM
> 	> 
> 	> Greetings!  I am new to programming and newer to Cygnus
> software, so I
> 	> beg your sufferance.  I have recently installed Cygnus'
> gnu-win32, b18,
> 	> and everything seems to be working fine except the compiler.
> I've
> 	> written the following simple program named 'welcome.C':
> 	> 
> 	> 	// A first program in C++
> 	> 
> 	> 	#include <iostream.h>
> 	> 
> 	> 	main(){
> 	> 	  cout << "Welcome to C++!\n";
> 	> 
> 	> 	  // indicate that program ended successfully
> 	> 	  return 0;
> 	> 	}
> 	> 
> 	> . . . but when I ran g++ I received the following error
> message:
> 	> 
> 	> 	(unknown) heap_init: unable to allocate heap, win32
> error 87
> 
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".