Le 16 nov. 09 à 15:05, Jack Howarth a écrit :

> Djamé,
>   I assume that you are building gcc44 on i386 fink, correct?  
> Currently
> the gcc4x packages don't build a multilib for libjava in order to  
> reduce
> the build time. So you will have to use x86_64 fink in order to  
> obtain a
> gcj that generates 64-bit code on Intel darwin.
>   Keep in mind that there is an issue with FSF gcc that prevents  
> java files
> from being compiled with gcj...
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991
>
> that isn't resolved yet. You will want to install the ecj package and
> use that to compile the java files into class files which gcj appears
> to compile okay.
>            Jack
> ps I guess I could change gcc45 to build the full libjava multilib on
> i386 and x86_64 fink if folks don't object to the additional compile
> time.



Hi thanks for your answer,
so I guess that it means that the os x gcj port is not really usable  
as it  for java files ?

1)  how about compiling the C files produced by gcj  run on a linux  
machine (it's working just fine on mandriva x86_64)
2)  does it work for the class files (or compiling a jar ?)

about your ps : I think that it will be nice if gcj could behave the  
same way  regular os x gcc does :
for example being able to use -march i386 -march x86_64 -march ppc - 
march ppc64  with gcj  to generate universal binaries for example....

anyway, the compilation time is awfully long on my macbook pro (2008  
with 2gig of ram), do you know where I could get some precompiled  
packages ?



Best,


Djamé







------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to