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.
#TOP=../../../.. include $(TOP)/build/Makefile.inc
SRC_DIR = ../../src
OBJS = \
check_class.obj \
main.obj \
utf.obj \
check_code.obj \
convert_md.obj \
util.obj \
jar.obj \
jar_support.obj \
classloader.obj \
file.obj \
classresolver.obj \
stubs.obj \
inlinejsr.obj \
sys_support.objOTHER_FLAGS += \
-I$(SRC_DIR) \
-DWIN32 \
-DJAVAVERIFY \
-DTRIMMED \
-D$(ARCH) \
$(EXTRACFLAGS)ifeq ($(GCC), true) CC = gcc LD = gcc CFLAGS = -DWIN32 -DGCC -mno-cygwin -mcpu=i386 -Wall $(OTHER_FLAGS) LIBS= -luser32 -lkernel32 -lmsvcrt -lwsock32 CPPFLAGS += DEBUG_FLAG = LDFLAGS = -mno-cygwin
ifeq ($(DEBUG), true) DEBUG_FLAG = -g endif
OPTIMIZE_FLAG = -O2 OUTPUT = -o LINKER_OUTPUT = -o
else CC= cl LD= link CFLAGS= -DWIN32 -nologo $(OTHER_FLAGS) LIBS= user32.lib kernel32.lib wsock32.lib CPPFLAGS += DEBUG_FLAG = LDFLAGS =
ifeq ($(DEBUG), true) DEBUG_FLAG= -Zi -Od LDFLAGS += -debug endif
OPTIMIZE_FLAG= -Os -O1 OUTPUT = -Fo LINKER_OUTPUT = -out: endif
all: preverify.exe
preverify.exe: $(OBJS)
@$(LD) $(LDFLAGS) $(OBJS) $(LINKER_OUTPUT)$@ $(LIBS)%.obj: $(SRC_DIR)/%.c
@$(CC) $(CFLAGS) $(DEBUG_FLAG) -c $(OUTPUT)$@ $<clean:
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.
Eric
From: Igor Pechtchanski <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: yi ru <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] 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 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/'
> make[1]: *** [check_class.obj] Error 255
> make[1]: leaving directory
> '/cygdrive/d/j2me//j2me_cldc/tools/preverifier/build/win32/'
> make: *** [all] Error 1
>
> 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: ;
>
> Does anybody has experience on it. BWT, I have gcc available there. I have
> been blocked here for two days
>
> Thanks in advance
> Eric
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. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,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! -- /usr/games/fortune
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

