How to get 'regex()' or 're_exec()''s source?

How to get 'regex()' or 're_exec()''s source?

Post by Jyh-Shyang Wa » Mon, 24 May 1993 00:38:04



Hi,
        I search gcc & glib's source,but I can't find the source of 'regex()'
or re_exec(). I want to use their function in PC. If anyone know,Please
tell me......

        Thankx for any HELP.
--



        English Name: Erik Wang
        Chinese Name: Wang Jyh-Shyang

 National Chiao-Tung University,Taiwan,R.O.C.

 
 
 

How to get 'regex()' or 're_exec()''s source?

Post by Yong-Ching Shi » Mon, 24 May 1993 14:19:42



> Hi,
>    I search gcc & glib's source,but I can't find the source of 'regex()'
> or re_exec(). I want to use their function in PC. If anyone know,Please
> tell me......
>    Thankx for any HELP.
> --



>    English Name: Erik Wang
>    Chinese Name: Wang Jyh-Shyang
>  National Chiao-Tung University,Taiwan,R.O.C.

NCTUCCCA.edu.tw:/UNIX/GNU/regex-0.1[12].tar.z

---
?Oj1q??A????y
Shiau Yong-Ching
National Taiwan University
Department of Electrical Engineering

 
 
 

1. 'as' error when attempting to 'make' libc 5.4.17 sources

I am ultimately trying to upgrade my 1.2.8 Slackware kernel to 2.0.27,
but in the meantime I'm having all kinds of trouble.

I have upgraded gcc, binutils, the libc binaries, and now I'm working
on the libc src tree. It took me a while to realize that when the
README file says decompress the libc src to my source directory, it
means /usr/lib/src/linux, not /usr/lib/src...

Anyway, the crux of the problem: I decompress the libc src file
(libc-5.4.17.tar.gz) from /usr/src/linux so that there is a new
directory /usr/src/linux/libc. From /usr/src/linux/libc, I run
'configure', then 'make clean', then 'make depend'. All of that works
fine. But when I go to do the final 'make', I get the following error
messages:

set -e; for i in assert bsd cvt ctype des dirent grp inet io libbsd
libio locale login xstring wctype math misc mntent netgroup posix pwd
regex rpc setjmp signal stdlib string sysdeps time ufc malloc gcc
dl-malloc yp nls elf; do \
        echo making lib in $i; \
        make -C $i lib; \
done
making lib in assert
make[1]: Entering directory `/usr/src/linux/libc/assert'
/usr/bin/gcc -V 2.7.2.1 -b i486-linux -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -O1 -funroll-loops
-I../sysdeps/linux -I../libio -I../libio/stdio -DNLS -I../nls  -DYP
-DNO_SHADOW  -D_GNU_SOURCE -DSTDC_HEADERS -DUSG -DDIRENT -DSYSV
-DUSE_BSD_REGEX -D_LIBC -DINTERNAL_LINUX_C_LIB -D_REENTRANT  -Wall
-Wstrict-prototypes -Wmissing-prototypes -funsigned-char -I../internal
-nostdinc -I../../include
-I/usr/lib/gcc-lib/i486-linux/2.7.2.1/include -c assert-perr.c -o
./elfstatic/libc/assert-perr.o
as: unrecognized option `-Qy'
make[1]: *** [../elfstatic/libc/assert-perr.o] Error 1
make[1]: Leaving directory `/usr/src/linux/libc/assert'
make: *** [lib] Error 2

Can anyone help? (It seems to me that when gcc calls the assembler
(as), it is passing the assembler an argument (-Qy) that the assembler
doesn't understand.) I'm running gcc 2.7.2.1, and the latest binutils.

Thanks kindly,


2. sendmail - help please

3. Source needed for 'finger' and 'w'

4. How to send binary data to printer?

5. where can I find source for 'dd' and 'tar'??

6. lilo: "Fatal: open /dev/hda1 Permission denied"

7. Slow FTP 'gets', Fast 'puts'???

8. gprof

9. Getting unresolved symbols for 'new' and 'delete' operators

10. Problem in getting screen size when 'rlogin' and 'telnet'

11. NEED Fax utility, 'C' library, or 'C' Source

12. Sources of 'dir' and 'cd'

13. Source for 'pg' or 'more'??