Ainsi parlait Prof Abimbola Olowofoyeku : [..]
- i had to add the following
files and directories to make units work: %{_prefix}/lib/gcc-lib/%{gcc_target_platform}/%{gcc_version}/cpp0 %{_prefix}/lib/gcc-lib/%{gcc_target_platform}/%{gcc_version}/cc1 %{_prefix}/lib/gcc-lib/%{gcc_target_platform}/%{gcc_version}/include %{_prefix}/lib/gcc-lib/%{gcc_target_platform}/%{gcc_version}/units - gcc-cpp seems to be called gccpp now Off course, if you're interested in the spec file, i can send it back :-)
Well, I don't think all that is necessary if the compiler is installed correctly (at least, it all works here, without my fiddling with the specs file). Perhaps this is all because you are building and mdk?
There is not 2.95.2 gcc package available, only 2.96 and 3.03, so i had to create a standalone gpc package. However, there is also a gcc 2.95.4 maintained for PPC, and i just had the maintainer agreement to use it also for gpc. I'll try this ASAP.
Everything now seems to be fine, however, CRT extension doesn't work -(
[guillaume@silbermann 301]$ cat test1.pas PROGRAM Test;
BEGIN WRITELN('Hello World'); END. [guillaume@silbermann 301]$ cat test2.pas PROGRAM Test; USES CRT;
BEGIN WRITELN('Hello World'); END. [guillaume@silbermann 301]$ gpc --automake test1.pas -o test1 [guillaume@silbermann 301]$ ./test1 Hello World [guillaume@silbermann 301]$ gpc --automake test2.pas -o test2 [guillaume@silbermann 301]$ ./test2 (nothing)
So, what going wrong there ?
Strange. Doesn't work here either. I have never noticed this before (probably because I haven't used crt under linux). However, I don't remember any problem with crt coming up when I ran the testsuite. Mandrake is based on RH and so may have the same bugs as RH. But I have also tested this on Redmond Linux, which is based on Debian, and the same problem exists there. Again, this didn't show up when I ran the testsuite.
Same for me for crtdemo.pas