-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi,

followed the setup for cross compiling written on the GnuWin32
homepage at http://gnuwin32.sourceforge.net/compile.html
Then wanted to compile the latest coreutils version 7.5, to get all
shasum executables.

After two small patches (attached) I fixed the only problem with
./configure.
The error was "could not determine how to read list of mounted file
systems".
The fixes are adopted from
http://www.mail-archive.com/bug-coreut...@gnu.org/msg12151.html

Unfortunately when calling make, it stops compiling due to missing
headers (here sys/wait.h for savewd.c).
When searching my disk I recognized that these headers are already
present in the CygWin installation under /usr/include.
Searched the web for how to add /usr/include as an additional include
dir, but failed.
Checking the configure script there is already a definition and code
for /usr/include (look for "oldincludedir").

Can somebody please help and tell me how to do this correctly?

Btw when I don't use MinGW gcc, only CygWin, then it compiles fine,
but the executable depends on the CgyWin DLLs. :(

Maddes



Commands used:
# use MinGW's gcc before CygWin's
PATH=/cygdrive/d/Programme/Coding/MinGW5/bin:${PATH}

# go to general development directory
cd /cygdrive/d/Coding/

# get coreutils source, extract it, create backup from original for diff
[ ! -f "coreutils-7.5.tar.gz" ] && wget
http://ftp.gnu.org/gnu/coreutils/coreutils-7.5.tar.gz
rm -rf coreutils-7.5
tar -xzvf coreutils-7.5.tar.gz
[ ! -d "coreutils-org" ] &&  cp -r coreutils-7.5/ coreutils-org/

# apply patches
patch -p0 <configure.patch
patch -p0 <ls-mntd-fs.m4.patch

# go to coreutils source and build
cd coreutils-7.5
./configure
make

- --
Matthias "Maddes" Bücher
http://www.maddes.net/
Home: Earth / Germany / Ruhr-Area
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAkqWdqEACgkQUXXT+9wZdbVpYwCgsu+RVwSlQi7ckdYgAuosJ+xk
GJ8An1T9e7BrfM8voGu8BNlMSX3xs6z8
=1Awo
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEABECAAYFAkqWdqEACgkQUXXT+9wZdbU3DwCg2LD+VNahr119yfXLjrMZnEAH
VTwAoKeeZ5xUIRYUAupGbaHKC/VWjKa+
=5Q2q
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEABECAAYFAkqWdqEACgkQUXXT+9wZdbVmRACfRcHdwQ2IDiBwfoQMaWkuFo21
cHsAoII6OpM8keKNzgysq7eNdCudRj9u
=kAtM
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to