This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Make file for Java2 Micro Edition


Steve,
    MKS refers to a commercial (AFAIK) set of tools that provide some
unix functionality on windows. CL.EXE is the microsoft command line
compiler.

You need to seek advice from the appropriate folk (MKS & Microsoft) for
those tools.

The Cygwin project has it's own compiler (GCC) and also provides unix
functionality (a lot more than MKS :]). There is plenty of documentation
available if you want to port the J2ME make file to cygwin rather than
the toolkit it is structured for.

If you wish to do that I recommend putting aside 5-6 hours (for
reading - it will be a) needed and b) very useful for you in the future)
and read up on

The cygwin FAQ and users guide (http://www.cygwin.com, links on the
left)
Gnu MAKE (http://www.gnu.org/software/make)
GCC (http://www.gnu.org/software/gcc)

That will give you the knowledge to tackle the porting project with a
fair degree of confidence. The list here will help you if you run into
trouble. (I'm helping now, by giving you specific pointers to carry on
your task).

Good luck,
Rob


----- Original Message -----
From: <Steve_Anderson@paradise.net.nz>
To: <cygwin@sources.redhat.com>
Sent: Sunday, March 18, 2001 12:03 AM
Subject: Make file for Java2 Micro Edition


> I am trying to run the make file for J2ME (Java 2 Micro Edition).
When the make file runs I get the following error:
>
> Recursively making ../../tools/preverifier/build/win32 all... make[1]:
Entering directory
'/cygdrive/d/j2me//j2me_cldc/tools/preverifier/build/win32/'
cl -c -I../..src/ -DWIN32 -DJAVAVERIFY -DTRIMMED ../../src/check_class.c
make[1]: cl: command not found make[1]: *** [check_class.obj] Error 127
make[1]: leaving directory
'/cygdrive/d/j2me//j2me_cldc/tools/preverifier/build/win32/' make: ***
[all] Error 1
>
> What is the cl command?
>
> Below is a listing of the make file:
>
> BUILDDIR=$(shell pwd)
> TOP=../..
> PLATFORM=win32
> export PLATFORM
>
> SUBDIRS = \
>   $(TOP)/tools/preverifier/build/win32 \
>   $(TOP)/api \
>   $(TOP)/samples \
>   $(TOP)/samples/jam
>
> ifneq ($(ROMIZING), false)
>    SUBDIRS += $(TOP)/tools/jcc
> endif
>
> SUBDIRS += $(TOP)/kvm/VmWin/build
>
>
> all clean : FORCE
> @for i in $(SUBDIRS) ; do \
>     echo ">>>Recursively making "$$i" "$@"..."; \
>     cd $$i; $(MAKE) $@ \
>     || exit 1; cd $(BUILDDIR); \
>     echo "<<<Finished Recursively making "$$i" "$@"." ; \
> done
>
> FORCE: ;
>
> Thanks in advance
>
>
>
>
> Download NeoPlanet at http://www.neoplanet.com
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]