Mail Archives: djgpp/1997/02/03/01:43:26
| From: | Krzysztof Kwapien <kkwapien AT melkor DOT mimuw DOT edu DOT pl>
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | gpc liniking problem
|
| Date: | Tue, 28 Jan 1997 10:54:04 +0100
|
| Organization: | Division of Mathematics, Informatics and Mechanics, Warsaw University
|
| Lines: | 21
|
| Message-ID: | <32EDCCBC.5F19AB32@melkor.mimuw.edu.pl>
|
| NNTP-Posting-Host: | mazur.mimuw.edu.pl
|
| Mime-Version: | 1.0
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I wrote the hello world program:
program helloworld
begin
writeln('Hello World!');
end.
When I compiled it with
gpc -o hello hello.pas
it worked just fine, but when I tried :
gpc -c hello.pas <-this worked
gpc -o hello hello.o <-this crashed
RHIDE compiles the second way so it crashes too
The error reported is something like
SIGSEGV .....
I tried it with the option -v, and it seems, as if some temporary files
are created, and linked-in when compiled straight from a .pas file, and
those files are omitted when linking from na .o file.
Please Help!
Chris Kwapien ( kkwapien AT mimuw DOT edu DOT pl )
- Raw text -