Well, I managed to get g77 to build on my PowerBook, simply by building fink's bison and using that rather than Apple's. The Apple version in /usr/bin is somewhat older, so maybe that caused the problem on my PowerBook. The fix didn't work on my G5, though. I still get the same problem.

I am also interested in the possibility of using Apple's gcc for g77. I downloaded their CVS version the other day, and the version appears to be 3.4. The problem, of course, is that this isn't a stable version. I couldn't get it to build on my G5 using the 'Apple way' of building, and I didn't bother to find out what the problem was. If there were a way of locating a 'stable' version of gcc 3.3 in their CVS repository, that might be nice. Here are the contents of version.c:

#include "ansidecl.h"
#include "version.h"

/* This is the string reported as the version number by all components
   of the compiler.  If you distribute a modified version of GCC,
   please modify this string to indicate that, e.g. by putting your
   organization's name in parentheses at the end of the string.  */

/* APPLE LOCAL begin Apple version */
/* When updating this string:
- For each internal build, increment the build number.
- When merging from the FSF, delete any (experimental) or (prerelease).
Apple doesn't mark its GCC versions as 'prerelease', because a released
compiler will be identical to the last prerelease compiler and it
makes no sense to mark released compilers as 'prerelease'.
- There are other scripts that search for first word of the string
to get version number string. Do not use new line.
*/
const char version_string[] = "3.4 20030213 (Apple Computer, Inc. build 1714)";
/* APPLE LOCAL end Apple version */


/* This is the location of the online document giving instructions for
   reporting bugs.  If you distribute a modified version of GCC,
   please change this to refer to a document giving instructions for
   reporting bugs to you, not us.  (You are of course welcome to
   forward us bugs reported to you, if you determine that they are
   not bugs in your modifications.)  */

/* APPLE LOCAL begin Apple bug-report */
const char bug_report_url[] = "<URL:http://developer.apple.com/bugreporter>";
/* APPLE LOCAL end Apple bug-report */



Charles


Charles A. Williams
Dept. of Earth & Environmental Science
Science Center 2C01
Rensselaer Polytechnic Institute
Troy, NY  12180
Phone:  (518) 276-8463
FAX:            (518) 276-2012
e-mail: [EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to