[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc-2.95.2 derleme sorunu



Merhaba arkadaslar,

Bolum icinde kullanacagimiz akademik bir yazilim gcc derleyicisinin (g77 ile birlikte) ver. 2.95 olmasini gerektiriyor. Sistemin kararli surum ve gcc-3.3 paketi mevcut.

Asagida bu derleyicinin nasil kurulacagina iliskin yonerge var:
Ftp the source to the current directory (Need at least 200MB space available):
% ftp ftp.gnu.org
cd pub/gnu/gcc
bin
get gcc-2.95.2.tar.gz
quit

Unzip and untar the source in the current directory:
% tar xvfz gcc-2.95.2.tar.gz

Modify the libI77/fio.h fortran include file to allow access to 10000 unit numbers :
% vi gcc-2.95.2/libf2c/libI77/fio.h
Replace line:
#define MXUNIT 100
With line:
#define MXUNIT 10000

Make the build directory and run configure:
% mkdir gcc-2.95.2_obj
% cd gcc-2.95.2_obj
% ../gcc-2.95.2/configure --prefix /usr

Build GCC/G77
% make bootstrap

Install GCC/G77
% make install

Your done!!!


Bu yonergenin uyguladigimda
% make bootstrap asamasinda asagidaki hata mesajini aliyorum:
collect2: ld çıkış durumu 1 ile döndü
make[2]: *** [cccp] Hata 1
make[2]: Leaving directory `/home/aydin/gcc-2.95.2_obj/gcc'
make[1]: *** [bootstrap] Hata 2
make[1]: Leaving directory `/home/aydin/gcc-2.95.2_obj/gcc'
make: *** [bootstrap] Hata 2


Cozum icin nasil bir yol onerirsiniz?

Tesekkurler


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply to: