(unknown charset) Re: [BLACKBOX] GCC

From: (unknown charset) Douglas G. Danforth <"Douglas>
Date: Sat, 1 Nov 2008 13:00:02 -0700

----boundary-LibPST-iamunique-1179941811_-_-
Content-type: text/plain

Oleg,
Yes, it is the libraries that are the stumbling block.

For example, I am currently using MS Windows audio
calls to implement speech recognition (WinMM calls).
Do there exist equivalent calls in the standard C libraries?
I don't know. It would be nice if they did.

One would need to find and collect together all of the
functions used in BlackBox that have corresponding
C library functions (this is assuming that one wants
to port BlackBox to all platforms). The Host modules
would then need to be changed to call the C library
functions (or perhaps the platform would be called C
as compared to MS Windows).

Files, I believe, would be no problem. The graphics would
be questionable. What cross platform graphics package
should be used? X-Windows, OpenGL, ...?

Cross platform devices (such as audio) would need to be
supported.

Josef has already implemented garbage collection in Ofront.

So, what is the goal? Who does the work? How is the
work partitioned? Who coordinates it?

-Doug Danforth

Oleg N. Cher wrote:
> Dear All,
>
> I propose to develop a BlackBox subsystem that
> will be automatically call Ofront and target C compiler.
> Will be possible to integrate exists C compilers:
> SDCC (a good free compiler for microcontrollers),
> Borland C, Visual C, GCC etc. The subsystem will call
> chosen compiler for chosen platform, analyse its
> return code and show compilation errors in BlackBox style.
> The sybsystem helps to save project compiling properties
> and translate to known C compiler command line options format.
> It's not be very difficult to develop the subsystem.
>
> All it helps to translate Oberon-2 code to any target
> platform by pressing one key. But! Is one very very very
> serious problem - standard crossplatform libraries.
> As console, graphic, files, GUI, multitasking, network etc.
> We'll not be able to write even the most simplest program
> without these libraries. In any event we not even be able
> to use garbage collection and dynamic linker. What to do?
> Use standard C stdio.h ? And for GUI? For databases?
>
> Libraries for C are bad for component ideology and
> in general are bad designed. And here we approach to very
> interesting question about standardizations crossplatform
> libraries for Component Pascal. Who has a sufficient
> authority to be recognized in this area? Who, except us,
> is also interested in this?
>
> ---
> Oleg N. Cher
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
>
>
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1179941811_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTFcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIE9sZWcsXHBhcg0KWWVzLCBpdCBpcyB0aGUgbGli
cmFyaWVzIHRoYXQgYXJlIHRoZSBzdHVtYmxpbmcgYmxvY2suXHBhcg0KXHBhcg0KRm9yIGV4YW1w
bGUsIEkgYW0gY3VycmVudGx5IHVzaW5nIE1TIFdpbmRvd3MgYXVkaW9ccGFyDQpjYWxscyB0byBp
bXBsZW1lbnQgc3BlZWNoIHJlY29nbml0aW9uIChXaW5NTSBjYWxscykuXHBhcg0KRG8gdGhlcmUg
ZXhpc3QgZXF1aXZhbGVudCBjYWxscyBpbiB0aGUgc3RhbmRhcmQgQyBsaWJyYXJpZXM/XHBhcg0K
SSBkb24ndCBrbm93LiAgSXQgd291bGQgYmUgbmljZSBpZiB0aGV5IGRpZC5ccGFyDQpccGFyDQpP
bmUgd291bGQgbmVlZCB0byBmaW5kIGFuZCBjb2xsZWN0IHRvZ2V0aGVyIGFsbCBvZiB0aGVccGFy
DQpmdW5jdGlvbnMgdXNlZCBpbiBCbGFja0JveCB0aGF0IGhhdmUgY29ycmVzcG9uZGluZ1xwYXIN
CkMgbGlicmFyeSBmdW5jd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JvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvIExJ
U1RTRVJWQExJU1RTLk9CRVJPTi5DSFxwYXINCj5ccGFyDQo+XHBhcg0KPiAgIFxwYXINClxwYXIN
ClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5
ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04ufX0AICAgRklM
----boundary-LibPST-iamunique-1179941811_-_---
Received on Sat Nov 01 2008 - 21:00:02 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:52 UTC