bdf: osf-core.c fails to compile due to lack sys/user.h

Tristan Gingold
Mon May 10 07:35:00 GMT 2010


I have never tried to build binutils for VMS using gcc.  It looks a few adjustments are required: osf-core.c
is always built when the cpu is alpha, which is wrong for vms.

To be fixed!


On May 8, 2010, at 6:23 AM, Jay K wrote:

> /bin/sh ./libtool --tag=CC   --mode=compile alpha-dec-vms-gcc -DHAVE_CONFIG_H -I. -I/src/binutils/src/bfd -DOSF_CORE   -I. -I/src/binutils/src/bfd -I/src/binutils/src/bfd/../include   -DBINDIR='"/usr/local/bin"'  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow  -g -MT osf-core.lo -MD -MP -MF .deps/osf-core.Tpo -c -o osf-core.lo /src/binutils/src/bfd/osf-core.c
> libtool: compile:  alpha-dec-vms-gcc -DHAVE_CONFIG_H -I. -I/src/binutils/src/bfd -DOSF_CORE -I. -I/src/binutils/src/bfd -I/src/binutils/src/bfd/../include -DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -MT osf-core.lo -MD -MP -MF .deps/osf-core.Tpo -c /src/binutils/src/bfd/osf-core.c -o osf-core.obj
> /src/binutils/src/bfd/osf-core.c:30:22: fatal error: sys/user.h: No such file or directory
> compilation terminated.
> make[2]: *** [osf-core.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> manually edited Makefile to remove osf-core.c
> Presumably there is a better fix.
> build=i386-apple-darwin9.8.0
> host=target=alpha-dec-vms
>  - Jay

More information about the Binutils mailing list