On 13 May 2006 16:04, James McLaughlin wrote:

> Hi,
> 
> A while ago I downloaded the source packages for the
> Cygwin versions of gcc-mingw-core and gcc-mingw-g++.
> However, after I decompressed them I found that they
> didn't contain any source except a few header files,
> but that they did contain a few executables.
> 
> I posted this fact as part of a wider question to the
> Cygwin list, and someone told me that it looked more
> like a packaging problem than me having goofed
> somewhere, so I thought I ought to post it here.

  Sounds an *awful* lot like you're looking at the binary packages rather than
the source packages.  What precisely did you download, and what command did
you run to decompress it?  

  The proper way to get cygwin source packages is through setup.exe, using the
checkbox on the chooser next to the package you want.  When you download them
they get cached in your local package dir, and when you install them (either
from there or directly from the net) they get expanded into your /usr/src dir.
That's probably the way you really want to be doing it.  In my local package
directory I have a subdir called[*]

http%3a%2f%2fwww.mirrorservice.org%2fsites%2fsourceware.org%2fpub%2fcygwin/rel
ease/gcc-mingw/gcc-mingw-core

and that contains

[ ... ]/gcc-mingw-core> ls -la
total 3484
drwxrwx---+  2 dk Users       0 May  8 10:46 .
drwxrwx---+ 10 dk Users       0 May  8 10:49 ..
-rwxr-x---+  1 dk Users 3565298 May  8 10:46
gcc-mingw-core-20050522-1-src.tar.bz2

which contains

[ ... ]/gcc-mingw-core> tar tfvj gcc-mingw-core-20050522-1-src.tar.bz2
drwxrwxrwx gerrit/Domänen-Admins 0 2005-06-04 12:54:29
gcc-mingw-core-20050522-1/
-rwxrwxrwx gerrit/Domänen-Admins 3762 2005-06-04 12:54:29
gcc-mingw-core-20050522-1/Makefile.in
-rwxrwxrwx gerrit/Domänen-Admins 72828 2005-06-04 12:54:29
gcc-mingw-core-20050522-1/configure
-rwxrwxrwx gerrit/Domänen-Admins    81 2005-06-04 12:54:29
gcc-mingw-core-20050522-1/configure.in
-rw-r--r-- gerrit/Domänen-Admins 3523621 2005-06-04 12:54:29
gcc-mingw-core-20050522-1/gcc-core-3.4.4-20050522-1.tar.gz

  And having used setup.exe to install the gcc-mingw-core source package from
my local dir, I now have in /usr/src:

[EMAIL PROTECTED] /usr/src> ls -la | grep gcc-mingw
drwxrwx---+  2 dk Users              0 May 15 12:05 gcc-mingw-core-20050522-1

which contains:

[EMAIL PROTECTED] /usr/src> ls -la gcc-mingw-core-20050522-1/
total 3521
drwxrwx---+  2 dk Users       0 May 15 12:05 .
drwxrwx---+ 36 dk Users       0 May 15 12:06 ..
-rwxr-x---+  1 dk Users    3762 Jun  4  2005 Makefile.in
-rwxr-x---+  1 dk Users   72828 Jun  4  2005 configure
-rwxr-x---+  1 dk Users      81 Jun  4  2005 configure.in
-rwxr-x---+  1 dk Users 3523621 Jun  4  2005 gcc-core-3.4.4-20050522-1.tar.gz

  Ouch.  That probably got turned into a nightmare of linewrapping by the
mailer, but I hope you get the idea.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

Reply via email to