AminetAminet
Search:
84717 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/misc/fd2pragma.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:V2.171 create pragma, inline, ... files
Author:stoecker at epost.de (Dirk Stoecker)
Uploader:stoecker epost de (Dirk Stoecker)
Type:dev/misc
Version:2.171
Architecture:m68k-amigaos; ppc-warpup; ppc-powerup; ppc-morphos
Date:2004-04-12
Download:http://aminet.net/dev/misc/fd2pragma.lha - View contents
Readme:http://aminet.net/dev/misc/fd2pragma.readme
Downloads:2173

This is a utility to create:
  - following pragma statements for certain C compilers: amicall, libcall,
    flibcall, tagcall and syscall
  - proto files for C compilers
  - offset (LVO) files for assembler programs
  - stub functions for either tag-functions or all library functions
  - stub functions as assembler text
  - stub functions as useable link library file
  - FD files out of pragma files
  - stubs for C++ compilers (SPECIAL 11, 12 and CLIB)
  - the files with your own headers inserted
  - files for using local pointers for shared library bases in compilers
    which do not support this normally
  - stub functions for Pascal compilers
  - inline files for GCC
  - inline, pragma and stub libraries using FPU registers
  - files needed to develop for Phase5's PowerUP boards
  - unit texts for FPC Pascal compiler
  - BMAP files for AmigaBASIC and MaxonBASIC
  - VBCC assembler inline files
  - VBCC WOS stub texts and link library
  - VBCC PowerUP stub texts and link library
  - VBCC MorphOS stub texts and link library
  - Modules for AmigaE
  - FD files
  - CLIB files
  - SFD files
  - auto library open files for VBCC
  - MorphOS files
  - OS4 XML files
  - OS4 cross-call code stubs

Therefor only the FD file giving the library information is needed. For
some SPECIAL options you may additionally supply the CLIB keyword (or you
need to supply it) giving fd2pragma the prototypes file in clib directory.
Better is to supply the all-in-one SFD format as input.

The command template you get with fd2pragma ? .

Calling the program seems to be (is) very difficult, but it offers you a
large set of functions. A lot of options need a lot of abilities to turn
them on/off!

The documentation contains lots of information about related topics, so
read it!

Short history (full history see source code):
 2.160 04.12.02 : fixed bug in MorphOS-vbcc code
 2.161 15.12.02 : now no longer includes clib files for GCC, the GCC inlines
        include the needed include lines directly
 2.162 26.01.03 : bug fixes, added updated fpc code made by Nils Sjöholm (it
        is not that complicated to do fixes yourself, fd2pragma's inner
        structure is really easy)
 2.163 28.01.03 : little fixes
 2.164 15.02.03 : fixed DirectInline for GCC mode, changed FPC layout
 2.165 04.01.04 : fixed VBCC TAG inlines (SPECIAL 70), added modified MorphOS
        FD file types, fixed GCC direct inlines for GCC 3
 2.166 06.01.04 : added first set of OS4 filetypes
 2.167 09.01.04 : more OS4 stuff, added library name comment scanning for SFD
 2.168 19.01.04 : some fixes (a lot of thanks to Frank Wille)
 2.169 22.01.04 : completed OS4 stuff
 2.170 28.01.04 : some more VBCC-MOS things
 2.171 26.02.04 : finished VBCC-MOS text

This program is in the public domain. Use it as you want, but WITHOUT ANY
WARRANTY!

Please contact me:

*********************************************************************
* snail-mail:                  * e-mail:                            *
*   Dirk Stoecker              *   stoecker at epost.de                *
*   Geschwister-Scholl-Str. 10 *   dirk at dstoecker.de                *
*   01877 Bischofswerda        * world wide web:                    *
*   GERMANY                    *   http://www.dstoecker.de/         *
* phone:                       * pgp key:                           *
*   GERMANY +49 (0)3594/706666 *   get from WWW pages or keyservers *
*********************************************************************

Following is my PGP signature for the corresponding LhA-File.
Use ' pgpv fd2pragma.readme -o fd2pragma.lha ' to check it.
Key fingerprint: B9 F2 3A 1A 29 02 75 16  6A C6 5B 7D 5E F6 16 CF.
All my releases after April 2001 have a PGP signature with this key.
Be alarmed if signature is missing or wrong.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: Q4j7I67AFe/RukbY1saZqDTXMx7GylS3

iQCVAwUAQGW4iLOTsAT/iOY9AQE61AQAqanmq6kT/hp53kpL7CjJxoIfkNem0aOk
YGvg/gayLBdH/LeSx/Z++1VNH2rEA/fE0r/67pxeu3CYzt/A5iGS1TH50NRoKJTF
q85Qxfyy1rhr7TZsd/yH91am7Sy/RH2qnLsUDAHX19B2Ce42+R2i0LOFJETK+mLm
xlW8GR/e+pE=
=4DMy
-----END PGP SIGNATURE-----


Contents of dev/misc/fd2pragma.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1518    2146  70.7% -lh5- 2ffd Feb 16  2003 fd2pragma.info
[generic]                71455  152868  46.7% -lh5- f06e Mar 27  2004 fd2pragma/fd2pragma
[generic]                30795   94299  32.7% -lh5- 9691 Mar 27  2004 fd2pragma/fd2pragma.guide
[generic]                 1896    2295  82.6% -lh5- f297 Feb 16  2003 fd2pragma/fd2pragma.guide.info
[generic]                 1581    3645  43.4% -lh5- 8093 Mar 27  2004 fd2pragma/fd2pragma.readme
[generic]                 3376   11704  28.8% -lh5- ecec Mar 27  2004 fd2pragma/fd2pragma.types
[generic]                 2256   37832   6.0% -lh5- 1b22 Mar 27  2004 fd2pragma/Include/inline/macros.h
[generic]                  848    2489  34.1% -lh5- 5c5f Mar 27  2004 fd2pragma/Include/inline/stubs.h
[generic]                  441    1473  29.9% -lh5- bba8 Feb 16  2003 fd2pragma/Scripts/examplelib/makefile
[generic]                  933    7967  11.7% -lh5- 0f1d Feb 16  2003 fd2pragma/Scripts/MakeInline
[generic]                  266     517  51.5% -lh5- f4c8 Feb 16  2003 fd2pragma/Scripts/MakePPCStuff
[generic]                  629    4583  13.7% -lh5- 6ad8 Feb 16  2003 fd2pragma/Scripts/MakePragma
[generic]                  643    5348  12.0% -lh5- 6261 Feb 16  2003 fd2pragma/Scripts/MakeProto
[generic]                 1131    8571  13.2% -lh5- 75e5 Feb 16  2003 fd2pragma/Scripts/MakeStubLib
[generic]                  436    1174  37.1% -lh5- a92f Feb 16  2003 fd2pragma/Scripts/MakeStuff
[generic]                  930    7804  11.9% -lh5- 8e4a Feb 16  2003 fd2pragma/Scripts/MakeUnit
[generic]                  445    1227  36.3% -lh5- cd1f Feb 16  2003 fd2pragma/Scripts/MakeVBCC
[generic]                 2006   10243  19.6% -lh5- 42f4 Feb 16  2003 fd2pragma/Scripts/vbcc/amiga68k/MakeALIB.script
[generic]                 1719   11211  15.3% -lh5- be7c Feb 16  2003 fd2pragma/Scripts/vbcc/amiga68k/MakeProtos.script
[generic]                 2525   13340  18.9% -lh5- ae7c Feb 16  2003 fd2pragma/Scripts/vbcc/amigappc/MakeALIB.script
[generic]                  898    4388  20.5% -lh5- 9d5f Feb 16  2003 fd2pragma/Scripts/vbcc/amigappc/MakeProtos.script
[generic]                 2389   12956  18.4% -lh5- 6977 Feb 16  2003 fd2pragma/Scripts/vbcc/amigawos/MakeALIB.script
[generic]                  898    4388  20.5% -lh5- 655e Feb 16  2003 fd2pragma/Scripts/vbcc/amigawos/MakeProtos.script
[generic]                 2476   13209  18.7% -lh5- 66b8 Feb 16  2003 fd2pragma/Scripts/vbcc/morphos/MakeALIB.script
[generic]                  899    4388  20.5% -lh5- 8d9d Feb 16  2003 fd2pragma/Scripts/vbcc/morphos/MakeProtos.script
[generic]                92636  419494  22.1% -lh5- 0497 Mar 27  2004 fd2pragma/Source/fd2pragma.c
[generic]                  432    1865  23.2% -lh5- 652a Mar 27  2004 fd2pragma/Source/smakefile
[generic]                 4359   28059  15.5% -lh5- 00a0 Mar 27  2004 fd2pragma/usefd2pragma
[generic]                 1658    2463  67.3% -lh5- d33f Mar 27  2004 fd2pragma/usefd2pragma.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        29 files  232474  871946  26.7%            Apr 12  2004

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>