This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc 3.3.4 build on OSX 10.2.8 Darwin 6.8


I've been able to configure, make and install gcc version 3.3.4 on Darwin 6.8 OSX 10.2.8.
This is on a Powerbook G4 w/512 Mb RAM.


I've not run the gcc test suites yet since expect does not seem to be ported to Darwin yet.

Output of config.guess:

$ $HOME/Codes/GNU/gcc-3.3.4/gcc/config.guess
powerpc-apple-darwin6.8

Output of gcc -v:

$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-apple-darwin6.8/3.3.4/specs
Configured with: ../GNU/gcc-3.3.4/configure --enable-threads --enable-languages=c,c++,f77,objc --enable-gather-detailed-mem-stats
Thread model: single
gcc version 3.3.4



Note that I had to add the following extern block of code to the header file: std_cctype.h in gccsrc directory: gcc-3.3.4/libstdc++-v3/include/c_std


extern "C" {
extern int isalnum(int c);
extern int isalpha(int c);
extern int iscntrl(int c);
extern int isdigit(int c);
extern int isgraph(int c);
extern int islower(int c);
extern int isprint(int c);
extern int ispunct(int c);
extern int isspace(int c);
extern int isupper(int c);
extern int isxdigit(int c);
}

starting at line #66 (approximately). The idea to add these extern statements came from the gcc mailing list email dated 3/15/02 20:14:53 by Andreas Tobler w/subject line: open gcc-3.1 issues on darwin

The first issue raised in the above email, about the stddef.h define statement seems to be OK on Darwin 6.8.
The second one about the extern statements I still had to add to std_cctype.h seems to still be an issue in Darwin 6.8.
Any questions, let me know.


Thanks!

Ed Mansky
--
E. J. Mansky II
Eikonal Research Institute
Bend, OR.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]