On Sun, 2004-03-07 at 12:09, Frank Heckenbach wrote:
Frank Jahnke wrote:
The major known issue with 3.3.x are system-dependent conditionals.
Is this an issue with gcc or with gpc?
GPC. (The internals changed in GCC, and GPC will have to adjust. Since this seems to mean an integrated preprocessor, this won't be a small fix, and might take some time. There's only a quick work-around for now, but as I said, unless there's a good reason to use gcc-3.3.x, it might be better to avoid it with GPC for now.)
OK. 3.2.3_1 is in the FreeBSD ports tree (and nine others of various vintages). Let me try that one.
This has no effect on linking the different compilers? That is counterintuitive...
I have had some ports break (for example, the plotting package Grace) with gcc 3.3.3 that worked fine with 2.95, for example. All cases have been with testing for system-dependent conditionals. And by system-dependent conditionals, I'm assuming that this is testing for not-a-number, infinity, and the like. Is that correct?
No, what I mean are simply things like `{$ifdef linux}' etc.
Understood. Not an issue for the codes I want to use. I wrote these many, many years ago, and are simple optimization and finite difference and element codes for problems that are now again of interest. Rather than translate them to C, I thought it easier to get the Pascal compiler going. Yes, I tried p2c, but these are written in Berkeley Pascal, and hence non-standard enough that p2c choked.
I expect that there are a number of these conditionals in the makefile for the compiler, though.
I don't know how serious this issue is under FreeBSD (not very much under Linux, quite serious under Dos/Windows targets). There's a work-around, but to be sure, you might want to use 3.2.x instead (which also seems to behave mostly the same for our purposes as 3.3.x). I suppose all 3.x versions are generally interlinkable (independent of language).
Russell Whitaker, myself and possibly others have tried with 3.3.3, and AFAWCT it's as good (or bad, see above) with GPC as 3.3.2.
My guess is that FreeBSD is more like Linux than DOS for this issue. I may just give it a shot with what I have, and see how it turns out.
I also suppose so, only guessing of course.
That is good news. I have gmake; as long as documentation is available in other forms (for example, ps or pdf) then I would be good to go.
These formats are there on the homepage (beside HTML, of course). The info format is included with the non-minimal source distributions. Building any of them yourself requires GNU texinfo (and perhaps other tools, such as GNU awk and bash).
With all due respect, I find that info pages are not that useful. The man page -- yes. More information necessary? I go to paper manual.
Frank
the other Frank