gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] Re: NetBSD/sparc port?


From: Camm Maguire
Subject: Re: [Gcl-devel] Re: NetBSD/sparc port?
Date: 05 Sep 2003 18:27:54 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!

Basically this is just a means to get the wordsize on the machine.

#define ELFW(a) Mjoin(ELF,Mjoin(__ELF_NATIVE_CLASS,Mjoin(_,a)))

is supposed to exapand to ELF32a or ELF64a.  You can just define a
constant for the machine your using as a first start.

How do we get GCL taken up by the BSD distros?  Is there any mechanism
for systematizing these builds (i.e. 3Bsd x i386,sparc,...)

Take care,

Dan Debertin <address@hidden> writes:

> Camm Maguire <address@hidden> writes:
> 
> > Greetings!  Should be quite easy.  As a first step, copy whatever .h
> > and .defs files in the h/ subdir you feel are close to h/test.h and
> > h/test.defs.  Then ./configure --enable-machine=test ....  Please let
> > us know how it goes.  
> 
> It's coming along. I decided to do a NetBSD-i386 port first; the current
> h/NetBSD.{h,defs} are outdated by several years. The FreeBSD versions
> seem to be current, though, so I was able to re-use most of that with
> some minor changes.
> 
> My current puzzle is this:
> 
> gmake[1]: Entering directory `/home/daniel/software/gcl.i386/unixport'
> gcc -m486 -fwritable-strings -DVOL=volatile -I./h -I./o -fsigned-char -Wall 
> -DVOL=volatile -fsigned-char -fwritable-strings -pipe -O3 
> -fomit-frame-pointer -I/home/daniel/software/gcl.i386/o -I../h -I../o -o rsym 
> rsym.c
> In file included from rsym.c:18:
> rsym_elf.c: In function `output_externals':
> rsym_elf.c:241: warning: implicit declaration of function 
> `ELF__ELF_NATIVE_CLASS_ST_BIND'
> /var/tmp/ccmzkViW.o: In function `output_externals':
> /var/tmp/ccmzkViW.o(.text+0x655): undefined reference to 
> `ELF__ELF_NATIVE_CLASS_ST_BIND'
> /var/tmp/ccmzkViW.o(.text+0x66a): undefined reference to 
> `ELF__ELF_NATIVE_CLASS_ST_BIND'
> gmake[1]: *** [rsym] Error 1
> gmake[1]: Leaving directory `/home/daniel/software/gcl.i386/unixport'
> gmake: *** [unixport/saved_gcl] Error 2
> 
> The ELF stuff is way beyond me. Ideas?
> 
> > Do you feel this combo is common enough to qualify as a supported
> > port?
> 
> NetBSD/sparc (which I will start as soon as I have i386 working) is
> probably the 2nd or 3rd most popular NetBSD port after i386 itself.
> 
> > Are you interested in helping?
> 
> Certainly, though some of the low-level stuff (like the above) is
> beyond me.
> 
> Dan
> --
> /^Dan Debertin$/         | 
> address@hidden  | 
> www.nodewarrior.org      | 
> 
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

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