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

Re: C++ compiler situation: draft documentation (feedback appreciated)



On Tue, May 19, 1998 at 10:45:48AM +0200, jdassen@wi.leidenuniv.nl wrote:

[snip - excellent explanation]

>   Instead, Debian now has separate drivers/frontends for the various
>   languages; you should call the appropriate one:
>   - `cc' (from the `gcc' or `egcc' packages) for C code. 
>     Use `gcc' or `egcc' only if your code needs explicitly that version
>     of the C compiler (e.g. for kernel compiles). Be aware that on some
>     architectures `gcc' is the egcs one!
>   - `c++' (from the `g++' package) for C++ code.
>     Use `g++272' for C++ code that does not work with egcs's `g++' package.
>   - `gobcj' for Objective C code.
>   - `g77' for Fortran 77 code.
> - When combining code generated by different frontends, make sure these
>   frontends are of the same set. I.e. if you want to combine code 
>   generated by `c++' with C code, use `egcc' to compile the C code rather
>   than `cc'.


This should go into the policy manual.

Adrian


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: