Re: How to set CXXFLAGS in a login shell on HP-UX



Dennis, Alexander and Paul Thank you very much for all your inputs and
time
I was able to compile it successfully :)
The command I gave was
/export/home/amitbas/systinet/server_cpp65/share/doc/waspc/demos>./configure
CXX= /opt/aCC/bin/aCC

I verified with the The log file: config.log entries are correct and
configure exited with 0 status that's success!
1381 configure: exit 0
Thank you for all your help.



Dennis Handly wrote:
Amit wrote:
: The current version of aCC compiler installed on our HP-UX is
: HP aC++ B3910B A.03.37

: HP aC++ B3910B A.03.30 Language Support Library

That's pretty old.
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1743,00.html

: I executed the command as below on my HP-UX box
: /export/home/amitbas/systinet/server_cpp65/share/doc/waspc/demos>./configure
: CXX= /opt/aCC/bin/aCC CXXFLAGS="-g -O "

You can't have a space after the "=", try:
./configure CXX=/opt/aCC/bin/aCC CXXFLAGS="-g -O "

Note using both -g and -O may get you into trouble.
Use one or the other.

: configure: WARNING: invalid host type: /opt/aCC/bin/aCC

This shows that /opt/aCC/bin/aCC was taken as something else.

: checking for aCC... no

Hopefully this should be good now.

: ------------------------------------------------------
: In spite of the location of aCC comiler for compiling >./configure CXX=
: /opt/aCC/bin/aCC CXXFLAGS="-g -O "
: we are still getting the errors,
: Amit

Try again without that space.

.



Relevant Pages

  • Re: Problem in calling c programs and compiling them in tcl/tk
    ... Are you using Tcl's glob command to do this? ... using exec gcc filename.c and later exec ./a.out filename.c. ... the execution of a command that might generate a Tcl error. ... i can call a c program and compile it? ...
    (comp.lang.tcl)
  • RE: Console Application Testing
    ... vbc.exe could be accessed in Visual Studio Command ... If you want to compile the project in command prompt with vbc.exe, ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Macro prompt
    ... I'm sorry, Pcman, I don't think I can help here. ... If you want to test the action of clicking a command button on a form, I suggest you test it by clicking the command button on the form, not by trying to run the Click event code from within the VBE window. ... Steve Schapel, Microsoft Access MVP ... options pop-up menu the the "Compile" section has already checked off Compile ...
    (microsoft.public.access.macros)
  • Re: Using MATLAB functions in C code
    ... interface to MATLAB engine.When I tried to ... option files needed.The command is as follows: ... MATLAB fft amd ifft functions.I just want to compile them like: ... int mlhs, mrhs; ...
    (comp.soft-sys.matlab)
  • Re: [SLE] Compile problem
    ... > This is the first compile time problem I have faced in my relatively short ... So ERRORs stop you getting output, WARNINGs alert you to be ... Make sure that from your command line, ... can you engage any response from the command?] ...
    (SuSE)