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

dev/misc/Detour.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Change pathes of C-include-files for Maxon/HiSoft compiler
Author:Joerg van de Loo
Uploader:joergloo aol com
Type:dev/misc
Version:1
Architecture:m68k-amigaos
Date:2003-08-03
Requires:0S2, enclosed binary is encoded for 68020+ CPUs, installed and
Download:dev/misc/Detour.lha - View contents
Readme:dev/misc/Detour.readme
Downloads:726

		  working NDK

In  order  to  build  with MaxonC++/HiSoftC++ compilers a portable source-code
the pragma-files have to be changed.
In  addition,  once  this  program has done its work, SAS/S (f.e.) source-code
can  be  used  without  editing the head of the source-code (normally the area
where to find the include-directives).

Often you would encode pragmas with MaxonC++ like this:

	#if !defined(__MAXON__)
	#include	<pragmas/exec_pragmas.h>
	#include	<pragmas/graphics_pragmas.h>
	#include	<pragmas/intuition_pragmas.h>
	#include	<pragmas/gadtools_pragmas.h>
	#include	<pragmas/dos_pragmas.h>
	#include	<pragmas/asl_pragmas.h>
	#include	<pragmas/wb_pragmas.h>
	#include	<pragmas/icon_pragmas.h>
	#include	<pragmas/diskfont_pragmas.h>
	#include	<pragmas/locale_pragmas.h>
	#include	<pragmas/rexxsyslib_pragmas.h>
	#else
	#include	<pragma/exec_lib.h>
	#include	<pragma/graphics_lib.h>
	#include	<pragma/intuition_lib.h>
	#include	<pragma/gadtools_lib.h>
	#include	<pragma/dos_lib.h>
	#include	<pragma/asl_lib.h>
	#include	<pragma/wb_lib.h>
	#include	<pragma/icon_lib.h>
	#include	<pragma/diskfont_lib.h>
	#include	<pragma/locale_lib.h>
	#include	<pragma/rexxsyslib_lib.h>
	#endif

Now, after Detour has modified these files, you can use this instead:

	#include	<proto/exec.h>
	#include	<proto/graphics.h>
	#include	<proto/intuition.h>
	#include	<proto/gadtools.h>
	#include	<proto/dos.h>
	#include	<proto/asl.h>
	#include	<proto/wb.h>
	#include	<proto/icon.h>
	#include	<proto/diskfont.h>
	#include	<proto/locale.h>
	#include	<proto/rexxsyslib.h>


Contents of dev/misc/Detour.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  269     628  42.8% -lh5- 7af9 Aug  3  2003 Detour.info
[generic]                 2375    4552  52.2% -lh5- 6792 Aug  3  2003 Detour/Detour
[generic]                 5523   17071  32.4% -lh5- 3bb1 Aug  3  2003 Detour/Detour.c
[generic]                  362     647  56.0% -lh5- 8efd Aug  3  2003 Detour/Detour.c.info
[generic]                 1317    3286  40.1% -lh5- f616 Aug  3  2003 Detour/Detour.doc
[generic]                  338     583  58.0% -lh5- 072a Aug  3  2003 Detour/Detour.doc.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         6 files   10184   26767  38.0%            Aug  3  2003
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>