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

Mail #13485

Back to main page of archive

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

From: Adriaan van Os
Subject: New (gpc-20060325)
Date: 29 Mar 2006, 11:18:23

> Waldek Hebisch wrote:
>
>>  Adriaan van Os wrote:
>>>  Waldek Hebisch wrote:
>>>>  BTW: if the same happens with standalone program (without modules)
>>>>  I should be able to reproduce it.
>>>
>>>  Sorry, not clear to me what you mean.
>>
>>  I have build a cross-compiler targetting Mac OSX. However, I do not
>>  have the complete toolchain (only bare compiler). Without full
>>  toolchain I can not compile RTS (the problem really is configure)  
>> and
>>  also I can not compile anything using GPC module.
>>
>>  If you have a testcase which does not use GPC module (directy or
>>  indirectly) I should be able to compile it. In fact, if a program  
>> uses
>>  no extra modules (units) at all debugging becomes easier.
>>
>>  I have tried the cross-compiler on various test programs and ATM it
>>  happily produced stabs debug info.
>
> OK, I understand, I will look for a testcase (or try to isolate the
> problem).

Some observations:

1. the problem does not occur when running gpc directly rather than  
with make, even when passing the same compiler switches (this sounds  
like random behaviour and makes me think there is an uninitialized  
variable somewhere in the compiler source code)

2. the problems disappears when I remove Turbo3 from the USES clause  
in aturbo3test.pas

3. the problem persists when I reduce the Turbo3 unit to nothing but

import

        System (MemAvail => System_MemAvail,
                MaxAvail => System_MaxAvail);

Will try to further narrow this down in units/System.pas.

Regards,

Adriaan van Os



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


Replies

Author Subject Date
Frank Heckenbach New (gpc-20060325) 29 Mar 2006, 13:15:27
Adriaan van Os New (gpc-20060325) 29 Mar 2006, 13:33:34
Adriaan van Os New (gpc-20060325) 29 Mar 2006, 16:16:19

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).