From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1949.199.98.17.54.1066839523.squirrel@wish> From: "Joel Salomon" To: "9fans" <9fans@cse.psu.edu> User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Subject: [9fans] Plan9 ports on cygwin Date: Wed, 22 Oct 2003 12:18:43 -0400 Topicbox-Message-UUID: 77b41e72-eacc-11e9-9e20-41e7f4b1d025 I got another chance to experiment, so: * as far as the #ifdefs are concerned, I copied whatever was under #if defined(__FreeBSD__) to #if defined(__CYGWIN__) * gnu ld seems not to find the various libs needed to link executables (libposix, etc.). Replace calls to ld with calls to gcc - *it* knows where to find everything. * at this point there are complaints (when linking tprimes) about undefined reference to `__setlabel' and also to `__getlabel'. Apparently the extra underscore isn't added by gas, so I added them (in lib*/*.s - they're needed everywhere). * when compiling lib9: cc await.c await.c: In function `await': await.c:99: warning: implicit declaration of function `WCOREDUMP' and linking of the test programs in src/libthread all fail with this missing function. Does anyone have a work-around for this? BTW, is anything happening on the libdraw/windows front? --Joel