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

Closed
p5pRT opened this issue Jul 9, 1999 · 3 comments
Closed

Perlcc #178

p5pRT opened this issue Jul 9, 1999 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Jul 9, 1999

Migrated from rt.perl.org#983 (status was 'resolved')

Searchable as RT983$

@p5pRT
Copy link
Author

p5pRT commented Jul 9, 1999

From Matthew.Amacker@synergex.com

To whom it may concern,
  Here is my perl -V :
Summary of my perl5 (revision 5.0 version 5 subversion 57) configuration​:
  Platform​:
  osname=MSWin32, osvers=4.0, archname=MSWin32-x86
  uname=''
  config_args='undef'
  hint=recommended, useposix=true, d_sigaction=undef
  usethreads=undef useperlio=undef d_sfio=undef
  use64bits=undef usemultiplicity=undef
  Compiler​:
  cc='cl.exe', optimize='-O2 -MD -DNDEBUG', gccversion=
  cppflags='-DWIN32'
  ccflags ='-O2 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT '
  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'
  libpth=c​:\msdev\VC98\lib
  libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.
lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib
wsock
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
-machine​:x86'

Characteristics of this binary (from libperl)​:
  Built under MSWin32
  Compiled at Jul 7 1999 13​:34​:14
  @​INC​:
  c​:/perl/5.00557/lib/MSWin32-x86
  c​:/perl/5.00557/lib
  c​:/perl/site/5.00557/lib/MSWin32-x86
  c​:/perl/site/5.00557/lib
  .
(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
WINNT.
  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 hi.pl
  perl c​:\perl\5.00557\lib\B\cc_harness -02 -ohi -hi.pl

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
problem.
Sincerely,
  Matthew Amacker

<<stealthchk.pl>>

@p5pRT
Copy link
Author

p5pRT commented Jul 9, 1999

@p5pRT
Copy link
Author

p5pRT commented Nov 28, 2003

From The RT System itself

perlcc

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

No branches or pull requests

1 participant