Commit Graph

32 Commits

Author SHA1 Message Date
Ralf Corsepius
34e6f9131b 2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 449/rtems:
	* src/getegid.c: New (Copied from ../posix/src).
	* src/geteuid.c: New (Copied from ../posix/src).
	* src/getgid.c: New (Copied from ../posix/src).
	* src/getgroups.c: New (Copied from ../posix/src).
	* src/getlogin.c: New (Copied from ../posix/src).
	* src/getpgrp.c: New (Copied from ../posix/src).
	* src/getpid.c: New (Copied from ../posix/src).
	* src/getppid.c: New (Copied from ../posix/src).
	* src/getuid.c: New (Copied from ../posix/src).
	* src/setpgid.c: New (Copied from ../posix/src).
	* src/setsid.c: New (Copied from ../posix/src).
	* src/no_posix: Remove getpid and _getpid_r.
	* Makefile.am: Reflect changes above.
2003-08-19 08:30:41 +00:00
Ralf Corsepius
8df287b07e 2003-05-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Conditionally install stdint.h/inttypes.h.
	* configure.ac: Check for system-stdint.h/inttypes.h.
2003-05-30 11:32:55 +00:00
Ralf Corsepius
8114f30144 2003-03-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_CHECK_FUNCS(strlcpy strlcat).
	* src/strlcat.c: New (extracted from pppd/utils.c).
	* src/strlcpy.c: New (extracted from pppd/utils.c).
	* Makefile.am: Add BSD_C_FILES, strlcat.c, strlcpy.c.
2003-03-19 00:49:15 +00:00
Ralf Corsepius
81df4984ff 2003-01-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Eliminate OBJS.
2003-01-14 18:41:29 +00:00
Ralf Corsepius
6c39eca47a 2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Check for sys/cdefs.h, Add NEED_SYS_CDEFS_H.
	Add check for CHAR_BIT.
	* Makefile.am: Conditionally install sys/cdefs.h iff using newlib or
	if the host does not provide sys/cdefs.h (Fixes Linux/posix).
2002-11-18 23:53:14 +00:00
Ralf Corsepius
f934a9d630 2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove -ansi -fasm.
	Add checks to diagnose potential system header conflicts.
	* Makefile.am: Unconditionally install sys/cdefs.h.
2002-11-18 02:36:06 +00:00
Joel Sherrill
ed8c513a74 2002-10-02 Eric Norum <eric.norum@usask.ca>
* src/getpwent.c: Per PR283, reimplement to address reentrancy problems.
	* src/getgrent.c: Removed as functionality is now just a wrapper for
	common routines in src/getpwent.c.
	* Makefile.am: Reflect file removal.
2002-10-02 17:33:17 +00:00
Joel Sherrill
193fe69007 2002-09-14 Eric Norum <eric.norum@usask.ca>
* src/readdir_r.c: New file.
	* Makefile.am: Reflect above.
2002-09-14 17:04:05 +00:00
Joel Sherrill
8d6db1780f 2002-07-30 Joel Sherrill <joel@OARcorp.com>
* include/sys/utime.h: Removed as file is now part of the RTEMS
	newlib support.
	* Makefile.am: Reflect above.
2002-07-30 23:26:17 +00:00
Ralf Corsepius
eb5100ba37 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use .$(OBJEXT) instead of .o.
2002-07-22 13:39:11 +00:00
Ralf Corsepius
8b006a771c 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Eliminate LIBNAME. Use AM_CPPFLAGS instead of
	INCLUDES (Upcoming automake standard).
2002-07-22 06:35:17 +00:00
Ralf Corsepius
b8ad66c74f 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge src/Makefile.am.
	* configure.ac: Reflect changes above.
	* src/Makefile.am: Remove.
2002-06-17 15:05:53 +00:00
Ralf Corsepius
8ed9f53d29 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	Use ../aclocal.
	* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-17 09:12:49 +00:00
Joel Sherrill
c8e972f57b 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Relocate libcsupport from c/src/lib to c/src/exec/libcsupport.
	* configure.ac: Use ENV_RTEMSCPU. Reflect changed paths.
	* Makefile.am: Reflect changed paths.
	* src/Makefile.am: Reflect changed paths.
2002-05-17 18:32:22 +00:00
Joel Sherrill
f85a3c56ed 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Remove.
	* include/sys/utsname.h: Added, removed times (now in newlib).
	* Makefile.am: Merge include/Makefile.am
	* libc/utsname.c: Relocated from posix/src.
	* libc/Makefile.am: Reflect changes above.
	* configure.ac: Remove include/Makefile
2002-05-14 20:52:51 +00:00
Joel Sherrill
deb66d121b 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Remove.
	* include/sys/utsname.h: Added, removed times (now in newlib).
	* Makefile.am: Merge include/Makefile.am

	* libc/utsname.c: Relocated from posix/src.
	* libc/Makefile.am: Reflect changes above.

	* configure.ac: Remove include/Makefile
2002-05-14 18:46:05 +00:00
Joel Sherrill
b449267bfd 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* libc/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:48:39 +00:00
Joel Sherrill
49ed8e7758 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/zilog/Makefile.am: Remove.
	* include/motorola/Makefile.am: Remove.
	* include/sys/Makefile.am: Remove.
	* include/rtems/Makefile.am: Remove.
	* include/Makefile.am: Handle subdirs, require automake-1.5
	* Makefile.am: Require automake-1.5.
2001-10-16 18:50:03 +00:00
Joel Sherrill
feead22618 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-09 16:43:05 +00:00
Joel Sherrill
a314d3b497 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-11-02 15:49:06 +00:00
Joel Sherrill
2d5748f737 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Remove bogus cfg_subdirs.
	* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
	Switch to GNU canonicalization.
2000-10-26 12:59:48 +00:00
Joel Sherrill
50d6077e85 2000-08-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add lib/libcpu and lib/libbsp to cfg_subdirs
2000-08-30 08:22:01 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
ce18601a7d Removed start subdirectory and distributed contents to the appropriate
places under the libbsp tree.
1999-11-16 16:13:26 +00:00
Joel Sherrill
2782e69ff0 idir=/opt/tmp/opt/rtems
rdir=/opt/rtems

cd $idir
find . -type f | while read file
do
  if [ ! -f ${file} ] ; then
     echo ${file} missing
  fi
done
1999-10-26 12:39:24 +00:00
Joel Sherrill
dd04e32a80 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move
c/src/lib/libmisc to c/src/libmisc.
1999-10-26 02:58:06 +00:00
Joel Sherrill
45269dc902 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move librdbg
to its own top level package.
1999-10-11 15:34:26 +00:00
Joel Sherrill
811804fec8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 19:15:14 +00:00
Joel Sherrill
0efa9f01f8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 18:53:31 +00:00
Joel Sherrill
cc63e08130 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make libnetworking
a top level more independently configured package.
1999-10-04 18:40:53 +00:00
Joel Sherrill
b62a92c804 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below actuallly consists of two patches:
1) moving librpc to c/src/librpc similar to what has been done to librtems++
2) reworked configure scripts, many safety and dependency checks added to
aclocal/*.m4 macros + configuration fixes.

To apply:

mkdir c/src/librpc
mkdir c/src/librpc/src
cp c/src/lib/librpc/*.c c/src/librpc/src
cp c/src/lib/librpc/Makefile.in c/src/librpc/src
mkdir c/src/librpc/include
mkdir c/src/librpc/include/rpc
cp c/src/lib/include/rpc/* c/src/librpc/include/rpc
patch -p1 < ../rtems-rc-19990820-7.diff
rm -rf c/src/lib/librpc
rm -rf c/src/lib/include/rpc
./autogen

The additional checks in aclocal/*m4 macros add rather restrictive, sometimes
unnecessarily restrictive constraints on the sequence of how macros can be
used in a configure.in script. Adding them has let my problems with some more
complicated configuration options vanish. Apparently some macros had not been
in the required order .

----

Now I still get some linking errors for some cpus and bsps, esp when linking
cdtest, but also at other locations:

e.g. this happens for mips64orion/p4600:

# make[5]: Entering directory
`/lfs/poseidon/users/rtems/src/multi/build/mips64orion-rtems/c/p4600/tests/samples/hello'

/opt/rtems/bin/mips64orion-rtems-gcc --pipe -B../../../../../../p4600/lib/
-specs bsp_specs -qrtems -DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
-mcpu=4600 -G0   -I../../../../../../p4600/lib/include/networking  -g -Wall
-ansi -fasm  -O4 -fomit-frame-pointer     -o o-p4600/hello.exe
o-p4600/init.o ../../../../../../p4600/lib/no-dpmem.rel
../../../../../../p4600/lib/no-event.rel
../../../../../../p4600/lib/no-msg.rel ../../../../../../p4600/lib/no-mp.rel
../../../../../../p4600/lib/no-part.rel
../../../../../../p4600/lib/no-signal.rel
../../../../../../p4600/lib/no-timer.rel
../../../../../../p4600/lib/no-rtmon.rel
/opt/rtems/mips64orion-rtems/lib/libc.a(dtoa.o): In function `_dtoa_r':
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
collect2: ld returned 1 exit status

# mips64orion-rtems-gcc -v
Reading specs from /opt/rtems/lib/gcc-lib/mips64orion-rtems/2.95.1/specs
gcc version 2.95.1 19990816 (release)

# mips64orion-rtems-ld -v
GNU ld version 2.9.5 (with BFD 2.9.5)
1999-10-04 18:20:14 +00:00
Joel Sherrill
e1d8abbe28 Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.  This added a lot of files.
1999-09-07 13:45:03 +00:00