Thanks a lot for all your help, I got it working.
Quoting lua201068 <>:
> Hi Justin,
>
> comment out the following line in GNUmakefile
> USE_GCC2 ?= true
>
> Andreas
>
> --- In wrote:
>>
>> I tried it the 2 diffrent cross tools, the one use used and the most
>> recent one on the website: gcc-3.3.4-glibc-2.3.2 &
>> gcc-4.0.1-glibc-2.3.5(arm-unknown-linux-gnu)
>>
>> Using lua201068's build options I get this error with gcc-3.3.4
>> Linking ../../build/linux-arm-familiar/./bin/cvm
>> arm-linux-gcc: ../../build/linux-arm-familiar/./obj/_fixunsdfsi.o: No
>> such file or directory
>>
>> Using lua201068's build options with the other complier I get:
>> Linking ../../build/linux-arm-familiar/./bin/cvm
>>
> /opt/crosstool/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/lib/gcc/arm-unknown-linux-gnu/4.0.1/../../../../arm-unknown-linux-gnu/bin/ld:
> cannot find
>> -lfloat
>> collect2: ld returned 1 exit status
>>
>> Anyone have any thoughts?
>>
>>
>>
>>
>>
>> Quoting lua201068 <>:
>>
>> > These are my make options:
>> > make CVM_JIT=true CVM_TRACE_JIT=true J2ME_CLASSLIB=foundation
>> > CVM_DEBUG_CLASSINFO=true CVM_JAVAC_DEBUG=true
>> >
>> > I modified the GNUmakefile in linux-arm-familiar directory as follows:
>> >
>> > .....
>> > ....
>> > #
>> > # GNUmakefile for linux-arm-familiar platform
>> > #
>> > JDK_VERSION = jdk1.4.2
>> > JDK_HOME = /usr/java/j2sdk1.4.2_13
>> > CVM_TARGET_TOOLS_PREFIX =
>> >
> /usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-
>> >
>> > #
>> > # platform specific architecture flags
>> > #
>> > # NOTE: -msoft-float is enabled in linux-arm/defs.mk automatically if
>> > # CVM_FORCE_HARD_FLOAT is not true, which is the default.
>> > #
>> > ASM_ARCH_FLAGS = -mcpu=arm920t
>> > CC_ARCH_FLAGS = -mcpu=arm920t
>> > CC_ARCH_FLAGS_FDLIB =
>> > CC_ARCH_FLAGS_LOOP =
>> > LINK_ARCH_FLAGS =
>> > LINK_ARCH_LIBS =
>> > ....
>> > ...
>> >
>> > --- In justin@ wrote:
>> >>
>> >> Did you compile it as arm-linux-strongarm, arm-linux-thumb, or
>> >> arm-linux-generic. I am thinking it should be thumb, but I'm not
> 100%
>> >> and I don't have the test board. Guess and I could try them all and
>> >> see which one works.
>> >>
>> >> Thanks,
>> >> Justin
>> >>
>> >>
>> >> Quoting lua201068 <lua201068@>:
>> >>
>> >> > at first you must build the cvm and the class library for
> Linux/ARM:
>> >> > checkout the source with a svn client from
>> >> > https://phoneme.dev.java.net/svn/phoneme/components/cdc/trunk
>> >> > and
>> >> > https://phoneme.dev.java.net/svn/phoneme/components/tools/trunk
>> >> >
>> >> > I've crosscompiled it on a linux/x86 host (Suse 9.?).
>> >> >
>> >> > On success copy the bin and lib directory to ts7250 and call the
>> >> > HelloWorld application to see if it works:
>> >> > ./cvm -Djava.class.path=../testclasses.zip HelloWorld
>> >> >
>> >> > Read the "CDC Build System Guide" to get further information
>> >> > about the build process and the "CDC Runtime Guide" to see how to
>> >> > compile your java application with javac.
>> >> >
> https://phoneme.dev.java.net/content/mr2/phoneme_advanced_guide.html
>> >> >
>> >> > Also have a look at the PhoneMe Advanced Forum:
>> >> > http://forums.java.net/jive/forum.jspa?forumID=100
>> >> >
>> >> > Good luck
>> >> >
>> >> > Andreas
>> >> >
>> >> >
>> >> > --- In "ticrus00" <justin@> wrote:
>> >> >>
>> >> >> This is great, but how do you use it? Can you lead me to a
> tutorial
>> >> >> or guide that assumes you know nothing about phoneme? I read the
>> >> >> website, do they not have an environment separate from the build?
>> >> >> Compile java code and then run it on the tslinux board. I
> downloaded
>> >> >> this software but I can't figure it out. I read the getting
> started
>> >> >> guide, but it seemed more concerned about compiling it, didn't
> tell
>> >> >> me how to run it.
>> >> >>
>> >> >> I got j2me that was in the files section, finally running, and it
>> >> >> uses the command 'cvm HelloWorld'. I do I do this with
> phoneme? I
>> >> >> would prefer to use phoneme because it uses java1.4.2 instead of
>> >> >> 1.3.1. Sorry for all the questions I am new at this. Thanks
>> >> >>
>> >> >> Justin
>> >> >>
>> >> >>
>> >> >>
>> >> >> --- In "lua201068" <lua201068@> wrote:
>> >> >> >
>> >> >> > The CDC Implementation is a fully compliant, Java 2 virtual
> machine
>> >> >> > and supports JNI.
>> >> >> >
>> >> >>
>> > http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedCVMNati
>> >> >> veMethods
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --- In <cgraham@> wrote:
>> >> >> > >
>> >> >> > > I am a java developer so I am very excited by this, but
> clearly I
>> >> >> would
>> >> >> > > like to integrate with C also for all the system stuff.
> does JNI
>> >> >> all
>> >> >> > work
>> >> >> > > for j2ME?
>> >> >> > >
>> >> >> > > Clay
>> >> >> > >
>> >> >> > >
>> >> >> > > On July 12, 11:13 am "lua201068" <lua201068@> wrote:
>> >> >> > > > J2ME from Sun is now open source. Look at:
>> >> >> > > >
>> >> >>
>> > https://phoneme.dev.java.net/content/phoneme_platforms.html#phonemeadv
>> >> >> > > > anced
>> >> >> > > > I use this successfully on ts7250
>> >> >> > > >
>> >> >> > > > Andreas
>> >> >> > > >
>> >> >> > > >
>> >> >> > > >
>> >> >> > > > --- In "ticrus00" <justin@> wrote:
>> >> >> > > > >
>> >> >> > > > > I found j2se 1.3.1 here:
>> >> >> http://java.sun.com/products/archive/
>> >> >> > > > > I'm still looking for J2ME cdc 1.0.1. I don't have
> to use
>> >> >> j2me is
>> >> >> > > > > there a way to get jamvm or some other java working
> in TS-
>> >> >> linux.
>> >> >> > > > > Any help is much appreciated.
>> >> >> > > > >
>> >> >> > > > > Justin
>> >> >> > > > >
>> >> >> > > > >
>> >> >> > > > > --- In "ticrus00" <justin@>
> wrote:
>> >> >> > > > > >
>> >> >> > > > > > I downloaded the J2ME of the files section list on this
>> >> >> site. It
>> >> >> > > > > > worke great but I can't build any programs. It
> seems Sun
>> >> >> has
>> >> >> > > > > > taken down both J2SE 1.3.1 and J2ME CDC 1.0.1. Does
>> >> >> anyone know
>> >> >> > > > > > where I can find them? Or lead me to a newer port
> of J2ME
>> >> >> of
>> >> >> > > > > > the TS-7200?
>> >> >> > > > > > Thanks,
>> >> >> > > > > > Justin
>> >> >> > > > > >
>> >> >> > > > >
>> >> >> > > >
>> >> >> > >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|