delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/06/13:42:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 6 Jan 2001 13:42:41 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Porting Cygwin
Message-ID: <20010106134241.A14194@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3A5741F9 DOT 8951 DOT 320B753B AT localhost> <00d001c077fa$895c97d0$6701a8c0 AT dafcoix6jzgi66> <000b01c077fe$e48824e0$9865fea9 AT timayum4srqln4> <20010106115438 DOT B13257 AT redhat DOT com> <00fb01c07804$d61de6a0$6701a8c0 AT dafcoix6jzgi66> <20010106123732 DOT A13687 AT redhat DOT com> <014d01c0780a$fb91db20$6701a8c0 AT dafcoix6jzgi66>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <014d01c0780a$fb91db20$6701a8c0@dafcoix6jzgi66>; from dfeustel@mindspring.com on Sat, Jan 06, 2001 at 01:03:32PM -0500

On Sat, Jan 06, 2001 at 01:03:32PM -0500, David Feustel wrote:
>> >WinCE 2.11 has a console window.  I am using it in my ports of Teco and
>> >Snobol4 to my Jornada 820.  Teco is essentially done.  Snobol4 runs but
>> >needs work.  I have a Windows 2000 version running from essentially the
>> >same codebase which is helping me figure out what should be happening
>> >with Snobol on my Jornada.
>> 
>> That may be but I'm pretty certain that actual console I/O is not supported
>> by WinCE, e.g., AFAIK, you can't open CONIN$.
>
>stdin, stdout and std error are supported. printf() works. File i/o works.
>getch() (used by teco) is not implemented but I have a work around.

Again, I would be very surprised if any of the console API worked.

>> Besides the console operations, there are also other primitives that are
>> missing in Windows CE which Cygwin relies on.
>
>I'm not shy about stubbing stuff out, breakpointing the routines so that I
>know if they get called and then adding (equivalent) functionality as necessary.
>Of course, the better the os support, the less of this is needed.

Ok.  I give up.  Have fun.  If you are using a 2.11 version of Windows
CE, I know that there will be some real challenges.

>> Then, of course, there is the amount of memory that Cygwin will use.  Memory
>> is precious on hand helds.  Even if you got cygwin ported, I'm not sure how
>> much additional memory would be available for the application.
>
>My 820 has 32 meg ram and (right now) 32 meg compact flash. Enough to
>run programs but not any where near enough for a toolchain. On the other hand,
>if it were possible to get the toolchain ported, a 1GB IBM microdrive is only
>$500. I also have ethernet download so big programs are not a problem.
>Phil Budne's CSnobol4 is 450 KB (with symbol table). Takes 10 sec max..

I'm talking about RAM not storage.

>> Btw, I neglected to respond to this:
>> 
>> >>>>Now, am I correct in my assumption that porting the cygwin dll to WinCE
>> >>>>will let me compile, GCC source and the link/run it using the EVT c
>> >>>>compiler with not a whole lot of editing?
>> 
>> I don't know what EVT c might be, but building Cygwin requires a recent
>> gcc compiler.  It's possible that you can use another compiler/linker to
>> use cygwin header files and libraries for building an application but
>> I wouldn't be surprised if there are problems there too.
>
>EVT is Visual Studio 6 customized to generate c/c++/asm code for all
>versions of WinCE from 2.01 on and for all hardware that WinCE runs on
>(SH3, MIPS, (Strong)Arm, x86, PPC).  The biggest problem I have run
>into so far re C++ stdio is that It does not support Try-Throw-Catch
>and hence the standard C++ library is not compilable/usable on the
>WinCE platform.
>
>I also bought 4 books by Stallman on porting GCC since I am a complete
>newbie wrt GCC, GDB, etc although I have a lot of experience with Unix
>commandline utilities.

You can't mix c++ between MSVC and gcc, unfortunately.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019