Changes between Version 16 and Version 17 of WindowsNotes


Ignore:
Timestamp:
Jan 16, 2010, 4:51:58 PM (10 years ago)
Author:
jl
Comment:

more generic work-around for gcc-4 since rebuild-ccl fails (spawned make does not see CC in ccl's env)

Legend:

Unmodified
Added
Removed
Modified
  • WindowsNotes

    v16 v17  
    248248to build the lisp kernel for win64.  (You still need the 'make' and 'm4' packages.)
    249249
     250
     251Note that recent versions of Cygwin come with gcc-4 as well. If you install both, gcc-3 and gcc-4, compilation
     252of the kernel will fail with gcc complaining that "the -mno-cygwin flag has been removed". Switch to gcc-3 by adjusting /etc/alternatives:
     253{{{
     254shell> ln -fs `which gcc-3` /etc/alternatives/gcc
     255}}}
     256
     257
    250258=== Actually building a Windows kernel ===
    251259
     
    260268
    261269If all of the tools/headers/libraries are installed, that should create a working
    262 kernel executable in the ccl directory. 
    263 
    264 If gcc complains that "the -mno-cygwin flag has been removed", your cygwin is using
    265 gcc-4 by default and should thus build the kernel with:
    266 
    267 {{{
    268 shell> make CC=gcc-3
    269 }}} 
     270kernel executable in the ccl directory.