Technology and Trends
 Linux Activists Mailing List Archives
  
From: hlu@eecs.wsu.edu
Subject: Gcc 2.0, new libc.a and alpha test
Reply-To: hlu@eecs.wsu.edu
Date: Sun, 23 Feb 1992 02:24:13 GMT

Hi,

Good news. Gcc 2.0 is officially released today. I am porting it to
Linux.

I volunteer to be the coordinator for libc.a. I hope when gcc 2.0 is
released for Linux there will be a new, better and more completed
libc.a.

If you have any suggestions or contributions to libc.a, please drop me
a note.

Since gcc 2.0 has C++ support, a wrapper will be added to every header
file, like

#ifdef __cplusplus
extern "C" {
#endif

......
body of the header file
......

#ifdef __cplusplus
}
#endif


I hope gcc 2.0 will be out along with the 0.13 kernel. It will have
features like,

(1) C++, objective C.
(2) iostream
(3) libg++ (I hope)
(4) shared libraries (?).
(5) better libc.a.

BTW, I am looking for a few alpha testers for gcc 2.0. I prefer
someone who knows at least a little bit C++/objective C. I want to test
it thoroughly and use it to do some real jobs. I may start the alpha
test with a few days.

Cheers.


H.J.
-- 
School of EECS                          Internet: hlu@eecs.wsu.edu
Washington State University             BITNET:   60935893@WSUVM1.BITNET
Pullman, WA 99164                       Phone:    (509) 335-6470 (O)
USA                                               (509) 334-6315 (H)

From: hlu@yoda.eecs.wsu.edu (Hongjiu Lu -- Graduate Student)
Subject: New gcc 2.0
Reply-To: hlu@yoda.eecs.wsu.edu (Hongjiu Lu -- Graduate Student)
Date: Wed, 11 Mar 1992 07:03:33 GMT

Hi,

I just put a new copy of gcc 2.0 on dec1. It should work with 0.95. To
use with 0.12, you have to remove the patches applied for previous gcc
2.0 and you have to define LINUX_0_12.

H.J.
-- 
School of EECS                          Internet: hlu@eecs.wsu.edu
Washington State University             BITNET:   60935893@WSUVM1.BITNET
Pullman, WA 99164                       Phone:    (509) 335-6470 (O)
USA                                               (509) 334-6315 (H)

From: hlu@eecs.wsu.edu
Subject: gcc 1.40 & 2.0
Reply-To: hlu@eecs.wsu.edu
Date: Sat, 21 Mar 1992 16:55:44 GMT

Hi,

Gcc 2.0 seems quite stable now. But I was told gcc 2.1 would be released
any day now and glibc.a 1.02 is just released. I want to use them
instead of 2.0 and 1.00. I will try to start testing for 2.1 and 1.02
as soon as possible. We will have almost all the non-networking stuffs
in glibc.a 1.02.

Since libc.a grows bigger and bigger, we need a list of functions we
have, At least, it should have name and proto type of each funcion.

I hope gcc 2.0 will replace 1.40 very soon.

H.J.
-- 
School of EECS                          Internet: hlu@eecs.wsu.edu
Washington State University             BITNET:   60935893@WSUVM1.BITNET
Pullman, WA 99164                       Phone:    (509) 335-6470 (O)
USA                                               (509) 334-6315 (H)

From: hlu%decserv2@dns1.eecs.wsu.edu
Subject: Attn: gcc 2.x
Reply-To: hlu%decserv2@dns1.eecs.wsu.edu
Date: Thu, 26 Mar 1992 00:01:47 GMT

Hi,

I am the guy who ported gcc 2.0 to Linux. During the porting, I
rearranged the libc.a. I included glibc.a, libg++.a and some functions
from poeigl-1.2. The libc.a come with gcc 2.0 is almost totally new.
The shared libraries are also in gcc 2.0.

Gcc 2.0 is now in the very late alpha testing. There are some bugs in
libc.a. I hope the number of bugs can be reduced to a tolerable level
after the alpha testing. After that, I will release all the source
codes for libc.a and patches for gcc 2.0. I have submitted my patches
for gcc 2.0. I hope it will be in gcc 2.1. It may be too late for that.

If you want to test gcc 2.0, please drop me a note. Be prepared to ftp
a new release every one or two days, even twice a day. That is what
happened during the early stage of the alpha testing. Now it is quite
stable.

I am enclosing the part of FAQ for 2.0.

I just got gcc 2.1. The next testing release may be 2.1.


H.J.
===========FAQ=============
QUESTION: What are the main differences with the old release?

ANSWER: Here are the features.

1. gcc and g++ are in one.

2. ANSI and BSD 4.4 compatible stdio.

3. iostream for g++. It has

* Full implementation of ANSI C stdio.
* Full implementation of the streambuf layer of AT&T's
  iostream library for C++.
* Full compatibility between stdio and streambufs.

and libg++.a 2.0.

4. Libc.a is almost new. Most of glibc.a 1.02 (nonnetwork stuffs) are 
here.

        a. ctype
        b. grp
        c. locale
        d. posix
        e. pwd
        f. stdlib
        g. string
        h. time (untested)

Some other functions are added.

        b. cvt
        b. drand48
        c. getlogin (poeigl-1.2)
        d. getpass (poeigl-1.2)
        e. mkfifo (is that supported in kernel?)
        f. regex (GNU)
        g. ufc
        h. utmp stuffs (poeigl-1.2)

These old functions are not changed very much.

        a. soft math (fmod is added)
        b. math (some are new)
        c. termcap
        d. unistd

5. The shared libraries are here. To link with the static libraries,
add the -static flag to gcc.

QUESTION: Is stdio ANSI compatible?

ANSWER: Yes, please test it.

QUESTION: Is g++ in 2.0?

ANSWER: Yes. Use g++ to compile the C++ code. Libg++.a 2.0 is here.
Only thing missing is curses since I don't have it. I am going to run
the tests. For the beta version of libg++.a 2.0, the only test not
passed is tFix24.

QUESTION: What options can I use for gcc?

ANSWER: Read manual page, gcc.ps or gcc.man. -O3, -O4, -O5 or even
higher should work with 2.0. -O3 is said to be the best. Don't ask me
why. Try it yourself. Also -static tells gcc to use the static
libraries. The default is the shared libraries.

QUESTION: Where is the source code of the new libc.a?

ANSWER: I will release the source code at least after the alpha test is
finished. Please test it as much as possible.