Supportnet Computer
Planet of Tech

Supportnet / Forum / Linux

C-Compiler für Solaris





Frage

Hallo, ich habe hier einen X-Serve auf dem Solaris installiert ist. Es soll zusätzlich PHP und MySQL drauf, aber dazu benötige ich wohl einen C-Compiler, der momentan noch fehlt. Kann mir jemand sagen, wie ich ihn installiere und wo ich ihn her bekomme? Danke.

Antwort 1 von sasch

Which C Compiler?


There are two C compilers available on the Solaris system: the Sun cc and the Gnu gcc compilers. Despite the fact that the former compiler will be mentioned throughout these notes (because it can be used with Sun's debugger), the Gnu gcc compiler
ftp://ftp.ecs.soton.ac.uk/pub/pc/gnu/gcc/
is freely available for PCs and Unix systems and as such is available to be used at home. In addition, a Unix clone called Linux
ftp://ftp.ecs.soton.ac.uk/pub/linux/
is also freely available to be run on PCs. The compiler and operating system are distributed freely by the Free Software Foundation, rather than being tied to a commercial software manufacturer. A wide range of free/shareware programs are available for workstations and PCs and these are generally available over the World Wide Web
http://www.w3.org/

To use the gcc compiler instead of the cc compiler, simply type gcc instead of cc at the start of the line. The basic compiler options are similar, and the gcc compiler could be used to attempt the assignments if you have a PC at home.


Antwort 2 von Chonhulio

Hier gibt es fertige Solaris-Pakete der meisten GNU Software: http://www.sunfreeware.com/

Du brauchst vermutlich
ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/ftp.sunfreeware.com/intel/8/gcc-3.2.3-sol8-intel-local.gz
oder
ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/ftp.sunfreeware.com/intel/8/gcc-2.95.3-sol8-intel-local.gz
und evtl. noch einige Abhängigkeiten dieser Pakete (insb. GNU make, binutils, autoconf und automake)

PS: links mitte Mirror auswählen, rechts oben CPU/OS-Version

Antwort 3 von Chonhulio

Natürlich könntest du auch einfach das MySQL Paket herunterladen...

;-)

mfg

Ich möchte kostenlos eine Frage an die Mitglieder stellen:


Ähnliche Themen:


Suche in allen vorhandenen Beiträgen: