This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [Mingw-users] Re: Building gcc-3.4.2-20040916-1 probjems and libjava dep problems
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: java at gcc dot gnu dot org
- Cc: mingw-users at lists dot sourceforge dot net
- Date: Sat, 12 Mar 2005 08:18:47 +0530
- Subject: Re: [Mingw-users] Re: Building gcc-3.4.2-20040916-1 probjems and libjava dep problems
- References: <422CBC57.8010703@netfuel.com> <422F1EA4.6020808@netfuel.com> <BAY16-DAV81150DDB873B6886F6C0B8A530@phx.gbl> <4231B61D.2070700@netfuel.com>
Steve Pribyl wrote:
> Is it possible to build libjava natively?
>
> The release notes imply that this can be done. Even the gcj -v implies this.
"native" here means that the compiler runs on
Windows and creates executables for Windows,
without needing Cygwin. In configury terms,
this implies that "host=target=mingw32".
The "build" can be anything else, including
Cygwin or Linux, depending on what's convenient
for you. See this page for more details on these
terms:
http://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html
In fact, I used to create a native GCJ for Windows
on Linux in a two-step process and the process was still
*far faster* and simpler than attempting to do everything
on Windows:
http://ranjitmathew.hostingzero.com/phartz/gcj/bldgcj.html
That document is a bit dated, but most of it still remains
valid.
HTH,
Ranjit.
> Steve
>
> Ranjit Mathew wrote:
> > Steve Pribyl wrote:
> >
> >>The build is failing while building depenancies for libjava. It looks like some
> >>are deps build fine but others do not.
> >>
> >>Has anyone seen this before? What am I missing?
> >
> >
> > [...]
> >
> >
> >>Administrator@SBUILDER /h/vmware/mingw/source/mingw-obj
> >>$ uname -a
> >>MINGW32_NT-5.0 SBUILDER 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown
> >
> >
> > You're using MSYS which is known to have problems
> > with building libjava.
> >
> > Try using a recent Cygwin (be sure to specify host and
> > target to be mingw32 or i686-pc-mingw32). The best
> > option would be to use Linux.
> >
> > Ranjit.
> >
>
>
> Luke Dunstan wrote:
>
>>----- Original Message -----
>>From: "Steve Pribyl" <steve@netfuel.com>
>>To: "Steve Pribyl" <steve@netfuel.com>
>>Cc: <mingw-users@lists.sourceforge.net>
>>Sent: Thursday, March 10, 2005 12:04 AM
>>Subject: [Mingw-users] Re: Building gcc-3.4.2-20040916-1 probjems
>>
>>
>>
>>
>>>I did not get any responces on this.
>>>
>>>Did I not ask a valid question. Is there more information I need to
>>
>>provide.
>>
>>
>>>Thanks
>>
>>
>>More likely it is because nobody knows the solution. Since it seems to be
>>specific to Java, you might have more luck asking on one of the GCC mailing
>>lists.
>>
>>Luke
>>
>>
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/