Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » gcj: installation problem, cannot exec `cc1'
gcj: installation problem, cannot exec `cc1' [message #446552] Fri, 26 November 2004 08:47 Go to next message
Eclipse UserFriend
Originally posted by: melko.gmx.at

Hallo!

Does anyone know what this message is?! I have gcj builder installed on
eclipse and want to make an exe-file but i get this message?!

gcj: installation problem, cannot exec `cc1': No such file or directory

I don't konw what does it mean! Should I install again?

Thank you for your help!
Re: gcj: installation problem, cannot exec `cc1' [message #446555 is a reply to message #446552] Fri, 26 November 2004 11:42 Go to previous messageGo to next message
Radu is currently offline RaduFriend
Messages: 44
Registered: July 2009
Member
please use http://thisiscool.com/gcc_mingw.htm#gcj34 on windows.
download the gcc34-20040607.tar.bz2 archive, unpack with winrar the
"thisiscool-gcc" folder somewhere on your hard drive say c:

now, edit c:\thisiscool-gcc\settop.bat and replace all paths with your
install dir

after that pls update your paths by:

Right click on My computer> Advanced> Environment Variables (last button
on winxp)

Edit "Path" variable and add

" ;c:\thisiscool-gcc\gcc-3.4\bin;c:\thisiscool-gcc\gcc-3.4\i68 6-pc-mingw32\bin "

to the end of it.

now you'll have a proper installation.

cheers
Radu





melko wrote:
> Hallo!
>
> Does anyone know what this message is?! I have gcj builder installed on
> eclipse and want to make an exe-file but i get this message?!
>
> gcj: installation problem, cannot exec `cc1': No such file or directory
>
> I don't konw what does it mean! Should I install again?
> Thank you for your help!
>
gcj for MacOS X planned ? was (Re: gcj: installation problem, cannot exec `cc1') [message #446581 is a reply to message #446555] Fri, 26 November 2004 19:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thoraval.yvon.free.fr

Radu Racariu <rracaru@k.ro> wrote:

> please use http://thisiscool.com/gcc_mingw.htm#gcj34 on windows.
A question about gcj is this compiler planned to work on MacOS X
platform ?
Re: gcj for MacOS X planned ? was (Re: gcj: installation problem, cannot exec `cc1') [message #446583 is a reply to message #446581] Sat, 27 November 2004 00:46 Go to previous messageGo to next message
Brion Vibber is currently offline Brion VibberFriend
Messages: 21
Registered: July 2009
Junior Member
Yvon Thoraval wrote:
> Radu Racariu <rracaru@k.ro> wrote:
>>please use http://thisiscool.com/gcc_mingw.htm#gcj34 on windows.
>
> A question about gcj is this compiler planned to work on MacOS X
> platform ?

GCJ is part of the GNU Compiler Collection, and runs fine on Mac OS X.
At least so far, Apple's developer tools don't include GCJ but you can
install it yourself.

Here's a howto guide:
http://users.bestweb.net/~john3g/gcj_osx/gcj_on_osx.html

(I haven't tried it myself for anything non-trivial; on Mac OS X there's
a Java VM shipped standard with the system, so I haven't seen much need
for it.)

-- brion vibber (brion @ pobox.com)
Re: gcj for MacOS X planned ? was (Re: gcj: installation problem, cannot exec `cc1') [message #446585 is a reply to message #446583] Sat, 27 November 2004 02:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thoraval.yvon.free.fr

Brion Vibber <brion@pobox.com> wrote:

> Here's a howto guide:
> http://users.bestweb.net/~john3g/gcj_osx/gcj_on_osx.html
>
> (I haven't tried it myself for anything non-trivial; on Mac OS X there's
> a Java VM shipped standard with the system, so I haven't seen much need
> for it.)

Thanks for that tip, did u means their is no cross-compiler in order tu
build, on MacOS X, native code for other platforms ?
Re: gcj for MacOS X planned ? was (Re: gcj: installation problem, cannot exec `cc1') [message #446604 is a reply to message #446585] Sun, 28 November 2004 04:25 Go to previous messageGo to next message
Brion Vibber is currently offline Brion VibberFriend
Messages: 21
Registered: July 2009
Junior Member
Yvon Thoraval wrote:
> Brion Vibber <brion@pobox.com> wrote:
>>(I haven't tried it myself for anything non-trivial; on Mac OS X there's
>>a Java VM shipped standard with the system, so I haven't seen much need
>>for it.)
>
> Thanks for that tip, did u means their is no cross-compiler in order tu
> build, on MacOS X, native code for other platforms ?

No, I meant that I don't see much point to compiling Java to native code
for the Mac OS X target.

The primary appeal of GCJ seems to be to avoid a dependency on Sun's
proprietary Java run-time (it's often not preinstalled on Linux and
Windows systems so it creates a distribution dependency; also some
people object to requiring non-free software on a free platform like
GNU/Linux.) Since Apple ships the Java run-time as part of the system
(which includes various other non-free components already), there are no
Mac OS X systems that don't already have a Java run-time installed. (The
same is probably not true of a bare Darwin system, but that's not going
to come up very often.)

If you want to cross-compile to other targets from Mac OS X, that
probably works fine just as it would from any other supported platform.
(But I haven't tried it.)

-- brion vibber (brion @ pobox.com)
Re: gcj for MacOS X planned ? was (Re: gcj: installation problem, cannot exec `cc1') [message #446609 is a reply to message #446604] Mon, 29 November 2004 09:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thoraval.yvon.free.fr

Brion Vibber <brion@pobox.com> wrote:

>
> If you want to cross-compile to other targets from Mac OS X, that
> probably works fine just as it would from any other supported platform.
> (But I haven't tried it.)

Cristal clear, thanks for ur reply.
unfortunately gcj doesn't apply to gui (awt at least) right now...
Re: gcj for MacOS X planned ? was (Re: gcj: installation problem, cannot exec `cc1') [message #446614 is a reply to message #446609] Mon, 29 November 2004 15:01 Go to previous messageGo to next message
David Goodenough is currently offline David GoodenoughFriend
Messages: 157
Registered: July 2009
Senior Member
Yvon Thoraval wrote:

> Brion Vibber <brion@pobox.com> wrote:
>
>>
>> If you want to cross-compile to other targets from Mac OS X, that
>> probably works fine just as it would from any other supported platform.
>> (But I haven't tried it.)
>
> Cristal clear, thanks for ur reply.
> unfortunately gcj doesn't apply to gui (awt at least) right now...

Well I think you may be wrong there. On my Debian (sid) install I have
libgcj4-awt and libgcj5-awt, both are results of the classpath project.
It may not be 100% complete, but the basics are there and I am sure they
would like to hear about any problems.

David
Re: gcj for MacOS X planned ? was (Re: gcj: installation problem, cannot exec `cc1') [message #446637 is a reply to message #446614] Tue, 30 November 2004 14:07 Go to previous message
Eclipse UserFriend
Originally posted by: thoraval.yvon.free.fr

David Goodenough <david.goodenough@btconnect.com> wrote:

>
> Well I think you may be wrong there. On my Debian (sid) install I have
> libgcj4-awt and libgcj5-awt, both are results of the classpath project.
> It may not be 100% complete, but the basics are there and I am sure they
> would like to hear about any problems.

May be this is because i'm speaking abour the MacOS X version ?
I got and installed :
gcc-core-3.4.3.tar
gcc-g++-3.4.3.tar
gcc-java-3.4.3.tar
Previous Topic:Composit.pack() vs Shell.layout()
Next Topic:How to set width of Combo or Text to match its TextLimit
Goto Forum:
  


Current Time: Fri Mar 29 02:19:55 GMT 2024

Powered by FUDForum. Page generated in 0.02596 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top