> if my license is really expired what should I do? can I get a 
> new free one from somewhere?

Forte licenses are $$ - you have to pay unfortunately....

> could u please tell me how to check if my path point to the 
> correct path? 
> and how to point to the correct path? I just installed maxdb 
> "all" by default path(with no change).

# echo $PATH

if it's not there add it (depending on you shell)

csh:
# setenv PATH ( $PATH /opt/SUNWspro/bin )

ksh/sh/bash:
# export PATH=$PATH:/opt/SUNWspro/bin

> I am confused about this command. Shoud I just type 
> "CFAGS=-xarch=v9 cpc" 
> before "gcc -o ...." ? 
> Why my file can be compiled in Linux(32bit,maxdb7.5.0.8) but can not 
> compiled in solaris(64bit,maxdb7.5.0.12)?

You are mixing some things here:

a) Linux' compiler is gcc, that's the compiler the database was built.
   So with gcc you can build your application on Linux

b) Suns Compiler is Forte - you can't use gcc on Solaris, you _must_ use
   Forte - if you don't have a valid license you're lost. Maybe you can
   re-register on http://access1.sun.com/forte/ to get another 30 days
   evaluation but I don't know if that works.

c) The name of the Sun Compiler is "CC", not "gcc". 

To compile a file on Linux you enter

# gcc -o <outfile> <sourcefile.c>
# g++ -o <outfile> <sourcefile.cpp>

to compile on Solaris/64bit you need

# CC -xarch=v9 -o <outfile> <sourcefile.cpp>
# cc -xarch=v9 -o <outfile> <sourcefile.c>



Greetz,

SIEGENIA-AUBI KG
Informationswesen
 
i.A.
 
Markus DÃhr
SAP-CC/BC, SAPDB-DBA

Tel.:    +49 6503 917-152
Fax:     +49 6503 917-7152
E-Mail: [EMAIL PROTECTED]
Internet: http://www.siegenia-aubi.com 
  

> -----Original Message-----
> From: lu peng [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, May 18, 2004 9:06 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Problem with CPC!!
> 
> Thanks Schroeder,
> 
> 
> 
> >Hello,
> >
> >     (1)     When using the Sun Workshop compiler, the 
> license of your compiler, 
> the compiler's license was found invalid.
> >             You should check that before retrying.
> 
> 
> 
> 
> >
> >     (2)     I can only guess about what's happening with 
> the gcc experiment, but 
> for me it looks like you compiled for a 32-bit
> >             target, and wanted to link with 64 bit 
> libraries. As the precompiler 
> runtime library is C, it may indeed possibly that
> >             you had succeed otherwise. You may want to try 
> the '-m64' switch of gcc.
> 
> 
> sure, I really want to try this, but where should I put this 
> parameter in 
> my command?
> 
> 
> Thanks for your time again.
> 
> Lu
> 
> _________________________________________________________________
> äèæçæåèèäæïèäç MSN Messenger:  
> http://messenger.msn.com/cn  
> 
> 
> -- 
> MaxDB Discussion Mailing List
> For list archives: http://lists.mysql.com/maxdb
> To unsubscribe:    
> http://lists.mysql.com/[EMAIL PROTECTED]
> 

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to