There are a couple threads about installing GPC onto Mac OS X and BeOS. The main one for BeOS ends with "just try it," which I did... and it didn't work. The most helpful one for Mac OS X links to a PDF that contains instructions for getting GPC compiled... but it's in French, and after the free French-English translation websites butcher it, it's more difficult to read than it was in French!
Here's the deal:
• I need to install GPC on BeOS 5 for Intel - Getting it installed in Mac OS X is secondary at best . BUT, it would be a nice bonus if you could help . I would like the focus of this thread to be on BeoS
• I'm writing a new operating system from within BeOS - I am writing custom link libraries specific to my OS . So I don't care about lack of BeOS-specific libs in GPC
• BePascal is no more, so it is not an option - Unless you know where I can still obtain it from
• The failure is the same on both platforms when running 'configure' - 'Configuration i586-pc-beos not supported' (BeOS) - 'Configuration powerpc-apple-bsd not supported' (Mac OS X)
I'm using GCC 2.95.2 source and GPC 20020417 (tried ...410 also) from which to attempt the builds and I'm cleaning between failed attempts. I am following the installation instructions to the T, right down to the folder called 'fred'.
For those who are wondering, BeOS 5 is about 99% POSIX compliant (the other 1% is GUI-related I believe). Maybe that's the hitch; is there possibly a --posix flag or something like that??? HHHmmmmm.... Not sure. It's primary language is C/C++ and the default tools are gnu gcc and the rest of the gang, so one would thing that we could slide GPC right in there beside it without a problem.
I've never had good experiences with mailing lists. People tend to get off topic or are unable to see THE BIG PICTURE sometimes, but I've seen some quality threads on this particular list, so I'm hopeful that a solution is right around the bend.
Thanks in advance for any/all assistance.
- pgeorge
On 15 Apr 2002 at 11:24, Philip George wrote:
There are a couple threads about installing GPC onto Mac OS X and BeOS. The main one for BeOS ends with "just try it," which I did... and it didn't work.
[...]
The failure is the same on both platforms when running 'configure' - 'Configuration i586-pc-beos not supported' (BeOS) - 'Configuration powerpc-apple-bsd not supported' (Mac OS X)
You may be able to solve this by amending the various configure.* scripts, first, to remove the error being reported, and secondly, to tell them what to do with BeOS and Mac OSX. You will find various sections and entries which relate to the various platforms supported by gcc (try searching for "linux" in the various "configure.in" scripts, and you will see what I mean). Since you are writing an OS under BeOS, you obviously know a lot about the system internals. You should be able to supply the scripts with entries for BeOS.
I'm using GCC 2.95.2 source and GPC 20020417 (tried ...410 also) from which to attempt the builds and I'm cleaning between failed attempts. I am following the installation instructions to the T, right down to the folder called 'fred'.
For those who are wondering, BeOS 5 is about 99% POSIX compliant (the other 1% is GUI-related I believe). Maybe that's the hitch; is there possibly a --posix flag or something like that??? HHHmmmmm.... Not sure. It's primary language is C/C++ and the default tools are gnu gcc and the rest of the gang, so one would thing that we could slide GPC right in there beside it without a problem.
If you can build gcc under BeOS, then you are on your way. If gcc is the default tool, then someone has obviously been able to build gcc. My advice is - find that someone and ask them how they did it. It is necessary for building GPC that gcc can be built on the system. Presumably, whoever built the gcc compilers for BeOS have (under the GPL) to make their gcc sources available. Use those sources instead of the pristine GNU sources, and you may well have greater success.
PS: it may well be that the GPC patches will fail under a patched gcc version (if there had been too many changes), but I doubt that they will fail.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~African_Chief email: African_Chief@bigfoot.com