Sponsored Content
Full Discussion: cc compiler problem
Operating Systems Solaris cc compiler problem Post 302375721 by ippy98 on Sunday 29th of November 2009 07:28:34 AM
Old 11-29-2009
Thanks, I am trying to download/install the Sun Studio package/compiler now, will see if that works.
Will update later.

---------- Post updated at 06:28 AM ---------- Previous update was at 05:14 AM ----------

I seem to be running into a disk space problem for installing the Sun Studio stuff.


In the mean time, how would I do option 2? Adjust the make file to use the GNU compiler?

There is no ./configure, make file is made my a perl script:

Code:
"Makefile.PL" 11 lines, 317 characters 
require 5.005;
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME         => 'MIME::Base64',
    VERSION_FROM => 'Base64.pm',
    EXE_FILES    => [qw(encode-base64 decode-base64 encode-qp decode-qp)],
    dist         => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    ($] >= 5.008) ?
      (INSTALLDIRS => 'perl') : (),
);



Code:
> perl Makefile.PL 
Writing Makefile for MIME::Base64

Code:
> make
cc -c   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff   -DVERSION=\"3.01\" -DXS_VERSION=\"3.01\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"   Base64.c
cc: unrecognized option `-KPIC'
cc: language ildoff not recognized
cc: Base64.c: linker input file unused because linking not done
Running Mkbootstrap for MIME::Base64 ()
chmod 644 Base64.bs
rm -f blib/arch/auto/MIME/Base64/Base64.so
LD_RUN_PATH="" cc  -G Base64.o  -o blib/arch/auto/MIME/Base64/Base64.so      
cc: Base64.o: No such file or directory
cc: no input files
make: *** [blib/arch/auto/MIME/Base64/Base64.so] Error 1

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

C compiler problem

Hi all I just installed FORTE 6 c and c++ compiler after getting the 30 days trial license but after installtion the /opt/SUNWspro/bin/include dir was found empty and there is no header file..when i compile one code it is giving error include header file not found........ please give me any... (1 Reply)
Discussion started by: Prafulla
1 Replies

2. Programming

Compiler....

:confused: How to do Compiler a .so with oracle9 libs? I have my file -> oracobo.pc my .so is called by Cobol App. -> Runcobol (I don't have source). Which is the statement of cc compiler? It's Right : proc oracobo.pc cc -O -q32 -DDYNAMIC_LIBRARIES_SUPPORTED... (0 Replies)
Discussion started by: luckycs
0 Replies

3. Programming

c compiler

What can I do if my unix didn't come with cc or gcc. there must be a place to get those programs. Just not where i can find them:confused: (3 Replies)
Discussion started by: hector
3 Replies

4. Programming

C compiler

I'm new to C but eager to get started. I purchasewd beginning C by Ivor Horton and realise that I need a C compiler. I looking for the most appropriate and economical way to obtain this, any suggestions would be greatly appreciated. (5 Replies)
Discussion started by: ferret
5 Replies

5. Solaris

C compiler

Hello Everyone!!! Can i use the C shell to compile a C program ? how ? please teach me how to compile ? Thanks!!!! Giancarlo D. Jabon (1 Reply)
Discussion started by: giancarlodjabon
1 Replies

6. UNIX for Dummies Questions & Answers

xl C/C++ compiler to GCC compiler

Hi, we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier). As a part of this i need to change the CFLAGS. The xl c/c++ complier CFLAGS is CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \ -qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies

7. Programming

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first? The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's... Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies

8. Solaris

C Compiler

Greetings, :rolleyes: :o :confused: I am working on Solaris 8. I have a few questions: 1. How do I determine if I have the CC compiler? I know it isn't in my $PATH, so how do I find it? 2. How do you install wget? I have read the INSTALL file, but I am not familar with the switches,... (25 Replies)
Discussion started by: Roam
25 Replies

9. UNIX for Dummies Questions & Answers

cc compiler and gcc compiler

hi, can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also can we install sun cc compiler in AIX environment and vice versa. and more ..is linux support cc compiler regards Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies
cc(1B)						     SunOS/BSD Compatibility Package Commands						    cc(1B)

NAME
cc - C compiler SYNOPSIS
/usr/ucb/cc [options] DESCRIPTION
/usr/ucb/cc is the interface to the BSD Compatibility Package C compiler. It is a script that looks for the link /usr/ccs/bin/ucbcc to the C compiler. The /usr/ccs/bin/ucbcc link is available only with the SPROcc package, whose default location is /opt/SUNWspro. The /usr/ucb/cc interface is identical to /usr/ccs/bin/ucbcc, except that BSD headers are used and BSD libraries are linked before base libraries. The /opt/SUNWspro/man/man1/acc.1 man page is available only with the SPROcc package. OPTIONS
The /usr/ucb/cc interface accepts the same options as /usr/ccs/bin/ucbcc, with the following exceptions: -Idir Search dir for included files whose names do not begin with a slash (/) prior to searching the usual directories. The directo- ries for multiple -I options are searched in the order specified. The preprocessor first searches for #include files in the directory containing sourcefile, and then in directories named with -I options (if any), then /usr/ucbinclude, and finally, in /usr/include. -Ldir Add dir to the list of directories searched for libraries by /usr/ccs/bin/ucbcc. This option is passed to /usr/ccs/bin/ld and /usr/lib. Directories specified with this option are searched before /usr/ucblib and /usr/lib. -Y P, dir Change the default directory used for finding libraries. EXIT STATUS
The following exit values are returned: 0 Successful compilation or link edit. >0 An error occurred. FILES
/usr/ccs/bin/ld link editor /usr/lib/libc C library /usr/ucbinclude BSD Compatibility directory for header files /usr/ucblib BSD Compatibility directory for libraries /usr/ucblib/libucb BSD Compatibility C library /usr/lib/libsocket library containing socket routines /usr/lib/libnsl library containing network functions /usr/lib/libelf library containing routines to process ELF object files /usr/lib/libaio library containing asynchronous I/O routines ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
ld(1), a.out(4), attributes(5) NOTES
The -Y P, dir option may have unexpected results and should not be used. SunOS 5.11 24 Feb 1998 cc(1B)
All times are GMT -4. The time now is 03:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy