[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/ilranlib .cvsignore,NONE,1.1 Makefile.a
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/ilranlib .cvsignore,NONE,1.1 Makefile.am,NONE,1.1 ilranlib.1,NONE,1.1 ilranlib.c,NONE,1.1 |
Date: |
Sat, 05 Jul 2003 21:45:32 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/ilranlib
In directory subversions:/tmp/cvs-serv1243/ilranlib
Added Files:
.cvsignore Makefile.am ilranlib.1 ilranlib.c
Log Message:
Add the "ilranlib" program to the system.
--- NEW FILE ---
Makefile
Makefile.in
.deps
ilranlib
--- NEW FILE ---
bin_PROGRAMS = ilranlib
man_MANS = ilranlib.1
EXTRA_DIST = $(man_MANS)
ilranlib_SOURCES = ilranlib.c
ilranlib_LDADD = ../support/libILSupport.a
AM_CFLAGS = -I$(top_srcdir)/include
--- NEW FILE ---
.\" Copyright (c) 2003 Southern Storm Software, Pty Ltd.
.\"
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
.TH ilranlib 1 "6 July 2003" "Southern Storm Software" "Portable.NET
Development Tools"
.SH NAME
ilranlib \- ranlib replacement for Intermediate Language (IL) programs
.SH SYNOPSIS
.ll +8
.B ilranlib
[ -v | -V ]
.I archive
.SH DESCRIPTION
.B Ilranlib
is a stub program that replaces the usual \fBranlib\fR(1) utility
for Intermediate Language (IL) programs.
In the current IL toolchain, symbol table indices are not used, so the
\fBilranlib\fR program does nothing to the archive. This behavior
should be sufficient to fool Makefile's into doing the right thing
for IL binaries.
.SH OPTIONS
.TP
.B \-v, \-V, \-\-version
Print the version of the \fBilranlib\fR program.
.TP
.B \-\-
Marks the end of the command-line options, and the beginning of
the input filenames. You may need to use this if your filename
begins with '-'. e.g. "ilranlib -- -input.exe".
.SH "AUTHOR"
Written by Southern Storm Software, Pty Ltd.
http://www.southern-storm.com.au/
.SH "SEE ALSO"
ilsize(1), ilfind(1), ilasm(1), ranlib(1)
--- NEW FILE ---
/*
* ilranlib.c - Stub for "ranlib", when dealing with IL binaries.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdio.h>
#include "il_system.h"
#ifdef __cplusplus
extern "C" {
#endif
int main(int argc, char *argv[])
{
/* We don't use symbol tables in the IL toolchain, so this program is
just a stub to keep Unix-style make systems happy */
if(argc > 1)
{
if(!strcmp(argv[1], "-V") || !strcmp(argv[1], "-v") ||
!strcmp(argv[1], "--version"))
{
printf("ILRANLIB " VERSION " - IL Archive Index
Utility\n");
printf("Copyright (c) 2003 Southern Storm Software, Pty
Ltd.\n");
printf("\n");
printf("ILRANLIB comes with ABSOLUTELY NO WARRANTY.
This is free software,\n");
printf("and you are welcome to redistribute it under
the terms of the\n");
printf("GNU General Public License. See the file
COPYING for further details.\n");
}
}
return 0;
}
#ifdef __cplusplus
};
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/ilranlib .cvsignore,NONE,1.1 Makefile.am,NONE,1.1 ilranlib.1,NONE,1.1 ilranlib.c,NONE,1.1,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2515,1.2516 Makefile.am,1.24,1.25 configure.in,1.134,1.135
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet/ilstrip Makefile.am,1.1,1.2
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2515,1.2516 Makefile.am,1.24,1.25 configure.in,1.134,1.135
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet/ilstrip Makefile.am,1.1,1.2
- Index(es):