Date: Wed, 7 Jan 1998 16:49:29 -0800 (PST) Message-Id: <199801080049.QAA10386@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: cterry AT plinet DOT com, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: C++ configuration Precedence: bulk At 11:15 1/6/1998 -0800, Charles Terry wrote: >This is my first post so hello. > >I'm new to djgpp and having a couple of problems compiling source >written originally on turbo c++. >I'm using gcc 2.7.2 >When I run gcc on a *.cpp using -t it links crt0.o. Shouldn't it use >gcrt0.o? No. `gcrt0.o' is used when linking a program for profiling. Both C and C++ use `crt0.o' normally. > As is I get a ld warning "can't find start using default...." >If I specify gcrt0.o as input I dont get the message but 2 startup files >can't be right? No, shouldn't be. Especially since `gcrt0.o' is the same as `crt0.o' with a jump instruction added which pulls in the profiling code. >Then- either way I get and ld message "memory exausted". This is difficult to interpret. Please post: * The *exact* error messages you see * The command line you use to compile * The source file you are trying to compile (please reduce it to a small example) Nate Eldredge eldredge AT ap DOT net