OS4 DepotLogo by Nickman 
(anonymous IP: 18.188.20.56,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Development » Utility » mklibauto.lha

Mklibauto

Description: Generates full libauto.a from OS4 SDK interfaces
Download: mklibauto.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 1kb
Version: 1.0
Date: 29 Mar 05
Author: Fabian Nunez
Submitter: Fabian Nunez
Email: mr faybs/gmail com
Requirements: AmigaOS4
Category: development/utility
License: Freeware
Distribute: yes
Min OS Version: 4.0
FileID: 632
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads:  (Current version)
 (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
Short:        Generates full libauto.a from OS4 SDK interfaces
Uploader:     mr.faybs()gmail.com (Fabian Nunez)
Author:       mr.faybs()gmail.com (Fabian Nunez)
Requires:     AmigaOS4
Type:         dev/misc
Version:      1.0
Architecture: ppc-amigaos >= 4.0.0

For some reason, the automatic library opening code in the AmigaOS4 SDK,
libauto.a, only includes code to automatically initialize and open a subset of
all the standard libraries that come with the system.  This makes it annoying
to
use some libraries (like layers.library) because you need to manage them
yourself (open and close, obtain and release the main interface).

MkLibAuto is a small script that will scan all the interface definition XML
files in the AmigaOS4 SDK and generate a full libauto.a from them.  It needs
the
full SDK to be installed, and will call idltool, the compiler and archiver to
generate a full autoinit library.  It takes either one or two arguments: the
first one is mandatory, and is the output filename.  The second, optional one
is
the switch NEWLIB.  If you pass this, a newlib-compatible library will be
generated (the default is clib2).

Note that this script and the autoinit library it generates have been tested
only with gcc 3.4; other compilers and versions may or may not work.

The recommended use is as follows (assuming you extracted mklibauto to RAM:)

4> sdk:gcc/ppc-amigaos/clib2/lib/
4> rename libauto.a libauto.a.old
4> RAM:mklibauto libauto.a
4> sdk:gcc/ppc-amigaos/newlib/lib/
4> rename libauto.a libauto.a.old
4> RAM:mklibauto libauto.a NEWLIB








Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment