Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Creating Small C Routine
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Steve  
View profile  
 More options Jun 7 2012, 2:36 pm
Newsgroups: comp.lang.scheme
From: Steve <solitary.wandere...@gmail.com>
Date: Thu, 7 Jun 2012 11:36:08 -0700 (PDT)
Local: Thurs, Jun 7 2012 2:36 pm
Subject: Creating Small C Routine
'm looking for a lisp/scheme which can:
1) Output C code for the application
2) Can trim unused part (tree shake?) of the compiler/interpreter
which is not needed by the app itself.

I know Gambit-C can do something similar, but it seems a manual
process where the user specifies which parts of the kernel to keep.

Thanks, Steve


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffrey Mark Siskind  
View profile  
 More options Jun 8 2012, 12:37 pm
Newsgroups: comp.lang.scheme
From: Jeffrey Mark Siskind <q...@purdue.edu>
Date: Fri, 8 Jun 2012 09:37:50 -0700 (PDT)
Local: Fri, Jun 8 2012 12:37 pm
Subject: Re: Creating Small C Routine
On Jun 7, 2:36 pm, Steve <solitary.wandere...@gmail.com> wrote:

> 'm looking for a lisp/scheme which can:
> 1) Output C code for the application
> 2) Can trim unused part (tree shake?) of the compiler/interpreter
> which is not needed by the app itself.

> I know Gambit-C can do something similar, but it seems a manual
> process where the user specifies which parts of the kernel to keep.

> Thanks, Steve

stalin

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Graham  
View profile  
 More options Jun 8 2012, 1:13 pm
Newsgroups: comp.lang.scheme
From: Steve Graham <jsgraha...@yahoo.com>
Date: Fri, 08 Jun 2012 11:13:23 -0600
Local: Fri, Jun 8 2012 1:13 pm
Subject: Re: Creating Small C Routine

Jeffrey Mark Siskind wrote:
> On Jun 7, 2:36 pm, Steve <solitary.wandere...@gmail.com> wrote:
>> 'm looking for a lisp/scheme which can:
>> 1) Output C code for the application
>> 2) Can trim unused part (tree shake?) of the compiler/interpreter
>> which is not needed by the app itself.

>> I know Gambit-C can do something similar, but it seems a manual
>> process where the user specifies which parts of the kernel to keep.

>> Thanks, Steve

> stalin

Thanks, Jeffrey.

How does one go about trimming functions not needed by the application?

Steve


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffrey Mark Siskind  
View profile  
 More options Jun 8 2012, 3:59 pm
Newsgroups: comp.lang.scheme
From: Jeffrey Mark Siskind <q...@purdue.edu>
Date: Fri, 8 Jun 2012 12:59:27 -0700 (PDT)
Local: Fri, Jun 8 2012 3:59 pm
Subject: Re: Creating Small C Routine
On Jun 8, 1:13 pm, Steve Graham <jsgraha...@yahoo.com> wrote:

its automatic. and not optional. the compiler is hardwired to always
do it.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Graham  
View profile  
 More options Jun 8 2012, 4:02 pm
Newsgroups: comp.lang.scheme
From: Steve Graham <jsgraha...@yahoo.com>
Date: Fri, 08 Jun 2012 14:02:42 -0600
Local: Fri, Jun 8 2012 4:02 pm
Subject: Re: Creating Small C Routine

Does it produce C program as an intermediate step?

Steve


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffrey Mark Siskind  
View profile  
 More options Jun 9 2012, 6:39 pm
Newsgroups: comp.lang.scheme
From: Jeffrey Mark Siskind <q...@purdue.edu>
Date: Sat, 9 Jun 2012 15:39:41 -0700 (PDT)
Local: Sat, Jun 9 2012 6:39 pm
Subject: Re: Creating Small C Routine
On Jun 8, 4:02 pm, Steve Graham <jsgraha...@yahoo.com> wrote:

Yes. It produces a single C file that only links against -lc, -lm, and
-lgc.
-lm and -lgc are not necessary if they are not used. It can, of
course, link to
other things called through the FFI.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »