From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id F0A6F2FDE2 for ; Fri, 18 May 2001 07:17:02 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f4IBEWk30790 for axp-list@listman.redhat.com; Fri, 18 May 2001 07:14:32 -0400 Received: from mgate2.uni-hannover.de (mgate2.uni-hannover.de [130.75.2.5]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f4IBEVb30786 for ; Fri, 18 May 2001 07:14:31 -0400 Received: from wega.itp.uni-hannover.de by mgate2.uni-hannover.de with LocalSMTP (PP) with ESMTP; Fri, 18 May 2001 13:15:43 +0200 Received: from menkar.itp.uni-hannover.de (menkar.itp.uni-hannover.de [130.75.25.95]) by wega.itp.uni-hannover.de (AIX4.3/UCB 8.8.8/8.8.8) with ESMTP id NAA37128 for ; Fri, 18 May 2001 13:15:43 +0200 Received: (from kreutzm@localhost) by menkar.itp.uni-hannover.de (8.9.3/8.9.3) id NAA04500 for axp-list@redhat.com; Fri, 18 May 2001 13:15:43 +0200 Date: Fri, 18 May 2001 13:15:43 +0200 From: Helge Kreutzmann To: axp-list@redhat.com Subject: Re: Alpha compilation questions Message-ID: <20010518131543.A4470@itp.uni-hannover.de> Mail-Followup-To: axp-list@redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from svde_alpha@hotmail.com on Fri, May 18, 2001 at 01:03:13PM +0200 X-Public-Key-URL: http://www.itp.uni-hannover.de/~kreutzm/data/kreutzm.gpg X-homepage: http://www.itp.uni-hannover.de/~kreutzm X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Hello ! On Fri, May 18, 2001 at 01:03:13PM +0200, S VDE wrote: > Hi all, > > Some questions on compiling. I don't know exactly what to install (Compaq > compilers or the GNU compilers) and I don't want to ruin the installation > since it is running fine. However I want to install a newer kernel (now I > just installed a native RedHat 6.2 with kernel 2.2.14-6.0) but I would like > to know how to compile it. Just as on any other platform. The only difference is that you need to do make boot instead of make zImage or make bzImage If you are new to compiling kernels look at http://www.alphalinux.org/docs/kernel.shtml The kernel is one of the few pices of code which MUST be compiled using gcc as it uses extensions not present in any other C compiler. > What do I need to do to compile software in the best possible way? If I > install Compaq compilers, will the basic Makefiles distributed with source > tarnalls still work, or is there an 'easy' way to adapt it. This depends. The compaq compilers have different names than the gcc ones so you might have to adapt makefile. If your programm uses the configure mechanism however you can just say env CC=ccc ./configure to switch to the compaq c-Compiler (CXX for the c++ compiler) > Also, will Compaq compilers replace existing ones or just add new ones. Simply add another set of compilers so you can switch anytime. > Finally, I have one practical question: I tried to compile vnc, but it > failed with an error stating it is not possible to use some flags at the > same time (-o and -s I think it was). So I want to install a newer gcc. But > to do that I first want to know whether it would be better to install Compaq > compilers. Or would the problem lie somewhere else? Most likly a mistake in the makefiles. Did you check the docs of vnc ? > A lot of questions but actually I would like to know more about Alpha > specific compiling and optimalisation, so any inputs would be highly > appreciated... If you need floating point optimization then the compaq compilers are usually better. The C++Implementation is also more mature then the gcc one. Check out www.alphalinux.org for many pointers and comparisons and don't forget to read the man pages for the compaq compilers for the proper options for your code (i.e. -arch host and such). Greetings Helge -- Helge Kreutzmann, Dipl.-Phys. kreutzm@itp.uni-hannover.de For gpg-key: finger kreutzm@rigel.itp.uni-hannover.de 64bit GNU powered http://www.itp.uni-hannover.de/~kreutzm Help keep free software "libre": http://www.freepatents.org/