scene.org File Archive

File download

<root>­/­mirrors­/­flerp­/­.s­/­groups.hun­/­ESP-team­/­linux/libUnESP-1.0-beta1.txt

File size:
973 bytes (973B)
File date:
2013-11-26 23:08:44
Download count:
all-time: 87

Preview

ANSI-C UnESP library  v1.0 beta-1           (C) 1996-99 A'rpi / ESP-team
=================================

See unesp.h and main.c for details!!!

Compile:
~~~~~~~~
  gcc -O2 -Wall main.c lib1a.c -o main

Note: do not use -O3 ! The source contain 'inline's where really needed.

If you want shared library:
  gcc -shared -O2 -Wall lib1a.c -o libesp.so

Testing:
~~~~~~~~
Just execute ./main
If you're lucky, you'll get the GPL's COPYING file uncompressed :)))

ANSI-C:
~~~~~~~  
It's ANSI compliant, if you uncomment this line in the source:
  #define inline
Unfortunatelly ANSI-C doesn't support 'inline' directive ;-(
You can check it using -ansi and -pedantic options of gcc.

Creating ESP archives:
~~~~~~~~~~~~~~~~~~~~~~
Currently no ESP available for UNIX. :(
Under LINUX you can try the DOSrun (or DOSEMU) + ESP.EXE combination.
The DOS ESP package is available on ESP-team sites and SAC/pack.
(see the file WHERE)

Happy unESPing!