Hi!
22-Jun-98 15:51 Peter Gerwinski wrote:
However I was unable to install RHIDE for Linux (rpm2tgz from Slackware 3.4 distribution fails with the rpm package) [...]
What about `rpm --install ...'? It worked for me.
I do not have rpm in my Slackware distribution. If nothing else helps, I'll try to find it on the Net.
- (I think this one is not new) `--automake' does pass all required .o files to the linker if it didn't need to recompile the sources.
That's not new, but again a better analysis of the problem. In order to hunt the bug, an example program which will output "OK" when the bug will be fixed would be helpful. (Or do we already have one? I have lost overview a little ... #-)
I never had it (overview, that is), but I do not think it is easy to write such a program. Well, maybe...
--- automakebug.pas ---
program AutoMakeBug;
uses First;
begin CallFirst; end.
--- first.pas ---
unit First;
interface
procedure CallFirst;
implementation
uses Second;
procedure CallFirst; begin CallSecond; end;
end.
--- second.pas ---
unit Second;
interface
procedure CallSecond;
implementation
procedure CallSecond; begin WriteLn('Hi!'); end;
end.
---
First time it compiles nicely, second time ld complains about `Callsecond' being undefined. It might be possible to write a wrapper to execute `gpc --automake automakebug.pas' twice and output 'Ok' if the second compilation succeeds.
Yours, -- Marius Gedminas "A Hacker is any person who derives E-mail: mgedmin@pub.osf.lt joy from discovering ways to WWW: http://www-public.osf.lt/~mgedmin/ circumvent limitations." rab'86