Operating System - HP-UX
1832952 Members
2657 Online
110048 Solutions
New Discussion

gcc compile problem on HP-UX 10.2

 
Alain Coutu
Occasional Contributor

gcc compile problem on HP-UX 10.2

I'm trying to compile some programs, that were initially compiled under HP-UX 9.03, on HP-UX 10.2 using gcc, version 2.95.2. The compile is run using Makefiles and uses multiple files. When it compiles, the following error appears: Cannot specify -o with -c or -S and multiple compilations. I removed the four module that were causing the error and it worked fine. However, as soon as I put one of the four modules back, the error disappear. Also, the Makefile used is attached for reference. Why is this error only appears with four modules and not the others?