Problem compiling Fiasco Kernel (kip.cc)

olivier olivier.landemarre at free.fr
Tue Dec 1 23:43:19 CET 2009


Adam Lackorzynski a écrit :
> On Tue Dec 01, 2009 at 00:15:29 +0100, olivier wrote:
>   
>> Hello,
>>     
>>>> try do Makefile.sub2
>>>> ... Generating version information
>>>> ... Making kip.o
>>>> cczEXyNz.s: Assembler messages:
>>>> cczEXyNz.s: 117: Error: junk at end of line, first unrecognized
>>>> character is ','
>>>> cczEXyNz.s: 119: 119: unknown pseudo-op: '.previous'
>>>> etc.
>>>>         
>>> Anyway, the .previous is the interesting information. This should be
>>> processed by the assembler. Since this is on Windows maybe the '\n'
>>> isn't enough and there must be a \n\r or similar. Could you try to add
>>> the \r in kip.cpp and try again?
>>>       
>> No change, I know now problem is in this lines:
>>
>>
>> asm(".section .initkip.version, \"a\", %progbits        \n"    \
>>    ".string \"" CONFIG_KERNEL_VERSION_STRING "\"       \n"    \
>>    ".previous                                          \n");
>>
>> asm(".section .initkip.features.fini, \"a\", %progbits  \n"    \
>>    ".string \"\"                                       \n"    \
>>    ".previous                                          \n");
>>
>>
>> And more exactly start for compiler with the character ','  after
>> asm(".section .initkip.version, \"a\"
>>     
>
> Some more digging reveals that those statements are for ELF targets only
> and do not work with PE targets. Seems there's no way to tell the
> assembler to generate ELF instead of PE on cygwin. Sorry but it seems
> building under Cygwin is not possible.
>   
So is there any way to compil a Windows version?

Olivier




More information about the l4-hackers mailing list