Mail Archives: djgpp/1998/01/07/19:51:20
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
- Raw text -