Shouldn't wchar.h get copied somewhere during build?
Looks as if /usr/src/include/wchar.h isn't getting copied to a place where it actually gets used during the build. From this morning's -CURRENT (CVSup trivia follows the log): stage 4: populating /usr/obj/usr/src/i386/usr/include ... stage 4: building libraries ... === libbind ... === libc ... rm -f .depend mkdep -f .depend -a-DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DINET6 -I/common/C/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -DYP -DHESIOD -I/usr/obj/usr/src/i386/usr/include -I/usr/src/lib/libc/i386 /usr/src/lib/libc/../libc/i386/gen/_setjmp.S /usr/src/lib/libc/../libc/i386/gen/alloca.S /usr/src/lib/libc/../libc/i386/gen/fabs.S /usr/src/lib/libc/../libc/i386/gen/modf.S /usr/src/lib/libc/../libc/i386/gen/rfork_thread.S /usr/src/lib/libc/../libc/i386/gen/setjmp.S /usr/src/lib/libc/../libc/i386/gen/sigsetjmp.S /usr/src/lib/libc/../libc/i386/net/htonl.S /usr/src/lib/libc/../libc/i386/net/htons.S /usr/src/lib/libc/../libc/i386/net/ntohl.S /usr/src/lib/libc/../libc/i386/net/ntohs.S /usr/src/lib/libc/../libc/i386/sys/Ovfork.S /usr/src/lib/libc/../libc/i386/sys/brk.S /usr/src/lib/libc/../libc/i386/sys/cerror.S /usr/src/lib/libc/../libc/i386/sys/exect.S /usr/src/lib/libc/../libc! /i386/sys/fork.S /usr/src/lib/libc/../libc/i386/sys/pipe.S /usr/src/lib/libc/../libc/i386/sys/ptrace.S /usr/src/lib/libc/../libc/i386/sys/reboot.S /usr/src/lib/libc/../libc/i386/sys/rfork.S /usr/src/lib/libc/../libc/i386/sys/sbrk.S /usr/src/lib/libc/../libc/i386/sys/setlogin.S /usr/src/lib/libc/../libc/i386/sys/sigreturn.S /usr/src/lib/libc/../libc/i386/sys/syscall.S read.S write.S open.S close.S wait4.S link.S unlink.S chdir.S fchdir.S mknod.S chmod.S chown.S getfsstat.S getpid.S mount.S unmount.S setuid.S getuid.S geteuid.S recvmsg.S sendmsg.S recvfrom.S accept.S getpeername.S getsockname.S access.S chflags.S fchflags.S sync.S kill.S getppid.S dup.S getegid.S profil.S ktrace.S getgid.S acct.S sigaltstack.S ioctl.S revoke.S symlink.S readlink.S execve.S umask.S chroot.S msync.S vadvise.S munmap.S mprotect.S madvise.S mincore.S getgroups.S setgroups.S getpgrp.S setpgid.S setitimer.S swapon.S getitimer.S getdtablesize.S dup2.S fcntl.S select.S fsync.S setpriority.S socket.S c! onnect.S getpriority.S bind.S setsockopt.S listen.S gettimeofday.S getrusage.S getsockopt.S readv.S writev.S settimeofday.S fchown.S fchmod.S setreuid.S setregid.S rename.S flock.S mkfifo.S sendto.S shutdown.S socketpair.S mkdir.S rmdir.S utimes.S adjtime.S setsid.S quotactl.S nfssvc.S statfs.S fstatfs.S getfh.S sysarch.S rtprio.S semsys.S msgsys.S shmsys.S ntp_adjtime.S setgid.S setegid.S seteuid.S stat.S fstat.S lstat.S pathconf.S fpathconf.S getrlimit.S setrlimit.S getdirentries.S __syscall.S __sysctl.S mlock.S munlock.S undelete.S futimes.S getpgid.S poll.S clock_gettime.S clock_settime.S clock_getres.S nanosleep.S minherit.S issetugid.S lchown.S getdents.S lchmod.S netbsd_lchown.S lutimes.S netbsd_msync.S nstat.S nfstat.S nlstat.S fhstatfs.S fhopen.S fhstat.S modnext.S modstat.S modfnext.S modfind.S kldload.S kldunload.S kldfind.S kldnext.S kldstat.S kldfirstmod.S getsid.S setresuid.S setresgid.S aio_return.S aio_suspend.S aio_cancel.S aio_error.S aio_read.S aio_write.S! lio_listio.S __getcwd.S sched_setparam.S sched_getparam.S sched_setscheduler.S sched_getscheduler.S sched_yield.S sched_get_priority_max.S sched_get_priority_min.S sched_rr_get_interval.S utrace.S sendfile.S kldsym.S jail.S sigprocmask.S sigsuspend.S sigaction.S sigpending.S __acl_get_file.S __acl_set_file.S __acl_get_fd.S __acl_set_fd.S __acl_delete_file.S __acl_delete_fd.S __acl_aclcheck_file.S __acl_aclcheck_fd.S extattrctl.S extattr_set_file.S extattr_get_file.S extattr_delete_file.S aio_waitcomplete.S getresuid.S getresgid.S kqueue.S kevent.S __cap_get_proc.S __cap_set_proc.S __cap_get_fd.S __cap_get_file.S __cap_set_fd.S __cap_set_file.S extattr_set_fd.S extattr_get_fd.S extattr_delete_fd.S __setugid.S _getlogin.S _exit.S /usr/src/lib/libc/../libc/i386/stdlib/abs.S /usr/src/lib/libc/../libc/i386/stdlib/div.S /usr/src/lib/libc/../libc/i386/stdlib/labs.S /usr/src/lib/libc/../libc/i386/stdlib/ldiv.S /usr/src/lib/libc/../libc/i386/string/bcmp.S /usr/src/lib/libc/../libc/i! 386/string/bcopy.S /usr/src/lib/libc/../libc/i386/string/bzero.S /usr/src/lib/libc/../libc/i386/string/ffs.S /usr/src/lib/libc/../libc/i386/string/index.S /usr/src/lib/libc/../libc/i386/string/memchr.S /usr/src/lib/libc/../libc/i386/string/memcmp.S /usr/src/lib/libc/../libc/i386/string/memcpy.S /usr/src/lib/libc/../libc/i386/string/memmove.S /usr/src/lib/libc/../libc/i386/string/memset.S /usr/src/lib/libc/../libc/i386/string/rindex.S /usr/src/lib/libc/../libc/i386/string/strcat.S /usr/src/lib/libc/../libc/i386/string/strchr.S /usr/src/lib/libc/../libc/i386/string/strcmp.S /usr/src/lib/libc/../libc/i386/string/strcpy.S /usr/src/lib/libc/../libc/i386
Re: Shouldn't wchar.h get copied somewhere during build?
[Yeah, I talk to myself, too dhw] Forgot to add: dhcp-133[7] cd /usr/obj dhcp-133[8] find . -name wchar.h -print dhcp-133[9] cd ../src dhcp-133[10] find . -name wchar.h -print ./include/wchar.h dhcp-133[11] After all, that's the part that inspired the Subject:. Cheers, david -- David H. Wolfskill [EMAIL PROTECTED] As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: Shouldn't wchar.h get copied somewhere during build?
Already fixed in src/include/Makefile,v 1.134. On Wed, May 16, 2001 at 07:46:04AM -0700, David Wolfskill wrote: Looks as if /usr/src/include/wchar.h isn't getting copied to a place where it actually gets used during the build. From this morning's -CURRENT (CVSup trivia follows the log): stage 4: populating /usr/obj/usr/src/i386/usr/include ... stage 4: building libraries ... === libbind ... === libc ... rm -f .depend mkdep -f .depend -a-DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DINET6 -I/common/C/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -DYP -DHESIOD -I/usr/obj/usr/src/i386/usr/include -I/usr/src/lib/libc/i386 /usr/src/lib/libc/../libc/i386/gen/_setjmp.S /usr/src/lib/libc/../libc/i386/gen/alloca.S /usr/src/lib/libc/../libc/i386/gen/fabs.S /usr/src/lib/libc/../libc/i386/gen/modf.S /usr/src/lib/libc/../libc/i386/gen/rfork_thread.S /usr/src/lib/libc/../libc/i386/gen/setjmp.S /usr/src/lib/libc/../libc/i386/gen/sigsetjmp.S /usr/src/lib/libc/../libc/i386/net/htonl.S /usr/src/lib/libc/../libc/i386/net/htons.S /usr/src/lib/libc/../libc/i386/net/ntohl.S /usr/src/lib/libc/../libc/i386/net/ntohs.S /usr/src/lib/libc/../libc/i386/sys/Ovfork.S /usr/src/lib/libc/../libc/i386/sys/brk.S /usr/src/lib/libc/../libc/i386/sys/cerror.S /usr/src/lib/libc/../libc/i386/sys/exect.S /usr/src/lib/libc/../libc! /i386/sys/fork.S /usr/src/lib/libc/../libc/i386/sys/pipe.S /usr/src/lib/libc/../libc/i386/sys/ptrace.S /usr/src/lib/libc/../libc/i386/sys/reboot.S /usr/src/lib/libc/../libc/i386/sys/rfork.S /usr/src/lib/libc/../libc/i386/sys/sbrk.S /usr/src/lib/libc/../libc/i386/sys/setlogin.S /usr/src/lib/libc/../libc/i386/sys/sigreturn.S /usr/src/lib/libc/../libc/i386/sys/syscall.S read.S write.S open.S close.S wait4.S link.S unlink.S chdir.S fchdir.S mknod.S chmod.S chown.S getfsstat.S getpid.S mount.S unmount.S setuid.S getuid.S geteuid.S recvmsg.S sendmsg.S recvfrom.S accept.S getpeername.S getsockname.S access.S chflags.S fchflags.S sync.S kill.S getppid.S dup.S getegid.S profil.S ktrace.S getgid.S acct.S sigaltstack.S ioctl.S revoke.S symlink.S readlink.S execve.S umask.S chroot.S msync.S vadvise.S munmap.S mprotect.S madvise.S mincore.S getgroups.S setgroups.S getpgrp.S setpgid.S setitimer.S swapon.S getitimer.S getdtablesize.S dup2.S fcntl.S select.S fsync.S setpriority.S socket.S c! onnect.S getpriority.S bind.S setsockopt.S listen.S gettimeofday.S getrusage.S getsockopt.S readv.S writev.S settimeofday.S fchown.S fchmod.S setreuid.S setregid.S rename.S flock.S mkfifo.S sendto.S shutdown.S socketpair.S mkdir.S rmdir.S utimes.S adjtime.S setsid.S quotactl.S nfssvc.S statfs.S fstatfs.S getfh.S sysarch.S rtprio.S semsys.S msgsys.S shmsys.S ntp_adjtime.S setgid.S setegid.S seteuid.S stat.S fstat.S lstat.S pathconf.S fpathconf.S getrlimit.S setrlimit.S getdirentries.S __syscall.S __sysctl.S mlock.S munlock.S undelete.S futimes.S getpgid.S poll.S clock_gettime.S clock_settime.S clock_getres.S nanosleep.S minherit.S issetugid.S lchown.S getdents.S lchmod.S netbsd_lchown.S lutimes.S netbsd_msync.S nstat.S nfstat.S nlstat.S fhstatfs.S fhopen.S fhstat.S modnext.S modstat.S modfnext.S modfind.S kldload.S kldunload.S kldfind.S kldnext.S kldstat.S kldfirstmod.S getsid.S setresuid.S setresgid.S aio_return.S aio_suspend.S aio_cancel.S aio_error.S aio_read.S aio_write.S! lio_listio.S __getcwd.S sched_setparam.S sched_getparam.S sched_setscheduler.S sched_getscheduler.S sched_yield.S sched_get_priority_max.S sched_get_priority_min.S sched_rr_get_interval.S utrace.S sendfile.S kldsym.S jail.S sigprocmask.S sigsuspend.S sigaction.S sigpending.S __acl_get_file.S __acl_set_file.S __acl_get_fd.S __acl_set_fd.S __acl_delete_file.S __acl_delete_fd.S __acl_aclcheck_file.S __acl_aclcheck_fd.S extattrctl.S extattr_set_file.S extattr_get_file.S extattr_delete_file.S aio_waitcomplete.S getresuid.S getresgid.S kqueue.S kevent.S __cap_get_proc.S __cap_set_proc.S __cap_get_fd.S __cap_get_file.S __cap_set_fd.S __cap_set_file.S extattr_set_fd.S extattr_get_fd.S extattr_delete_fd.S __setugid.S _getlogin.S _exit.S /usr/src/lib/libc/../libc/i386/stdlib/abs.S /usr/src/lib/libc/../libc/i386/stdlib/div.S /usr/src/lib/libc/../libc/i386/stdlib/labs.S /usr/src/lib/libc/../libc/i386/stdlib/ldiv.S /usr/src/lib/libc/../libc/i386/string/bcmp.S /usr/src/lib/libc/../libc/i! 386/string/bcopy.S /usr/src/lib/libc/../libc/i386/string/bzero.S /usr/src/lib/libc/../libc/i386/string/ffs.S /usr/src/lib/libc/../libc/i386/string/index.S /usr/src/lib/libc/../libc/i386/string/memchr.S /usr/src/lib/libc/../libc/i386/string/memcmp.S /usr/src/lib/libc/../libc/i386/string/memcpy.S /usr/src/lib/libc/../libc/i386/string/memmove.S /usr/src/lib/libc/../libc/i386/string/memset.S /usr/src/lib/libc/../libc/i386/string/rindex.S /usr/src/lib/libc/../libc/i386/string/strcat.S /usr/src/lib/libc/../libc/i386/string
wchar.h / Citrus import
I am going to import parts of the Citrus Project XPG4DL (an implementation of I18N (locale) framework). We *need* wchar.h and we just cannot wait. If there are known concerns or issues with this, please let me know. -- -- David ([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: wchar.h?
On Tue, 9 Mar 1999, Archie Cobbs wrote: The jikes Java compiler relies on an include file whcar.h being on the system. However, even if it's not, it includes routines to do what it needs... only about 40 lines or so for these functions: I was bitten by this one recently too, and there are quite a few messages in the mailing-list archives on the subject. If I remember right (without looking right now) the reason it hasn't been included was some sort of issue of 16bit vs 32bit. The short answer is you need write your own functions and header file that you need, or use the Xwchar library that came in the original X11R5/contrib distributions (with slight modifications to the header file to use FreeBSD's wchar_t type and specific includes). It looks like jikes does the 'right thing' just because there's not that much consistancy across platforms. Just FYI HP, linux, and solaris all include a wchar.h, but different systems are missing different wcs* type functions. --- Mark Atkinson Checkpoint Technologies' Metaip Group ma...@metaip.checkpoint.com !(wired)?(coffee++):(wired) To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: wchar.h?
On Tue, 9 Mar 1999, Archie Cobbs wrote: wcslen() wcscpy() wcsncpy() wcscat() wcscmp() wcsncmp() How come FreeBSD doesn't have these? Is there a complicated problem preventing us from adding them? I have a start at all the wc functions in the NA1 of ANSI C which includes these and wide versions of most of the stdio functions (fgetwc, fputwc and the like) as well as wide iswxxx() ctype functions. Anybody who would like to finish the job is most welcome to what I have so far. (I've also got a Unicode UTF-8 local I'd like to bring in at some point...) -john To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
wchar.h?
The jikes Java compiler relies on an include file whcar.h being on the system. However, even if it's not, it includes routines to do what it needs... only about 40 lines or so for these functions: wcslen() wcscpy() wcsncpy() wcscat() wcscmp() wcsncmp() How come FreeBSD doesn't have these? Is there a complicated problem preventing us from adding them? Thanks, -Archie ___ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: wchar.h?
On Tue, Mar 09, 1999 at 08:28:41PM -0800, Archie Cobbs wrote: The jikes Java compiler relies on an include file whcar.h being wcsncmp() How come FreeBSD doesn't have these? Is there a complicated problem preventing us from adding them? Wide chars manipulations simple not implemented, if you plan to write some implementation please take a look to some standards first like Single UNIX Specs: http://www.opengroup.org/onlinepubs/7908799/xsh/wchar.h.html -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: wchar.h?
Archie Cobbs wrote: The jikes Java compiler relies on an include file whcar.h being on the system. However, even if it's not, it includes routines to do what it needs... only about 40 lines or so for these functions: wcslen() wcscpy() wcsncpy() wcscat() wcscmp() wcsncmp() How come FreeBSD doesn't have these? Is there a complicated problem preventing us from adding them? Look at /usr/include/machine/ansi.h. It has a brief statement about wchar_t. -- Steve To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message