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
Does Harbour Produce C Code I can Use?
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
  8 messages - Expand 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
 
Simon  
View profile  
 More options Jun 15 2010, 10:03 pm
From: Simon <dciphercomput...@gmail.com>
Date: Tue, 15 Jun 2010 19:03:43 -0700 (PDT)
Local: Tues, Jun 15 2010 10:03 pm
Subject: Does Harbour Produce C Code I can Use?
Hi

I have been reviewing the G-Wan web server.  This a free Windows/
Linux
web server which runs "C" scripts.  It has a number of interesting
features in that you can use it as a socket server, web server, FTP
server and have it run tasks on a schedule or interval.  It is
incredibly fast and small.  However, I do not want to spend all my
time writing scripts in "C" so I thought about Harbour and I believe
I
read somewhere that the compiler could output "C" code.  So I began
to
wonder whether I could write my code in Harbour and compile it to "C"
and then use the "C" files with g-wan.  G-Wan compiles everything on
startup so this would mean I could write my web stuff in Harbour and
deploy it with G-Wan.  So my question is it true that Harbour can
produce "C" files from the "prg" files?

Using G-Wan I would not have to create services because G-Wan can
handle all that already.  All I need to do is write code and have G-
Wan call it when needed.

You can read about G-Wan at http://www.gwan.com.

Regards,
Simon White


 
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.
Tamas TEVESZ  
View profile  
 More options Jun 15 2010, 11:00 pm
From: Tamas TEVESZ <i...@extreme.hu>
Date: Wed, 16 Jun 2010 05:00:20 +0200 (CEST)
Local: Tues, Jun 15 2010 11:00 pm
Subject: Re: [harbour] Does Harbour Produce C Code I can Use?

On Tue, 15 Jun 2010, Simon wrote:

hi,

 > I have been reviewing the G-Wan web server.  This a free Windows/
 > Linux
 > web server which runs "C" scripts.  It has a number of interesting

pinky:/tmp/gwan/gwan$ ./gwan -r 0.0.0.0_8080/#0.0.0.0/csp/setheaders.c
Segmentation fault (core dumped)
pinky:/tmp/gwan/gwan$

took about two full seconds of getting to know each other.

you are probably (not probably, you are) much better off using an
established and proven thing, and plug your application in using a
proven technique (nginx and fastcgi/scgi comes to mind - well,
for that to work, a one of these modules for harbour need to be
developed, neither of which is particularly complicated).

--
[-]

mkdir /nonexistent


 
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.
Simon  
View profile  
 More options Jun 17 2010, 9:58 am
From: Simon <dciphercomput...@gmail.com>
Date: Thu, 17 Jun 2010 06:58:49 -0700 (PDT)
Local: Thurs, Jun 17 2010 9:58 am
Subject: Re: Does Harbour Produce C Code I can Use?
Hi

I have used "Remote Anything" another product by this developer for
years and it works very well.  I have not had any problems with gwan
so I am not sure what your error is about.  My main interest was that
it is much faster than anything else available and uses very little
resources to run.  I get a web server, socket server, FTP server and
more in a very small efficient package.  So I will be interested to
see how it matures.

However, I am still interested to know whether Harbour can produce C
code that I could use separately from Harbour itself.

Thanks,
Simon

On Jun 15, 11:00 pm, Tamas TEVESZ <i...@extreme.hu> wrote:


 
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.
Viktor Szakáts  
View profile  
 More options Jun 17 2010, 10:05 am
From: Viktor Szakáts <harbour...@syenar.hu>
Date: Thu, 17 Jun 2010 16:05:16 +0200
Local: Thurs, Jun 17 2010 10:05 am
Subject: Re: [harbour] Re: Does Harbour Produce C Code I can Use?
Hi Simon,

Harbour cannot create standalone .c code (not even
with -gc3 as someone already suggested).

It requires initialized HVM and runtime libs to do
anything useful. I'm not saying it's impossible to
integrate with gwan or anything else, but it's not
so easy easy running a .c file as if it would be a
script or native .c code.

my 2 cents.

Viktor

On 2010 Jun 17, at 15:58, Simon wrote:


 
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.
Alex Strickland  
View profile  
 More options Jun 17 2010, 10:19 am
From: Alex Strickland <s...@mweb.co.za>
Date: Thu, 17 Jun 2010 16:19:37 +0200
Local: Thurs, Jun 17 2010 10:19 am
Subject: Re: [harbour] Does Harbour Produce C Code I can Use?

Simon wrote:
> I have been reviewing the G-Wan web server.  This a free Windows/
> Linux
> web server which runs "C" scripts.

Maybe this will interest you:

http://code.google.com/p/nativeclient/

Regards
Alex


 
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.
Simon  
View profile  
 More options Jun 17 2010, 9:43 pm
From: Simon <dciphercomput...@gmail.com>
Date: Thu, 17 Jun 2010 18:43:53 -0700 (PDT)
Local: Thurs, Jun 17 2010 9:43 pm
Subject: Re: Does Harbour Produce C Code I can Use?
Thanks that is what I wanted to know.

Simon

On Jun 17, 10:05 am, Viktor Szakáts <harbour...@syenar.hu> wrote:


 
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.
Simon  
View profile  
 More options Jun 17 2010, 9:44 pm
From: Simon <dciphercomput...@gmail.com>
Date: Thu, 17 Jun 2010 18:44:38 -0700 (PDT)
Local: Thurs, Jun 17 2010 9:44 pm
Subject: Re: Does Harbour Produce C Code I can Use?
Yes I know about this and have a recent post here wondering if Harbour
will be able to be used in this environment.

Simon

On Jun 17, 10:19 am, Alex Strickland <s...@mweb.co.za> wrote:


 
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.
Massimo Belgrano  
View profile  
 More options Jun 18 2010, 2:53 am
From: Massimo Belgrano <mbelgr...@deltain.it>
Date: Fri, 18 Jun 2010 08:53:35 +0200
Local: Fri, Jun 18 2010 2:53 am
Subject: Re: [harbour] Re: Does Harbour Produce C Code I can Use?

afaik there is no a magic & ready solution but if we post here any
expereinces will be easy for harbour guru made a research:
other way wll be the growing of same product actualy incomplete like:
Axiomatic Multi-Platform C (AMPC) is a C compiler suite that generates Java™
bytecode. http://www.axiomsol.com/index.php

I want remember that
Harbour today allow write web application with gci ,
harbour minigui have proposed another path
c<http://www.harbour-project.org/>alled
miniscript

<http://www.axiomsol.com/index.php>

2010/6/18 Simon <dciphercomput...@gmail.com>

--
Massimo Belgrano

 
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 »