Nickolas Pohilets | 22 May 13:36 2012
Picon

Collecting patches

Hi Cyclone list,

Seems that lots people were experiencing problems with building
cyclone and were trying for fix them.

As far as I can see these patches are not included into official
repository. Is there any un-official repository containing all these
patches?

I've created my own - https://bitbucket.org/nickolas_pohilets/cyclone,
but I'm in the early beginning of my way through patching cyclone
sources.

Alexey Veselovsky | 27 Nov 15:48 2011
Picon

Rsource managment / raii

Is it possible tu use raii technics? Or there is another way in
cyclone to prevent resource (not memory) leaks?

Alexey Veselovsky | 26 Nov 17:52 2011
Picon

cyclone debian build.

Hi.

Now I'm trying to build cyclone on linux debian stable.

On debian squeeze 64 there is error on configure:

ERROR: cannot build because sizeof(long) == 8 != 4

cyclone doesn't support AMD64?

On debian squeeze 32 thire are errors on build:

********************************* trace.h...
trace.iA:1:19: error: trace.h: No such file or directory
********************************* ucontext.h...
********************************* ulimit.h...
********************************* unistd.h...
********************************* utime.h...
********************************* utmpx.h...
********************************* wchar.h...
********************************* wctype.h...
********************************* wordexp.h...
/root/cyclone/bin/cyclone  -c -Ibuild/i686-pc-linux-gnu/include
-Iinclude -Ilib/xml -B/root/cyclone/bin/lib/cyc-lib  -O -o
build/i686-pc-linux-gnu/include/cycstubs.o
build/i686-pc-linux-gnu/include/cycstubs.cyc

build/i686-pc-linux-gnu/include/sys/syslog.h:137: parse error (found
parg_t instead)
build/i686-pc-linux-gnu/include/sys/syslog.h:138: missing declarator
(Continue reading)

Alexey Veselovsky | 26 Nov 14:03 2011
Picon

cyclone build on MacOS X 10.6

Hello. I'm trying to build cyclone on MacOS X 10.6, but there is error
during configure:

$ ./configure
checking build system type... i386-apple-darwin10.8.0
checking host system type... i386-apple-darwin10.8.0
checking target system type... i386-apple-darwin10.8.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for char... no
(Continue reading)

Alexander Belchenko | 23 Feb 09:20 2011
Picon

cyclone sources

The page http://cyclone.thelanguage.org/wiki/Download suggests that if I 
want to build Cyclone with gcc 4 I need the sources. AT the bottom of 
the page there is svn link:

svn --username anonymous co https://source.seas.harvard.edu/svn/cyclone

But this link is not quite correct as I can see, because svn tries to 
checkout all branches, tags and kitchen sink (1.6GB overall size).

Looking closer into cyclone/trunk I see there are following subdirectories:

CVSROOT/  cyclone-0.9/  htt/         intersections/  nsf2005/  ynot/
cyclone/  hoarelogic/   httregions/  nicecap/        talc/

Based on the names I think the sources are actually in the cyclone 
subfolder.

So the correct svn link to checkout sources should be

https://source.seas.harvard.edu/svn/cyclone/trunk/cyclone

Is it correct assumption? Am I missing something?

Alexander

Pippijn van Steenhoven | 13 Feb 04:26 2011
Picon

Boxed kinds

Hi Cyclone list,

I've been trying to figure out where the logic that causes the following
message:

  testaqualsuccess.cyc:308: Capability 
  `GE58+`GE57+`use_assert+`C+`H
  does not cover function's effect
  regions(`EB424)+`H

to be emitted for code like this:

  `a myassert(int a);
  void use_assert() {
    short s = myassert(0);
  }

I can see where the message is emitted, but I can't find where the kind
is assigned to `a. I found that the switch case 'IntCon' in
Tcutil::type_kind is somehow responsible for it.

What I am trying to do is to have a stricter type checking for systems
where sizeof(int) != sizeof(void*) (such as amd64). Right now, when I
exclude Int_sz from the box kinds, an empty call to myassert already
fails with the same message as above. For some reason, the compiler seems
to assume an int context instead of a void context.

I have tried to find out where the kind is assigned, but I didn't find it
after a few hours, so maybe another cyclone developer knows where to
look.
(Continue reading)

Nikhil Swamy | 9 Dec 18:40 2010
Picon

Build on Win7, Cygwin + gcc-4.3.4?

Has anyone been able to build Cyclone on Windows 7 with Cygwin and 
gcc-4.3.4? I just tried and get a seg fault when building cycstubs.cyc. 
Any tips?

Thanks,
Nik

Pippijn van Steenhoven | 8 Dec 05:34 2010
Picon

Link checker

Hi,

I just did the following test to try out the link checker:

  // a.cyc:
  int elt5 (int ?a) { return a[5]; }

  // b.cyc:
  int elt5 (int *a);
  int main () {
    return elt5 (new { for i < 10: i });
  }

This example should theoretically make the link checker complain that
elt5 was defined differently than it was declared in b.cyc. However, it
doesn't even get to the point where it can start checking. I call cyclone
as follows:

  cyclone --geninterface -ic -c a.cyc
  cyclone --geninterface -ic -c b.cyc

After the first line, I get the following error message:

  a.cyci:1: parse error (found a instead)
  a.cyci:1: bad namespace in Interface::add_namespace
  a.cyci:1: bad namespace in Interface::add_namespace

  COMPILATION FAILED!

and indeed, a.cyci does look a little strange:
(Continue reading)

Pippijn van Steenhoven | 7 Dec 05:55 2010
Picon

Banshee

Hi,

has anybody ever got banshee to do anything useful? I would like to see
an example using --inf and --resolve. Also, how to use generated
interface files (--geninterface) and the link checker (-ic)?

-- 
Pippijn van Steenhoven
Hi,

has anybody ever got banshee to do anything useful? I would like to see
an example using --inf and --resolve. Also, how to use generated
interface files (--geninterface) and the link checker (-ic)?

--

-- 
Pippijn van Steenhoven
Jonathan S. Shapiro | 6 Dec 23:05 2010

Trying to compile

I'm trying to bring up cyclone on 32-bit Fedora 14. I'm hitting a recurring diagnostic:

  Error reading spec file /home/shap/cyclone/trunk/cyclone/bin/lib/cyc-lib/i686-pc-linux-gnu/cycspecs: value of cpp too long

and other places where "value of cpp too long" is emerging. I speculate that this is a fixed-length string somewhere that needs to be lengthened. Advice?

If I get it running, I'll send a patch.

<div><p>I'm trying to bring up cyclone on 32-bit Fedora 14. I'm hitting a recurring diagnostic:<br><br>&nbsp; Error reading spec file /home/shap/cyclone/trunk/cyclone/bin/lib/cyc-lib/i686-pc-linux-gnu/cycspecs: value of cpp too long<br><br>and other places where "value of cpp too long" is emerging. I speculate that this is a fixed-length string somewhere that needs to be lengthened. Advice?<br><br>If I get it running, I'll send a patch.<br></p></div>
Permjacov Evgeniy | 2 Dec 16:45 2009
Picon

Language Status

Hello!
I am searching a good language in place of c for low-level stuff.
Yesterday I found cyclone project but it's mailing list is pretty like
dead... Yet, the site is no. So, the question is what is status of
project: is it dead or alive and does any other impelementation exist?


Gmane