Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-08

RTTI unit

28 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dimitri Smits

Hi,

I was wondering if anybody could direct me in the right direction (either mail, wiki) with regard to following questions.

What I want to do:
Since Delphi 2010, there is a new unit in the RTL that makes RTTI more of a breeze. I'd like to port (meaning: compatible interface, fpc implementation) this unit to fpc-rtl. Initially port over what is there already. Later maybe include in the compiler stuff like scoped RTTI (not just published alone) and "customattributes" if there is need for that level of compatibility. Also, adding more methods on the current interface is possible too. It is more than just a readable substitute for TypInfo.

For this I'd like to know a few things:
- First off: would this kind of thing even be considered for inclusion?
- How to get it into repository/feedback from core? (through feature request with attachment in mantis?)
- Codestyle conventions for fpc-code? (including licence-header etc)
- Is there (besides System, SysUtils, Types and the Variant-units) another place to look for RTTI-types?
- Where do I need to take care off (how to include it in rtl package, ..., unit-dependencies )?
- I've read somewhere that nothing gets included if no unit-tests are provided. Is this using fpcunit? Any pointers on the testingsystem, do's and don'ts are welcome.

Since I work on win32 (only), I'm not that familiar with makefiles. So, if I need to add anything to makefiles or copy+edit another makefile, please redirect me to more information. (mainly for testing-app, I guess)

Anyhow, the first question is the more crucial one. If anybody is interested in the (public) interfaces of the tobjecttypes, I can provide those. If there needs to be a debate first, fine by me ;-)

kind regards,
Dimitri Smits

Reply by email

Dimitri Smits
to Dimitri Smits

Hi,

(just hate it when you send something after re-reading it a few times, and a minute later you know that there is something important you forgot to ask)

Since objectnames and interfaces are cloned from Delphi everywhere in the fpc-rtl, I was wondering if this is legitimate use and not a copyright violation?

ie: the "interface" is the same, the implementation is different (unless trivial).

Is this, or is this not an issue?

kind regards,
Dimitri Smits

Reply by email

Daniël Mantione
to Dimitri Smits

Op Sat, 28 Aug 2010, schreef Dimitri Smits:

Show quoted text 9 lines
Hi, (just hate it when you send something after re-reading it a few times, and a minute later you know that there is something important you forgot to ask) Since objectnames and interfaces are cloned from Delphi everywhere in the fpc-rtl, I was wondering if this is legitimate use and not a copyright violation? ie: the "interface" is the same, the implementation is different (unless trivial). Is this, or is this not an issue?

The EU software directive says a few words about this matter:

"Protection in accordance with this Directive shall apply to the expression in any form of a computer program. Ideas and principles which underlie any element of a computer program, including those which underlie its interfaces, are not protected by copyright under this Directive."

In other words: It is okay to copy the interface, but not its expression.

Copyright is about creative decisions. For example the order in which procedures, variables are declared are creative decisions and thus part of the expression of an interface. If you make the same creative decisions as the original program, you violate copyright.

Generally safe is the clean room approach: Someone who doesn't know the Delphi source code implements it from documentation. This is internationally considered best practise and can avoid discussions wether it is a violation or not. If you happen to know the Delphi sources, you have to be carefull what you write.

The EU software directive allows us to develop FPC in a reasonably safe way, but the borders between independent implementation and copyright violation unfortunately is not black and white.

Daniël

Reply by email

Hans-Peter Diettrich
to Daniël Mantione
Show quoted text 14 lines
The EU software directive says a few words about this matter: "Protection in accordance with this Directive shall apply to the expression in any form of a computer program. Ideas and principles which underlie any element of a computer program, including those which underlie its interfaces, are not protected by copyright under this Directive." In other words: It is okay to copy the interface, but not its expression. Copyright is about creative decisions. For example the order in which procedures, variables are declared are creative decisions and thus part of the expression of an interface. If you make the same creative decisions as the original program, you violate copyright.

I doubt that. It should be possible to compare interfaces easily, for completeness and version compatibility. In languages like C and C++ you can get hell when you change the order of elements, with interleaved #defines and #ifs (what's possible in Pascal as well).

An interface is a contract, and as such every translation *must* follow the original closely.

Show quoted text 5 lines
Generally safe is the clean room approach: Someone who doesn't know the Delphi source code implements it from documentation. This is internationally considered best practise and can avoid discussions wether it is a violation or not. If you happen to know the Delphi sources, you have to be carefull what you write.

Documentation is known to not reflect the implementation properly, in all aspects. So another cleanroom were required, that documents the given *implementation*, in a way that allows to implement it in a different way or language.

The EU software directive allows us to develop FPC in a reasonably safe way, but the borders between independent implementation and copyright violation unfortunately is not black and white.

The above formulation is almost a literal translation of the German copyright law (UrhG). The UrhG also allows to observe and even decompile a software, in order to make it interface with some other software ("interoperability"). The only restriction: the results may not be disclosed. It would be interesting to get the full text of the EU directive, in order to find out more.

DoDi

Reply by email

Daniël Mantione
to Hans-Peter Diettrich

Op Sun, 29 Aug 2010, schreef Hans-Peter Diettrich:

Show quoted text 11 lines
> Copyright is about creative decisions. For example the order in > which procedures, variables are declared are creative decisions > and thus part of the expression of an interface. If you make > the same creative decisions as the original program, you > violate copyright. I doubt that. It should be possible to compare interfaces easily, for completeness and version compatibility. In languages like C and C++ you can get hell when you change the order of elements, with interleaved #defines and #ifs (what's possible in Pascal as well).

If the order of elements is enforced, it is not a creative decision, thus both programmers can make the same decision without violating each others copyright.

An interface is a contract, and as such every translation *must* follow the original closely.

Be happy an interface by itself is not copyrightable. If you read about the history about the software directive there was a big fight about this, because some companies like IBM wanted copyright to protect them against clones from the far east, while others actually wanted interoperating competing products.

But even though they are not copyrightable, you cannot verbatimly copy interface files. There is copyright on the expression of them.

Show quoted text 6 lines
The above formulation is almost a literal translation of the German copyright law (UrhG). The UrhG also allows to observe and even decompile a software, in order to make it interface with some other software ("interoperability"). The only restriction: the results may not be disclosed. It would be interesting to get the full text of the EU directive, in order to find out more.

No surpise here: All copyright laws of member states should be compatible with the directive, though many have skipped the wording about interfaces, but that does not matter a lot. You can the directive here:

http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=CELEX:31991L0250:EN:HTML

Replace the EN in the URL in e.g. DE, NL, ... to read it in another language.

Daniël

Reply by email

Marco van de Voort
to Daniël Mantione

In our previous episode, Dani?l Mantione said:

Show quoted text 7 lines
> and C++ you can get hell when you change the order of elements, > with interleaved #defines and #ifs (what's possible in Pascal as > well). If the order of elements is enforced, it is not a creative decision, thus both programmers can make the same decision without violating each others copyright.

This sidestep thread over the EU directive misses the main point. Legal or not, the question is do we really copy interfaces straight from Borland source? Afaik not. At least I never did, I always looked up header definitions from places as Delphi.about.com

Reply by email

Michael Van Canneyt
to Dimitri Smits: I was wondering if anybody could direct me in the right direction (either mail, wiki)…
Dimitri Smits wrote 13 lines
Hi, I was wondering if anybody could direct me in the right direction (either mail, wiki) with regard to following questions. What I want to do: Since Delphi 2010, there is a new unit in the RTL that makes RTTI more of a breeze. I'd like to port (meaning: compatible interface, fpc implementation) this unit to fpc-rtl. Initially port over what is there already. Later maybe include in the compiler stuff like scoped RTTI (not just published alone) and "customattributes" if there is need for that level of compatibility. Also, adding more methods on the current interface is possible too. It is more than just a readable substitute for TypInfo.

Well, the compiler doesn't support custom attributes.

For this I'd like to know a few things: - First off: would this kind of thing even be considered for inclusion?

Yes. Any unit to increase Delphi compatibility is worth of inclusion.

- How to get it into repository/feedback from core? (through feature request with attachment in mantis?)

I'll handle that; Just post it on mantis, I'll look into it.

- Codestyle conventions for fpc-code? (including licence-header etc)

Modified LGPL header (see any rtl file).
Code style: follow the Borland style guide.

- Is there (besides System, SysUtils, Types and the Variant-units) another place to look for RTTI-types?

Not sure I know what you mean by this ?

- Where do I need to take care off (how to include it in rtl package, ..., unit-dependencies )?

Nothing. I'll take care of that, you just write the code.

- I've read somewhere that nothing gets included if no unit-tests are - provided. Is this using fpcunit? Any pointers on the testingsystem, - do's and don'ts are welcome.

You can use fpcunit; there are sample tests in the fcl-fpcunit directory.

All other daily test programs use a different mechanism: they must return a zero exit code. Nonzero exit code means that there is an error.

You're free to choose one over the other; Personally, I favour fpc-unit style. I find it works most easily, definitely if you use Lazarus.

Since I work on win32 (only), I'm not that familiar with makefiles. So, if I need to add anything to makefiles or copy+edit another makefile, please redirect me to more information. (mainly for testing-app, I guess)

Let me handle that. Focus on the code.

Michael.

Reply by email

Paul Ishenin
to Dimitri Smits: I was wondering if anybody could direct me in the right direction (either mail, wiki)…
Dimitri Smits wrote
What I want to do: Since Delphi 2010, there is a new unit in the RTL that makes RTTI more of a breeze. I'd like to port (meaning: compatible interface, fpc implementation) this unit to fpc-rtl. Initially port over what is there already. Later maybe include in the compiler stuff like scoped RTTI (not just published alone) and "customattributes" if there is need for that level of compatibility. Also, adding more methods on the current interface is possible too. It is more than just a readable substitute for TypInfo.

At the present state of fpc compiler it is technically imposible to port delphi rtti unit. To do this you need first to implement the next compiler features:

1. Extended records (methods, class operators)
2. Generics as in delphi
3. Attributes

Once I tried to implement extended records in the compiler but the changes were too big for the time I had and I had left that idea for the better time.

Best regards,
Paul Ishenin.

Reply by email

Dimitri Smits
to Paul Ishenin

Hi Paul,
thanks for the input.

----- "Paul Ishenin" wrote 10 lines
29.08.2010 3:46, Dimitri Smits wrote: > What I want to do: > Since Delphi 2010, there is a new unit in the RTL that makes RTTI > more of a breeze. I'd like to port (meaning: compatible interface, fpc > implementation) this unit to fpc-rtl. Initially port over what is > there already. Later maybe include in the compiler stuff like scoped > RTTI (not just published alone) and "customattributes" if there is > need for that level of compatibility. Also, adding more methods on the > current interface is possible too. It is more than just a readable > substitute for TypInfo.
Show quoted text 8 lines
At the present state of fpc compiler it is technically imposible to port delphi rtti unit. To do this you need first to implement the next compiler features: 1. Extended records (methods, class operators) 2. Generics as in delphi 3. Attributes

4. scopeable RTTI ($RTTI directive)

Show quoted text 5 lines
Once I tried to implement extended records in the compiler but the changes were too big for the time I had and I had left that idea for the better time.

incremental changes. First try the basic types, then classes/objects/records. And leave out those types for now that cannot be ported. In a next phase, then include what is needed either in compiler or fpc-specific rtti objects (in same style/spirit).

As for that (4) above. The last few months I've seen this requested a few times (either direct or indirect) on mailinglists.

kind regards,
Dimitri Smits

Reply by email

Hans-Peter Diettrich
to Daniël Mantione: Op Sun, 29 Aug 2010, schreef Hans-Peter Diettrich: If the order of elements is enforced,…
If the order of elements is enforced, it is not a creative decision, thus both programmers can make the same decision without violating each others copyright.

How can one be sure that the arrangement is not required, somehow? ;-)

Show quoted text 8 lines
> An interface is a contract, and as such every translation *must* > follow the original closely. Be happy an interface by itself is not copyrightable. If you read about the history about the software directive there was a big fight about this, because some companies like IBM wanted copyright to protect them against clones from the far east, while others actually wanted interoperating competing products.

Competing products seem to have won, else FPC and Lazarus were illegal.

But even though they are not copyrightable, you cannot verbatimly copy interface files. There is copyright on the expression of them.

ACK.

Thanks :-)

I didn't know that the Directive is so old, and has become part of the German law almost literally.

DoDi

Reply by email

Marco van de Voort
to Hans-Peter Diettrich: How can you be sure that this information has been acquired and published in accordance…

In our previous episode, Hans-Peter Diettrich said:

Show quoted text 8 lines
> This sidestep thread over the EU directive misses the main point. Legal or > not, the question is do we really copy interfaces straight from Borland > source? Afaik not. At least I never did, I always looked up header > definitions from places as Delphi.about.com How can you be sure that this information has been acquired and published in accordance to the law?

I didn't claimed to. That goes for anything on the web btw, which is why I generally try Microsoft sources first, and see if I can derive it from that in combination with testing with applications. This doesn't go for everything but goes a long way.

I also avoid using materials that I received under my Delphi eula, but try to use websources. That includes Embarcaderos, since I consider those published.

I haven't researched every legal aspect of that policy, but I considered that an easier defendable position then trying to defy an agreed EULA first.

Another murky subject is the docs (in CHM format and others) that have been (are?) available from Embarcadero FTP server. I never used those either, but partially that is also because Borland started posting docs online before it became necessary for me.

Reply by email

Marco van de Voort
to Hans-Peter Diettrich: IMO compatibility with the Delphi Unicode version were a different project, requiring…

In our previous episode, Hans-Peter Diettrich said:

Show quoted text 12 lines
>> For this I'd like to know a few things: >> - First off: would this kind of thing even be considered for inclusion? > > Yes. Any unit to increase Delphi compatibility is worth of inclusion. IMO compatibility with the Delphi Unicode version were a different project, requiring some manpower. There exist some more questionable features, resulting from the (attempted and dropped) .NET version, like dotted unit names. IMO we should wait for Delphi "X", and then update FPC/Lazarus according to that platform independent version.

Since this feature is not fully connected to unicode I don't see the need for that restriction. Even if we only allow it in a possible future D2009+ mode, changing mode assignments is probably much less work than implementing it.

Reply by email

Michael Van Canneyt
to Hans-Peter Diettrich: IMO compatibility with the Delphi Unicode version were a different project, requiring…
Hans-Peter Diettrich wrote 14 lines
Michael Van Canneyt schrieb: >> For this I'd like to know a few things: >> - First off: would this kind of thing even be considered for inclusion? > > Yes. Any unit to increase Delphi compatibility is worth of inclusion. IMO compatibility with the Delphi Unicode version were a different project, requiring some manpower. There exist some more questionable features, resulting from the (attempted and dropped) .NET version, like dotted unit names. IMO we should wait for Delphi "X", and then update FPC/Lazarus according to that platform independent version.

There is nothing in Delphi X (due in 3 days) that will not build on these existing things. We need those first.

Michael.

Reply by email

Marco van de Voort
to Michael Van Canneyt

In our previous episode, Michael Van Canneyt said:

Show quoted text 11 lines
> > IMO compatibility with the Delphi Unicode version were a different project, > requiring some manpower. There exist some more questionable features, > resulting from the (attempted and dropped) .NET version, like dotted unit > names. > > IMO we should wait for Delphi "X", and then update FPC/Lazarus according to > that platform independent version. There is nothing in Delphi X (due in 3 days) that will not build on these existing things. We need those first.

Delphi Xe is not the multiplatform version anyways.

Reply by email

Michael Van Canneyt
to Hans-Peter Diettrich: Can you help out with my makefile problem, arising during recompilation of the compiler…
Hans-Peter Diettrich wrote 13 lines
Michael Van Canneyt schrieb: >> Since I work on win32 (only), I'm not that familiar with makefiles. So, if >> I need to add anything to makefiles or copy+edit another makefile, please >> redirect me to more information. (mainly for testing-app, I guess) > > Let me handle that. Focus on the code. Can you help out with my makefile problem, arising during recompilation of the compiler (NoGlobals branch)? The build fails when the (relative) searchpaths are prefixed with "..\" in a later stage of the make cycle, as already reported.

That sounds like a compiler problem, not a makefile problem. That is beyond my capabilities.

The makefiles have worked for 16 years. Unless you changed them, I see nothing that could cause it to break except a broken compiler.

Michael.

Reply by email

Hans-Peter Diettrich
to Marco van de Voort: In our previous episode, Dani?l Mantione said: This sidestep thread over the EU directive…
This sidestep thread over the EU directive misses the main point. Legal or not, the question is do we really copy interfaces straight from Borland source? Afaik not. At least I never did, I always looked up header definitions from places as Delphi.about.com

How can you be sure that this information has been acquired and published in accordance to the law?

But you are right, this is not the right place for a detailed discussion. Let's do our best, *not* to violate the rights of others...

DoDi

Reply by email

Hans-Peter Diettrich
to Michael Van Canneyt: Well, the compiler doesn't support custom attributes. Yes. Any unit to increase Delphi…
> For this I'd like to know a few things: > - First off: would this kind of thing even be considered for inclusion? Yes. Any unit to increase Delphi compatibility is worth of inclusion.

IMO compatibility with the Delphi Unicode version were a different project, requiring some manpower. There exist some more questionable features, resulting from the (attempted and dropped) .NET version, like dotted unit names.

IMO we should wait for Delphi "X", and then update FPC/Lazarus according to that platform independent version.

DoDi

Reply by email

Michael Van Canneyt
to Marco van de Voort: In our previous episode, Michael Van Canneyt said: Delphi Xe is not the multiplatform…
Marco van de Voort wrote 16 lines
In our previous episode, Michael Van Canneyt said: >> >> IMO compatibility with the Delphi Unicode version were a different project, >> requiring some manpower. There exist some more questionable features, >> resulting from the (attempted and dropped) .NET version, like dotted unit >> names. >> >> IMO we should wait for Delphi "X", and then update FPC/Lazarus according to >> that platform independent version. > > There is nothing in Delphi X (due in 3 days) that will not build on these existing things. > We need those first. Delphi Xe is not the multiplatform version anyways. From what I've heard, the Mac version is unlikely to appear soon, alone a linux version.

Michael.

Reply by email

Hans-Peter Diettrich
to Michael Van Canneyt: Well, the compiler doesn't support custom attributes. Yes. Any unit to increase Delphi…
Show quoted text 6 lines
> Since I work on win32 (only), I'm not that familiar with makefiles. > So, if > I need to add anything to makefiles or copy+edit another makefile, please > redirect me to more information. (mainly for testing-app, I guess) Let me handle that. Focus on the code.

Can you help out with my makefile problem, arising during recompilation of the compiler (NoGlobals branch)?

The build fails when the (relative) searchpaths are prefixed with "..\" in a later stage of the make cycle, as already reported.

DoDi

Reply by email

Marco van de Voort
to Michael Van Canneyt: Michael.

In our previous episode, Michael Van Canneyt said:

Show quoted text 7 lines
>> There is nothing in Delphi X (due in 3 days) that will not build on these existing things. >> We need those first. > > Delphi Xe is not the multiplatform version anyways. From what I've heard, the Mac version is unlikely to appear soon, if at all. Let alone a linux version.

Professionally I'm not terribly interested in either atm. I am mildly interested in Windows 64-bit, but in my current job it has no real big priority either. On the other hand, when most camera manufacturers start moving focus from 32-bit to 64-bit, it needs to be there instantly.

Reply by email

Michael Van Canneyt
to Marco van de Voort
Marco van de Voort wrote 13 lines
In our previous episode, Michael Van Canneyt said: >>> There is nothing in Delphi X (due in 3 days) that will not build on these existing things. >>> We need those first. >> >> Delphi Xe is not the multiplatform version anyways. > From what I've heard, the Mac version is unlikely to appear soon, if at all. > Let alone a linux version. Professionally I'm not terribly interested in either atm. I am mildly interested in Windows 64-bit, but in my current job it has no real big priority either. On the other hand, when most camera manufacturers start moving focus from 32-bit to 64-bit, it needs to be there instantly.

The 64-bit version is where the focus is.
Since that requires them to rework the compiler and then the complete VCL, they're in for some work.

Michael.

Reply by email

Paul Ishenin
to Dimitri Smits: thanks for the input. 4. scopeable RTTI ($RTTI directive) incremental changes. First try…
Dimitri Smits wrote 9 lines
> At the present state of fpc compiler it is technically imposible to > port > delphi rtti unit. To do this you need first to implement the next > compiler features: > > 1. Extended records (methods, class operators) > 2. Generics as in delphi > 3. Attributes 4. scopeable RTTI ($RTTI directive)

I mean that for implementing RTTI unit compatible by interface with delphi you need that 3 features I wrote about. Or how you will port for example TValue record:

   TValue = record
   private
     function GetIsEmpty: Boolean;
     ...
     procedure Get<T>(out Result: T);
   public
     // Easy in
     class operator Implicit(const Value: string): TValue;
    ...

1. GetIsEmpty - a method in a record.
2. Get<T>(out Result: T) - generics as in delphi
3. class operator Implicit(const Value: string): TValue - delphi class operators

I was wrong about Attributes - seems they are not used in the rtti unit interface.

Best regards,
Paul Ishenin.

Reply by email

Daniël Mantione
to Paul Ishenin

Op Sun, 29 Aug 2010, schreef Paul Ishenin:

Show quoted text 14 lines
29.08.2010 21:39, Dimitri Smits wrote: >> At the present state of fpc compiler it is technically imposible to >> port >> delphi rtti unit. To do this you need first to implement the next >> compiler features: >> >> 1. Extended records (methods, class operators) >> 2. Generics as in delphi >> 3. Attributes > 4. scopeable RTTI ($RTTI directive) I mean that for implementing RTTI unit compatible by interface with delphi you need that 3 features I wrote about. Or how you will port for example TValue record:
You can come a long way by using FPC alternatives: Use objects, and
overload the := operator.

Daniël

Reply by email

Dimitri Smits
to Michael Van Canneyt: Michael.
----- "Michael Van Canneyt" wrote 14 lines
On Sun, 29 Aug 2010, Marco van de Voort wrote: > In our previous episode, Michael Van Canneyt said: >> >> There is nothing in Delphi X (due in 3 days) that will not build on these existing things. >> We need those first. > > Delphi Xe is not the multiplatform version anyways. >From what I've heard, the Mac version is unlikely to appear soon, if at all. Let alone a linux version.

I have browsed through the system.pas file of 2010 on one occasion (when I had the chance). Was full of MACOS and Linux IFDEF's already!

kind regards,
Dimitri Smits

Reply by email

Hans-Peter Diettrich
to Michael Van Canneyt: That sounds like a compiler problem, not a makefile problem. That is beyond my…
Show quoted text 5 lines
> The build fails when the (relative) searchpaths are prefixed with > "..\" in a later stage of the make cycle, as already reported. That sounds like a compiler problem, not a makefile problem. That is beyond my capabilities.

I see no chance how the compiler can influence the command arguments, generated by Make.

The makefiles have worked for 16 years. Unless you changed them, I see nothing that could cause it to break except a broken compiler.

It may be a configuration problem. Can you build the new NoGlobals compiler(s)?

DoDi

Reply by email

Michael Van Canneyt
to Dimitri Smits: I have browsed through the system.pas file of 2010 on one occasion (when I had the…
Dimitri Smits wrote 20 lines
----- "Michael Van Canneyt" schreef: > On Sun, 29 Aug 2010, Marco van de Voort wrote: > >> In our previous episode, Michael Van Canneyt said: >>> >>> There is nothing in Delphi X (due in 3 days) that will not build on > these existing things. >>> We need those first. >> >> Delphi Xe is not the multiplatform version anyways. > >> From what I've heard, the Mac version is unlikely to appear soon, if > at all. > Let alone a linux version. > I have browsed through the system.pas file of 2010 on one occasion (when I had the chance). Was full of MACOS and Linux IFDEF's already!

The linux ifdefs are there since 2002.

Michael.

Reply by email

Michael Van Canneyt
to Hans-Peter Diettrich: I see no chance how the compiler can influence the command arguments, generated by Make.…
Hans-Peter Diettrich wrote 10 lines
Michael Van Canneyt schrieb: >> The build fails when the (relative) searchpaths are prefixed with "..\" in >> a later stage of the make cycle, as already reported. > > That sounds like a compiler problem, not a makefile problem. That is beyond > my capabilities. I see no chance how the compiler can influence the command arguments, generated by Make.

If the same command works with trunk, then the cause is in the compiler, since that is the only thing that differs ?

Show quoted text 7 lines
> The makefiles have worked for 16 years. Unless you changed them, I see > nothing > that could cause it to break except a broken compiler. It may be a configuration problem. Can you build the new NoGlobals compiler(s)?

The compiler is built. ppudump is not.
But the same makefile works for trunk, so the cause is in the compiler.

Michael.

Reply by email

Hans-Peter Diettrich
to Michael Van Canneyt
Show quoted text 7 lines
>>> The build fails when the (relative) searchpaths are prefixed with >>> "..\" in a later stage of the make cycle, as already reported. > It may be a configuration problem. Can you build the new NoGlobals > compiler(s)? The compiler is built. ppudump is not.

Right, because the search paths are modified by make, after the compiler has been built and moved.

The compiler cannot work with wrong search paths, obviously. So the question is still not answered: what causes make to provide wrong -Fi arguments to the compiler?

DoDi

Reply by email