This is the mail archive of the
mailing list for the Cygwin project.
Re: Question: make, makefile and KVM in J2ME
- From: "yi ru" <ru_yi99 at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 28 Mar 2003 04:35:27 +0000
- Subject: Re: Question: make, makefile and KVM in J2ME
Hi, Igor Pechtchanski
Sorry for switch the thread. Next time will I just reply the message instead
of putting a new thread if I want to continue discuss?
Yeah you are right, I miss many there. I am not familiar with cygwin. I
didn't put more detail (the right makefile), because I find a similar one
the list so I follow his one and hope to get help.
Here is the makefile in the tools/preverifier/build/win32
# Copyright 1995-2002 by Sun Microsystems, Inc.,
# 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
# All rights reserved.
# This software is the confidential and proprietary information
# of Sun Microsystems, Inc. ("Confidential Information"). You
# shall not disclose such Confidential Information and shall use
# it only in accordance with the terms of the license agreement
# you entered into with Sun.
# Use is subject to license terms.
SRC_DIR = ../../src
OBJS = \
OTHER_FLAGS += \
ifeq ($(GCC), true)
CC = gcc
LD = gcc
CFLAGS = -DWIN32 -DGCC -mno-cygwin -mcpu=i386 -Wall $(OTHER_FLAGS)
LIBS= -luser32 -lkernel32 -lmsvcrt -lwsock32
LDFLAGS = -mno-cygwin
ifeq ($(DEBUG), true)
DEBUG_FLAG = -g
OPTIMIZE_FLAG = -O2
OUTPUT = -o
LINKER_OUTPUT = -o
CFLAGS= -DWIN32 -nologo $(OTHER_FLAGS)
LIBS= user32.lib kernel32.lib wsock32.lib
ifeq ($(DEBUG), true)
DEBUG_FLAG= -Zi -Od
LDFLAGS += -debug
OPTIMIZE_FLAG= -Os -O1
OUTPUT = -Fo
LINKER_OUTPUT = -out:
@$(LD) $(LDFLAGS) $(OBJS) $(LINKER_OUTPUT)$@ $(LIBS)
@$(CC) $(CFLAGS) $(DEBUG_FLAG) -c $(OUTPUT)$@ $<
rm -f core *.obj preverify.exe *.ilk *.pdb
When I install cygwin (setup.exe). I select all option in the devel and I
select all others by default. Actually I use this soft three days age and I
really don't know how to give a correct description of my question although
I read some documents in the website.
Thank you for your help, and also wait for your further help.
From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
Reply-To: cygwin at cygwin dot com
To: yi ru <ru_yi99 at hotmail dot com>
CC: cygwin at cygwin dot com
Subject: Re: Question: make, makefile and KVM in J2ME
Date: Thu, 27 Mar 2003 15:08:06 -0500 (EST)
On Thu, 27 Mar 2003, yi ru wrote:
> My question is different from the thread before in the mail list
> I am trying to run the make file for J2ME (Java 2 Micro Edition). When
> make file runs I get the following error:
> Recursively making ../../tools/preverifier/build/win32 all...
> make: Entering Directory
> make: *** [check_class.obj] Error 255
> make: leaving directory
> make: *** [all] Error 1
> Below is a listing of the make file:
> BUILDDIR=$(shell pwd)
> export PLATFORM
> SUBDIRS = \
> $(TOP)/tools/preverifier/build/win32 \
> $(TOP)/api \
> $(TOP)/samples \
> ifneq ($(ROMIZING), false)
> SUBDIRS += $(TOP)/tools/jcc
> 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" "$@"." ; \
> FORCE: ;
> Does anybody has experience on it. BWT, I have gcc available there. I
> been blocked here for two days
> Thanks in advance
At a guess, you're trying to build something Win32 specific under Cygwin,
and it doesn't like Cygwin tools (i.e., looks like there's a pre-compiled
object file that chokes gcc). There isn't nearly enough information in
your message to draw any useful conclusions. Please read
<http://cygwin.com/bugs.html> for more information.
|\ _,,,---,,_ pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html