[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mig stub headers: brain dump
From: |
James Morrison |
Subject: |
mig stub headers: brain dump |
Date: |
Thu, 13 Jun 2002 23:25:20 -0700 (PDT) |
Hi,
I looked into why Alfred cant' compile libtrivfs anymore. So it seems that
libtrivfs/trivfs.h now includes mig stub header files. Now, I have come across
a couple of problems with this.
1) mig creates the file trivfs*_S.h in build/libtrivfs. libtrivfs/trivfs.h
is looking for hurd/trivfs*_S.h.
So, I tried a couple of things.
1) Changed mig-sheader-prefix to ../hurd/trivfs_ and added
mig-sheader-prefix%_S.h as a dependency of $(library) in Makeconf before
the dependency files are created so hurd/trivfs_*_S.h are all found
correctly for each .d file.
This worked except for libshouldbeinlibc .
So, what is a better solution.
1) use mig-sheader-prefix ../hurd/*fs and have mig-sheader-prefix%_S.h as a
dependency of $(library) in Makeconf, with an exception for libraries that
don't use any mig stubs, eg libshouldbeinlibc.
2) Don't put mig-sheader-prefix as a dependency of $(library) and have the
mig-sheader-prefix%_S.h target create the files in place as in done now,
but having a hurd directory in each libraries directory, eg
build/libtrivfs/hurd/trivfs_*_S.h .
3) Tell Dumbasses like me, that they should try
make prefix=`pwd` install-headers
Do these make any sense?
=====
James Morrison
University of Waterloo
Computer Science - Digital Hardware
2A co-op
http://hurd.dyndns.org
Anyone referring to this as 'Open Source' shall be eaten by a GNU
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
- mig stub headers: brain dump,
James Morrison <=