[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
# Could you be specific? I was careful to do things identically to
# Configure.pl (because we lack any common code I can use right
# now- that's
# another problem we need to solve)
libparrot.a isn't even the right name on Windows, and the target itself
isn't portable. On Windows with a Microsoft toolkit, you use a program
called 'lib' to make .lib files:
C:\brent\Visual Studio Projects\Perl 6\parrot\parrot>lib -?
Microsoft (R) Library Manager Version 7.00.9254
Copyright (C) Microsoft Corporation. All rights reserved.
usage: LIB [options] [files]
options:
/DEF[:filename]
/EXPORT:symbol
/EXTRACT:membername
/INCLUDE:symbol
/LIBPATH:dir
/LIST[:filename]
/MACHINE:{AM33|ARM|IA64|M32R|MIPS|MIPS16|MIPSFPU|MIPSFPU16|MIPSR41XX|
PPC|PPCFP|SH3|SH3DSP|SH4|SH5|THUMB|TRICORE|X86}
/NAME:filename
/NODEFAULTLIB[:library]
/NOLOGO
/OUT:filename
/REMOVE:membername
/SUBSYSTEM:{CONSOLE|EFI_APPLICATION|EFI_BOOT_SERVICE_DRIVER|
EFI_RUNTIME_DRIVER|NATIVE|POSIX|WINDOWS|
WINDOWSCE}[,#[.##]]
/VERBOSE
I haven't used 'lib' myself, so I can't really give you much usage
information. Sorry. My best guess is that the right command would be
lib -out:libparrot$(A) $(O_FILES)
assuming $(A) were appropriately defined.
--Brent Dax <[EMAIL PROTECTED]>
@roles=map {"Parrot $_"} qw(embedding regexen Configure)
#define private public
--Spotted in a C++ program just before a #include