{ $Id$ Copyright (c) 1998 by Florian Klaempfl This unit implements some support routines for the linux target like import/export handling 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., 675 Mass Ave, Cambridge, MA 02139, USA. **************************************************************************** } unit lin_targ; interface uses import; type pimportliblinux=^timportliblinux; timportliblinux=object(timportlib) procedure preparelib(const s:string);virtual; procedure importprocedure(const func,module:string;index:longint;const name:string);virtual; procedure generatelib;virtual; end; implementation uses strings,cobjects,systems,globals, files,aasm,symtable; procedure timportliblinux.preparelib(const s : string); begin end; procedure timportliblinux.importprocedure(const func,module : string;index : longint;const name : string); begin { insert sharedlibrary } current_module^.linksharedlibs.insert(SplitName(module)); { do nothing with the procedure, only set the mangledname } aktprocsym^.definition^.setmangledname(name); end; procedure timportliblinux.generatelib; begin end; end. { $Log$ Revision 1.1 1998-10-19 18:07:13 peter + external dll_name name func support for linux }