gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] gcl using mingw


From: Camm Maguire
Subject: Re: [Gcl-devel] gcl using mingw
Date: 23 Jan 2002 17:36:38 -0500

Greetings!

address@hidden writes:

> I got gcl built using mingw.  Heres what it took:
> copy files from gmp/generic to gmp, as configure didnt do this.
> get a old copy of minglacks from a previous release.
> fix NULL_OR_ON_C_STACK macro.
> I will get the maxima cvs on my box and try to build.  Otherwise,

OK, I've tried committing this to CVS.  Please check and see if I've
done so correctly.  And if you can chase down the maxima build
problems in a bit more detail, would be helpful too.

Take care,

> I followed the directions in readme.mingw.  My environment is
> w2k, service pack 1.  The results of my test program which shows
> memory locations is:
> 
> $ ./a.exe
> address of i was 22ff5c e was 403000
> macro of i was 1 e was
> 0
> address of i was 22ff3c
> address of malloc was 3f2488
> 
> #define NULL_OR_ON_C_STACK(y) (((void *)(y)) < ((void *)0x400000))
> 
> int e;
> main()
> {
>    int i;
>    printf("address of i was %x e was %x\n",&i,&e);
>    printf("macro of i was %x e was
> %x\n",NULL_OR_ON_C_STACK(&i),NULL_OR_ON_C_STACK(&e));
>    x();
> }
> x()
> {
>    int i;
>    printf("address of i was %x\n",&i);
>    printf("address of malloc was %x\n",malloc(100));
> }
> 
> Notice that the address of malloc is below the address of the static area.
> Dan
> 
> _______________________________________________
> 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]