Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perlcc #178

p5pRT opened this issue Jul 9, 1999 · 3 comments

Perlcc #178

p5pRT opened this issue Jul 9, 1999 · 3 comments


Copy link

p5pRT commented Jul 9, 1999

Migrated from (status was 'resolved')

Searchable as RT983$

Copy link

p5pRT commented Jul 9, 1999


To whom it may concern,
  Here is my perl -V :
Summary of my perl5 (revision 5.0 version 5 subversion 57) configuration​:
  osname=MSWin32, osvers=4.0, archname=MSWin32-x86
  hint=recommended, useposix=true, d_sigaction=undef
  usethreads=undef useperlio=undef d_sfio=undef
  use64bits=undef usemultiplicity=undef
  cc='cl.exe', optimize='-O2 -MD -DNDEBUG', gccversion=
  stdchar='char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
  alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries​:
  ld='link', ldflags ='-nologo -nodefaultlib -release -machine​:x86'
  libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib
32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib PerlCRT.lib
  libc=PerlCRT.lib, so=dll, useshrplib=yes, libperl=perl.lib
  Dynamic Linking​:
  dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
  cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release

Characteristics of this binary (from libperl)​:
  Built under MSWin32
  Compiled at Jul 7 1999 13​:34​:14
(The cccdflags are useless as my compiler does not recognize them and they
just cause a warning.)
  With this information, I have a few questions and observations that
might need to be addressed. I m currently working on a project in perl that
I would eventually like to make an executable out of. I would like to
distribute it to my companies' customers. Anyway the problem is with the
platform, WINNT, and I have tried many things to get the various compilers
to work. I have tried two ways and neither seems to ever have worked on
  I have been working on the code in perlcc.bat and found a few things
that make it impossible for that code as it is now to work on a dos box.
The first being that it points to dev/null and fails when it cannot find the
directory, the second that it attempts to put DLL's in the compiler command
and the third that may be my own failure is that it tries to find
dynaloader.a. ( What is that? I can't find it in any documentation. Had
the same trouble with Malcom Beattie's earlier betas)
  The other method I attempted was using the instructions given on
page 40 of Perl In A Nutshell. One problem maybe that I had to execute the
command like so​:
  perl -MO=CC,-ohi.c
  perl c​:\perl\5.00557\lib\B\cc_harness -02 -ohi

But this method fails to compile when there are any function calls in the
form of &introduction or main(); Also it does not seem to recognize many of
the variables like "^$" ( see attached code) .
  Please any help you can offer would, I'm sure, be of great
assistance. So if there are any resources you can direct me to. Even
better would be if somebody could attempt to compile the attached perl
script on WINNT. If they succeed write down exactly what they did from
compiling perl.exe on a clean system to compiling scripts into executables
and post it somewhere (besides the news group). It would be fantastic! I
would send you flowers and chocolate. =)
  This perl script compiles just fine and runs just fine. Not so
after a compile into an executable.
Thank very, very much for your time already and any you might spend on my
  Matthew Amacker


Copy link

p5pRT commented Jul 9, 1999

Copy link

p5pRT commented Nov 28, 2003

From The RT System itself


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant