Re: change MXUNIT f2c gcc 3.3 or 4.0
Re: change MXUNIT f2c gcc 3.3 or 4.0
- Subject: Re: change MXUNIT f2c gcc 3.3 or 4.0
- From: Markus Hitter <email@hidden>
- Date: Tue, 23 Aug 2005 21:18:36 +0200
Am 23.08.2005 um 19:38 schrieb Rebecca Bendick:
Hi, there. I'm trying to compile source code, and the install
directions include customizing and recompiling gcc from source in
order to make this change:
*sigh* How if they'd fix their code instead?
Modify the libI77/fio.h fortran include file to allow access to
10000 unit numbers:
%vi libf2c/libI77/fio.h
Replace line:
#define MXUNIT 100
With line:
#define MXUNIT 10000
Do I need to do this if I am using gcc 3.3 or 4.0 from the latest
Xtools release?
No idea. Apple's version of gcc doesn't even come with fortran
support. If it would, a try would show you the answer.
If I do need to modify and compile, could someone please give me
instructions on how to get and install the Darwin gcc source?
While this won't help here (still no fortran support), darwinbuild
<http://opendarwin.org/projects/darwinbuild/> is made to do such things.
I tried to install gcc 3.3.2 from gnu, but it won't compile properly.
You should consider picking up this path again, perhaps with other
versions. While building (and using) gcc from FSF sources isn't done
as often as on other platforms, it should work anyways. Addicts of
other gcc languages (Ada, Java, ...) have the same problem.
A look into Fink and Darwinports might be worth a look as well.
HTH,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden