On Mar 15, 2010, at 3:12 PM, Borut Razem wrote:
>>>> I'm working with 2.9.7, one of the source snapshots from a few
>>>> days ago, 20100313-5734.
>>>>
>>>> The first thing that breaks is the automatic inclusion of -Wall
>>>> (which is GCC-specific) in CFLAGS.
>>>>
>>>> Next comes this line in src/pic/ralloc.c:
>>>>
>>>> #define FENTRY2 1 ? (void)0 : printf
>>>>
>>>> I removed the void cast; that allowed it to compile.
>>>>
>>> This should not be a problem. I'll try it on gcc without the
>>> cast. We
>>> can still use #ifdef SOLARIS or something. Can you tell me which is
>>> the
>>> most appropriate preprocessor symbol defined by the Sun Studio 12
>>> compiler?
>>>
>>
>> Yes, I usually check for "defined(sun) && defined(__SVR4)".
>
> This defines the OS. Probably this symbols are defined for gcc too. I
> think we need something the defines the compiler.
OH! Oh oh oh, yes, of course...I'm being stupid today, I'm
sorry. For that you can use "__SUNPRO_C" for C and "__SUNPRO_CC" for
C++.
>> It can; the option for this is "-xM".
>
> So -MM should be replaced with -xM in case of Sun Studio 12 compiler.
I've not tried it, but yes, my guess is that'd work.
>>> If we'll solve all the problems, can your machine be used for
>>> nightly
>>> snapshot builds?
>>
>> Yes. We actually talked about this a couple of years ago, then I
>> got busy and couldn't do it on my end. Maybe we can do it now.
>
> Yes, I remember, that's why I'm asking ;-)
;)
>> I understand. I can probably help with this; I've just set up a
>> large VMware host machine here since I now need to support some
>> consulting clients running VMware. It runs full-time, and it is WAY
>> overpowered for my immediate needs (two SCO virtual machines). I can
>> easily spin up a few more VMs on it and get you Solaris/x86, NetBSD/
>> i386 and possibly FreeBSD, if it runs nicely under VMware (which it
>> probably does).
>
> I suppose now you are talking about VMs on x86 host?
In this context, yes. I can provide access to an UltraSPARC
machine as well. I'm sorry my last message was a bit disjoint; I was
doing too many things at once.
I've just downloaded a FreeBSD v8.0 ISO image and am in the
process of installing it in a new VM; it looks like it runs fine so
far, so we'll be able to do that too.
>> Do you have a shell script or something set up to pull from svn
>> and do a build? If so, and if it were self-contained and relatively
>> portable, it'd make this very easy to set up.
>
> Everything is in the svn, see directories sdcc-build (build
> scripts) and
> sdcc-cf (distributed compile farm scripts). The setup is not trivial.
> The easiest way is to create an sdcc-builder account and give me ssh
> access, so that configure the build process. This is how we have
> done it
> on cf-x86 (Linux amd64) and mirror-doors (Mac OS X ppc) snapshot build
> machines. We can discuss abut this on a private channel...
Ok.
>>> Is Solaris on sparc or x86?
>>
>> This is on UltraSPARC, as that's my primary platform here, as well
>> as that of my employer, so I have plenty of capacity available.
>
> Great, since UltraSPARC is a big-endian machine!
Yup.
I'll catch up with you further in private mail.
-Dave
>
--
Dave McGuire
Port Charlotte, FL
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user