Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - omalloc
Author Message
  Post subject:  omalloc under Wibdows  Reply with quote
It seems that this problems no more persists in newer versions of cygwin (say, starting with the second half of 2004).

One can compile omalloc with malloc=system as well as in its native mode.

Best regards,
Post Posted: Thu Aug 11, 2005 9:01 pm
  Post subject:  Re: omalloc (windows)  Reply with quote
Quote:
> Hello.


Hi,

Quote:
> I was not able to compile omalloc library under cygwin.
> Some problems with sbrk:
>
> In file included from omAllocEmulate.c:10:
> omMalloc.h:851: conflicting types for `sbrk
> /usr/include/sys/unistd.h:77: previous declaration of `sbrk
> make: *** [omAllocEmulate.o] Error 1
>
> And some problems with types like BOOL.
> Does anybody know how to do it?


Sure. You should run top-level Singular configure (or configure.win if such exists) with the option --with-malloc=system. Otherwise this may not work. If you have more problems, just let us know.

Why do you need to compile Singular under cygwin
yourself? We do have the Win/cygwin version.

Quote:
> Thanks.


Regards,
Post Posted: Thu Aug 11, 2005 8:59 pm
  Post subject:  omalloc  Reply with quote
Hello.
I was not able to compile omalloc library under cygwin.
Some problems with sbrk:

In file included from omAllocEmulate.c:10:
omMalloc.h:851: conflicting types for `sbrk
/usr/include/sys/unistd.h:77: previous declaration of `sbrk
make: *** [omAllocEmulate.o] Error 1

And some problems with types like BOOL.
Does anybody know how to do it?
Thanks.

email: [email protected]
Posted in old Singular Forum on: 2001-07-15 00:06:40+02
Post Posted: Thu Aug 11, 2005 5:31 pm


It is currently Fri May 13, 2022 10:57 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group