Linux Kernel include files

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joerg Schilling
Date: Thursday, June 21, 2007 - 3:32 pm

Hi all,

you might know that since ~ 2 years, the Sun Studio compilers
are available for Linux. Given the fact that they typically produce
faster code than GCC and that they offer more debug/optimizing features,
they are worth testing.

While it is no problem to use Sun Studio for non-Linux-specific programs,
it is impossible to compile programs using Sun Studio if these programs offer
Linux specific features.

Star ftp://ftp.berlios.de/pub/star/alpha/ offers support for archiving ext2
file flags. If star is compiled using Sun Studio, star's autoconfiguration will 
disable support for the Linux specific features because it detects "broken" 
include files.

Cdrtools ftp://ftp.berlios.de/pub/cdrecord/alpha/ offer support for an OS 
dependent SCSI transport. Cdrtools cannot be compiled wihout support for SCSI 
transport, so it is impossible to use Sun Studio to compile cdrtools.

Why does this happen?

Well, the reason is that in order to support Linux specific features, you need 
to include Linux specific include files (the Linux kernel include files). As 
these include files are currently not written in vanilla (ANSI) C but in a 
GCC-C-variant, other compilers do not like these include files.

Is there some hope that at least the Linux kernel interface definition files and
everything recursively included from these files will be rewritten in vanilla 
ANSI C?

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux Kernel include files, Joerg Schilling, (Thu Jun 21, 3:32 pm)
Re: Linux Kernel include files, david, (Thu Jun 21, 4:25 pm)
Re: Linux Kernel include files, Joerg Schilling, (Thu Jun 21, 4:38 pm)
Re: Linux Kernel include files, Arjan van de Ven, (Thu Jun 21, 4:47 pm)
Re: Linux Kernel include files, Arnd Bergmann, (Thu Jun 21, 4:59 pm)
Re: Linux Kernel include files, David Woodhouse, (Thu Jun 21, 8:38 pm)
Re: Linux Kernel include files, H. Peter Anvin, (Thu Jun 21, 10:18 pm)
Re: Linux Kernel include files, Adrian Bunk, (Fri Jun 22, 8:00 am)
Re: Linux Kernel include files, Joerg Schilling, (Mon Jun 25, 7:48 am)
Re: Linux Kernel include files, Joerg Schilling, (Mon Jun 25, 7:53 am)
Re: Linux Kernel include files, Joerg Schilling, (Mon Jun 25, 8:06 am)
Re: Linux Kernel include files, Joerg Schilling, (Mon Jun 25, 8:17 am)
Re: Linux Kernel include files, Arjan van de Ven, (Mon Jun 25, 8:26 am)
Re: Linux Kernel include files, Robert P. J. Day, (Mon Jun 25, 8:27 am)
Re: Linux Kernel include files, David Woodhouse, (Mon Jun 25, 8:27 am)
Re: Linux Kernel include files, david, (Mon Jun 25, 9:00 am)
Re: Linux Kernel include files, Harald Arnesen, (Mon Jun 25, 11:04 am)
Re: Linux Kernel include files, Sam Ravnborg, (Mon Jun 25, 1:18 pm)
Re: Linux Kernel include files, Joerg Schilling, (Mon Jun 25, 1:26 pm)
Re: Linux Kernel include files, David Woodhouse, (Mon Jun 25, 1:32 pm)
Re: Linux Kernel include files, Harald Arnesen, (Mon Jun 25, 2:43 pm)
Re: Linux Kernel include files, Harald Arnesen, (Mon Jun 25, 2:48 pm)
Re: Linux Kernel include files, Joerg Schilling, (Mon Jun 25, 2:49 pm)
Re: Linux Kernel include files, Harald Arnesen, (Mon Jun 25, 3:30 pm)
Re: Linux Kernel include files, Joerg Schilling, (Mon Jun 25, 3:42 pm)
Re: Linux Kernel include files, H. Peter Anvin, (Tue Jun 26, 8:26 am)
Re: Linux Kernel include files, Kyle Moffett, (Tue Jun 26, 6:32 pm)
Re: Linux Kernel include files, Adrian Bunk, (Wed Jun 27, 8:40 am)
Re: Linux Kernel include files, Joerg Schilling, (Wed Jun 27, 8:52 am)
Re: Linux Kernel include files, Robert P. J. Day, (Wed Jun 27, 8:59 am)
Userspace compiler support of "long long", Adrian Bunk, (Wed Jun 27, 10:32 am)
Re: Userspace compiler support of "long long", Kyle Moffett, (Wed Jun 27, 3:30 pm)
Re: Userspace compiler support of "long long", Randy Dunlap, (Wed Jun 27, 3:57 pm)
Re: Userspace compiler support of "long long", Randy Dunlap, (Wed Jun 27, 4:16 pm)
Re: Userspace compiler support of "long long", Geert Uytterhoeven, (Wed Jun 27, 7:12 pm)
Re: Userspace compiler support of "long long", Kyle McMartin, (Wed Jun 27, 8:06 pm)
Re: Userspace compiler support of "long long", Matthew Wilcox, (Wed Jun 27, 8:57 pm)
Re: Linux Kernel include files, H. Peter Anvin, (Wed Jun 27, 9:02 pm)
Re: Userspace compiler support of "long long", H. Peter Anvin, (Wed Jun 27, 9:03 pm)
Re: Userspace compiler support of "long long", Jan Engelhardt, (Wed Jun 27, 11:50 pm)
Re: Userspace compiler support of "long long", Harald Arnesen, (Thu Jun 28, 3:26 am)
Re: Userspace compiler support of "long long", Joerg Schilling, (Thu Jun 28, 3:44 am)
Re: Userspace compiler support of "long long", Geert Uytterhoeven, (Thu Jun 28, 4:34 am)
Re: Userspace compiler support of "long long", David Woodhouse, (Thu Jun 28, 4:36 am)
Re: Userspace compiler support of "long long", Kyle Moffett, (Thu Jun 28, 4:42 am)
Re: Userspace compiler support of "long long", Kyle Moffett, (Thu Jun 28, 4:53 am)
Re: Userspace compiler support of "long long", Jakub Jelinek, (Thu Jun 28, 5:08 am)
Re: Userspace compiler support of "long long", Kyle Moffett, (Thu Jun 28, 5:11 am)
Re: Userspace compiler support of "long long", Kyle Moffett, (Thu Jun 28, 5:18 am)
Re: Userspace compiler support of "long long", Kyle Moffett, (Thu Jun 28, 5:20 am)