This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What is the current ARM status w/crosstool-0.38


Craig,

Once upon a time (on Mardi 02 Août 2005 19:22), Craig A. Vanderborgh wrote :
 > I would like to ask - what is the status of ARM hosted on x86linux?   Do 
 > the binutils, C, and C++ compilers build and work correctly?  What about 
 > gcj and libgcj (or classpath or whatever they call it now)??
 > Please advise.  We have a rather "custom" crosstool build with lots of 
 > patches and fixes to libgcj in particular.  If GCJ is finally supported 
 > with crosstool on ARM we'd like to abandon our special build.

For what it's worth, I built armv5b and armv5l toolchains with java enabled.
So far, no problem arose whith the build. I have not yet gotten to trying it
(as I'm not fond of Java, and even quite a newbie there), but it's on my TODO.

I used crosstool 0.37 for that, whith the following utils:
binutils-1.15.91.2
gcc-3.4.3 (core & final)
glibc-2.3.5 or uClibc-20050720

In fact, there is a little glitch when gcjh is installed: the name was
mis-formed because I used a program prefix other than $TARGET, but it is
fixed in later versions of gcc (at least in 3.4.4, no clue about 4.x) and
does not happen when no program prefix is specified (which defaults to
$TARGET).

Attached is the patch I used in case you want to change the prefix (put it
in patches/gcc-3.4.3).

HTH,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °---.----------------:  X  AGAINST      |  /e\  There is no  |
| web: ymorin.free.fr | SETI@home 3808 | / \ HTML MAIL    |  """  conspiracy.  |
°---------------------°----------------°------------------°--------------------°
diff -dur gcc-3.4.3.orig/gcc/java/Make-lang.in gcc-3.4.3/gcc/java/Make-lang.in
--- gcc-3.4.3.orig/gcc/java/Make-lang.in	2004-04-14 21:45:18.000000000 +0200
+++ gcc-3.4.3/gcc/java/Make-lang.in	2005-06-01 10:30:41.000000000 +0200
@@ -207,7 +207,9 @@
 	    rm -f $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
 	    $(INSTALL_PROGRAM) $$tool$(exeext) $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
 	    chmod a+x $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
-	    if [ $$tool = gcjh ]; then \
+	    if [ -f $(GCJ)-cross$(exeext) ]; then \
+	      true; \
+	    elif [ $$tool = gcjh ]; then \
 	      rm -f $(DESTDIR)$(bindir)/$(GCJH_TARGET_INSTALL_NAME)$(exeext); \
 	      ( cd $(DESTDIR)$(bindir) && \
 	        $(LN) $$tool_transformed_name$(exeext) $(GCJH_TARGET_INSTALL_NAME)$(exeext) ); \

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]