Roy Brewer wrote:
> 
> This appears to be my problem: the makefile specifies g++ (CC=c++) for the
> complier, which is not the same as gcc. I guess I'm only set up to use gcc in
> terms of the libraries. When I edited the Makefile (CC = gcc), the program
> compiled, although it complained with a bunch of warnings.
> 
> I don't know enough about the two compilers to know if the flags are the same
> between the two. All I know is that I was able to compile kernel 2.2.5 with
> the included makefiles (at least I think the kernel is OK). Can I have both
> compilers set up at the same time? If not, which one should I use?

I'm compiling everything myself, at least everything of some importance.
And I try hard not to ruin my development environment (obviously with
success until now.). Some things I alsways do:

1. Before installing newly compiled stuff, especially libraries, I
   remove (backup) the old ones _completely_, that is including
   haeder files, manpages, etc.

2. Most packages I configure  with --prefix=/usr. Exceptions are
   the gnome stuff, apache, kde (/opt/*), samba and a few others.

3. I always use egcs. Although I installed gcc too, I've never used it.
   I used SuSE 6.1 only to update glibc & Co. and egcs. The other stuff
   was already newer on my system.

4. If something goes wrong I rely more on the relevant mailinglists
   than on temporary solutions like changing Makefile variables.

5. I also leave the compiler in peace as I (at least currently)don't 
   understand enough of this to fiddle with compiler switches.

Henning

-- 
  H. Henning Vossieck   -   [EMAIL PROTECTED]   -   http://www.hhv.de/
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to