Linux Sources Under Windows

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
~
Member
Member
Posts: 1226
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

Linux Sources Under Windows

Post by ~ »

I don't know what goes on, every time I try to unpack the kernel sources in a FAT32/NTFS disk under Windows from the TAR-GZ file, there seems to be files with repeated names, for example (non-existing) ipc.c (with 350Kb) and then again the ipc.c (this time with 130Kb).

Maybe it's a bug in all of the available software under Windows to unpack the TAR-GZ files, or maybe the kernel sources have files in the same directory with names like IPC.C and ipc.c which could be differentiated under Linux but would be taken as the same file under Linux.

It looks like the only way to have a non-mutilated kernel is to unpack and work it under one of its distributions and of course a Linux-native filesystem partition.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

have you checked
1) that you don't have a broken download?
2) that you use a decent archiver (i have bad experience with winzip/winrar) - Have you tried a windows build of tar/gzip?
3) that you are not unpacking to a filled directory?
4) that you are saving the archive to disk rather than loading it from the temp directory. (common cause of #1)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
mystran
Member
Member
Posts: 670
Joined: Thu Mar 08, 2007 11:08 am

Post by mystran »

Sounds like the result of unpacking without directory names.

There are indeed several files with the same names, but they differ by directory, so you should respect the directory names in the archive to get it unpacked properly.
The real problem with goto is not with the control transfer, but with environments. Properly tail-recursive closures get both right.
Post Reply