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: 18 Jan 2002 18:33:01 -0500

Great!  Thanks for setting up this test situation.  Please let us know
how the maxima build goes.  One would have thought that it at least
worked at one time, given the mingw documentation in the tree.

Take care,

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,
> 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]