Re: Re: DotGnu on OS/X

Alan West <alan-P7ld/[email protected]> Thu, 5 May 2005 04:25:54 +0100
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
On 5 May 2005, at 00:39, Alan West wrote:
>
> Just had a quick look myself. If installing from pnet-0.6.12.dmg  
> then XsharpSupport.dylib hasn't been built. Maybe --enable-shared  
> is the config option. I'm not doing anything right now so I'll have  
> a play.
>

Sorry about the reply-all earlier, I've played, both versions (cvs  
and 0.6.12) build and seem to work, I'm running Mac OS X 10.4, though  
switched to using gcc-3.3 as gcc-4 produced an error.

Screenshot: http://www.zen15457.zen.co.uk/screenshots/

I had to set MACOSX_DEPLOYMENT_TARGET=10.3 otherwise build failed.

The particular configure options not mentioned on the website (only a  
quick look) are: --enable-shared --with-x

I built both as though they would be installed from an installer  
package:

/Library/Frameworks/pnet.framework/Versions/0.6.12.1
/Library/Frameworks/pnet.framework/Versions/0.6.13.20050505

I guess I could make installer packages if they would be useful.

Problem building with gcc-4.0:

gcc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION= 
\"6.3alpha6\" "-DPACKAGE_STRING=\"gc 6.3alpha6\"" -DPACKAGE_BUGREPORT= 
\"[email protected]\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=3 - 
DGC_ALPHA_VERSION=6 -DPACKAGE=\"gc\" -DVERSION=\"6.3alpha6\" - 
DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 - 
DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - 
DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 - 
DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - 
DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 - 
DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 - 
DATOMIC_UNCOLLECTABLE=1 -I.././libgc/include -fexceptions -g -O2 - 
fexceptions -c os_dep.c -MT os_dep.lo -MD -MP -MF .deps/os_dep.TPlo  - 
fno-common -DPIC -o .libs/os_dep.o
os_dep.c:3410: error: static declaration of 'GC_task_self' follows  
non-static declaration
os_dep.c:2215: error: previous declaration of 'GC_task_self' was here
os_dep.c: In function 'GC_forward_exception':
os_dep.c:3751: warning: pointer targets in passing argument 3 of  
'thread_get_state' differ in signedness
os_dep.c:3763: warning: pointer targets in passing argument 8 of  
'exception_raise_state' differ in signedness
os_dep.c:3763: warning: pointer targets in passing argument 10 of  
'exception_raise_state' differ in signedness
os_dep.c:3768: warning: pointer targets in passing argument 8 of  
'exception_raise_state_identity' differ in signedness
os_dep.c:3768: warning: pointer targets in passing argument 10 of  
'exception_raise_state_identity' differ in signedness
os_dep.c:3777: warning: pointer targets in passing argument 3 of  
'thread_set_state' differ in signedness
make[3]: *** [os_dep.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [libgc-all-local] Error 2
make: *** [all-recursive] Error 1