GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #14439

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Alexey Kotlyarov
Subject: Write doesn't work with CRT
Date: 24 Jan 2009, 23:56:40

? ???, 24/01/2009 ? 13:02 -0700, Yang Lao ?????:
> My guess is the "uses crt" is not needed for linux. If you still need
> your code to run under turbo pascal then put an IFDEF around it. You
> also shouldn't need the --automake when compiling...
It's not needed for this program, but I do need it for compatibility
reasons.

Automake is another thing, I couldn't build it at all without it:
$ ls
testcrt.pas
$ gpc testcrt.pas -o testcrt
testcrt.pas:2: ??????: module/unit interface `crt' could not be imported
$ gpc --automake testcrt.pas -o testcrt
$ ls
crtc.o   crt.o        gpc_bp.gpi  gpc_delphi.gpi  gpc.gpi  testcrt
crt.gpi  gpc-all.gpi  gpc_cp.gpi  gpc_ep.gpi      gpc.o    testcrt.pas
$ rm testcrt
$ gpc testcrt.pas -o testcrt




Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Frank Heckenbach Write doesn't work with CRT 25 Jan 2009, 03:07:29
Alexey Kotlyarov Write doesn't work with CRT 25 Jan 2009, 10:23:02
Yang Lao Write doesn't work with CRT 25 Jan 2009, 11:14:20

In reply to

Author Subject Date
Alexey Kotlyarov Write doesn't work with CRT 24 Jan 2009, 21:05:10
Yang Lao Write doesn't work with CRT 24 Jan 2009, 13:02:50

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).