simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] OSX compilation


From: Bill
Subject: Re: [Simulavr-devel] OSX compilation
Date: Thu, 05 May 2005 07:32:45 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050430

Thanks.

The config.h macro WORDS_BIGENDIAN should be used, I think, to handle
the difference in code.

Please do:
cvs update configure.ac

Then run ./bootstrap and configure again....I you should see
AC_C_BIGENDIAN added to configure.ac..this is what I see in src/config.h
on my intel(little-endian) box:

/* Define to 1 if your processor stores words with the most significant byte
   first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */

If you can confirm this works(i.e. you see #define WORDS_BIGENDIAN 1),
I'll see that it(i.e. including your patch in proper conditionals if
needed) is handled in CVS. (or Klaus will, we'll work that detail out)

I'll take a look at your patch. This has been a drawn out process I
know. Thank you for your effors Jakob.

Thanks,

Bill

Jakob Schwendner wrote:

>Hey guys,
>
>finally I got everything working fine. 
>In my first try I did the endianess swap in the wrong place. 
>I've done a diff to the current CVS that compiles fine on my 10.3.9 OSX.
>There seemed to be a small change in the binutils (2.15-1) as well. I
>haven't really tried to do the config changes very variable as I don't
>know that much about autoconf and the like.
>In the docs it says something about a printf style debug facility. How
>can I get that to work?
>Anyway, here is the patch.
>  
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]