Closed p5pRT closed 13 years ago
This is a bug report for perl from rjhb@bb-c.de\, generated with the help of perlbug 1.33 running under perl v5.6.1.
With Perl\, version 5.6.1\, the syntax of perlcc is not documented correctly.
perlcc -h perlcc compiler frontend\, version 2.03
Usage: $ perlcc hello # Compiles into executable 'a.out' $ perlcc -o hello hello.pl # Compiles into executable 'hello'
$ perlcc -O file # Compiles using the optimised C backend $ perlcc -B file # Compiles using the bytecode backend
$ perlcc -c file # Creates a C file\, 'file.c' $ perlcc -S -o hello file # Creates a C file\, 'file.c'\, # then compiles it to executable 'hello' $ perlcc -c out.c file # Creates a C file\, 'out.c' from 'file'
$ perlcc -e 'print q//' # Compiles a one-liner into 'a.out' $ perlcc -c -e 'print q//' # Creates a C file 'a.out.c'
$ perlcc -r hello # compiles 'hello' into 'a.out'\, runs 'a.out'.
$ perlcc -r hello a b c # compiles 'hello' into 'a.out'\, runs 'a.out'. # with arguments 'a b c'
$ perlcc hello -log c # compiles 'hello' into 'a.out' logs compile # log into 'c'.
Exit 2
perlcc -c dbtest.c dbtest.pl /opt/DRGperl/bin/perlcc: using dbtest.c as input file\, ignoring dbtest.pl /opt/DRGperl/bin/perlcc: Input file dbtest.c was not found
The usage information given above is also presented in the pod. The old syntax of perlcc as documented in 5.00503 doesn't work\, either.
Flags: category=utilities severity=medium
Site configuration information for perl v5.6.1:
Configured by f996504 at Thu Oct 18 13:30:29 MEST 2001.
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=solaris\, osvers=2.8\, archname=sun4-solaris uname='sunos defx0yag 5.8 generic_108528-09 sun4u sparc sunw\,sun-blade-100 ' config_args='' hint=recommended\, useposix=true\, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='gcc'\, ccflags ='-fno-strict-aliasing -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'\, optimize='-O4'\, cppflags='-fno-strict-aliasing -I/opt/local/include' ccversion=''\, gccversion='2.95.3 20010315 (release)'\, gccosandvers='solaris2.8' intsize=4\, longsize=4\, ptrsize=4\, doublesize=8\, byteorder=4321 d_longlong=define\, longlongsize=8\, d_longdbl=define\, longdblsize=16 ivtype='long'\, ivsize=4\, nvtype='double'\, nvsize=8\, Off_t='off_t'\, lseeksize=8 alignbytes=8\, usemymalloc=y\, prototype=define Linker and Libraries: ld='gcc'\, ldflags =' -L/opt/local/lib ' libpth=/opt/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so\, so=so\, useshrplib=true\, libperl=libperl.so Dynamic Linking: dlsrc=dl_dlopen.xs\, dlext=so\, d_dlsymun=undef\, ccdlflags=' -R /opt/DRGperl/5.6.1/lib/sun4-solaris/CORE' cccdlflags='-fPIC'\, lddlflags='-G -L/opt/local/lib'
Locally applied patches:
@INC for perl v5.6.1: /opt/DRGperl/5.6.1/lib/sun4-solaris /opt/DRGperl/5.6.1/lib /opt/DRGperl/site_perl/sun4-solaris /opt/DRGperl/site_perl .
Environment for perl v5.6.1: [confidential information removed]
Rainer J. H. Brandt email: rjhb@bb-c.de Brandt & Brandt Computer GmbH web: www.bb-c.de Voißeler Straße 12a phone: +49 2441 779891 D 53925 Kall mobile: +49 172 9593205
This bug corresponds to the Debian Bug #88463.
I submitted a patch in the Debain Tracker which should solve both problems. You can find the patch-file there.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=88463
Best regards\,
Gregor Schmidt
@smpeters - Status changed from 'open' to 'stalled'
The Perl Compiler is now maintained outside of the Perl core distribution. Please try out the updates from CPAN at:
http://search.cpan.org/dist/B-C/
If you still have trouble\, please file tickets on the bug tracker for the project\, which appears to be:
http://code.google.com/p/perl-compiler/issues/list
-- George Greer
The RT System itself - Status changed from 'stalled' to 'open'
@gannett-ggreer - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#8313 (status was 'resolved')
Searchable as RT8313$