[6260] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Linux-Activists - GCC Channel digest. 94-9-18-22:8

daemon@ATHENA.MIT.EDU (Linux Activists)
Thu Oct 20 10:34:04 1994

Date: Thu, 20 Oct 1994 15:30:51 +0100
Errors-To: postmaster@www0.cern.ch
Errors-To: postmaster@www0.cern.ch
Reply-To: linux-activists@niksula.hut.fi
From: "Linux Activists" <linux-activists@niksula.hut.fi>
To: Multiple recipients of list <www-talk@www0.cern.ch>


Topics:
	 Can someone update the cross compiler instructions?
	 Warnings from latest g++


----------------------------------------------------------------------

From: Jim Nance <jlnance@isscad.com>
Subject: Can someone update the cross compiler instructions?
Date: Tue, 18 Oct 94 16:50:27 EDT



I would like to build a sun->linux cross compiler.  I have done this before
using the instructions in the GCC-FAQ, however they seem to be quite out of
date.

Specifically, I would like to be able to build either a.out or ELF executables,
using the latest gcc.  I never did get shared libs working the last time I 
build the cross compiler, and I would like to get it right this time.

Thanks for any help.

Jim


------------------------------

From: dat1@ukc.ac.uk
Subject: Warnings from latest g++
Date: Tue, 18 Oct 94 22:14 BST



Due to g++ version 2.5.8 being unable to compile some code I had I
upgraded to the latest snapshot of gcc. This version is able to
compile the code, but I now get the following warnings.

In file included from telnet.cc:17:
/usr/include/unistd.h:263: warning: declaration of `volatile void _exit(int)'
/usr/include/unistd.h:263: warning: conflicts with built-in declaration `void _exit(int)'
In file included from telnet.cc:22:
/usr/include/stdlib.h:246: warning: declaration of `volatile void abort()'
/usr/include/stdlib.h:246: warning: conflicts with built-in declaration `void abort()'
/usr/include/stdlib.h:262: warning: declaration of `volatile void exit(int)'
/usr/include/stdlib.h:262: warning: conflicts with built-in declaration `void exit(int)'

It seems that the prototypes that g++ version 2.6.0-941014 expects
differ from those in the header files supplied with libc.so.4.6.16.

David


------------------------------

End of GCC Digest
*****************
-------

home help back first fref pref prev next nref lref last post