OpenAmiga (551/959)

From:Jesse McClusky
Date:23 Aug 2000 at 00:19:31
Subject:Re: AMIOPEN: VPCC troubles

> From: "Matthew J Fletcher" <amimjf@connectfree.co.uk>
>
> I was trying to build regina (GNU rexxx intrpreter), however vpcc seems to
fall
> over with this..
>
<snip>
>
> I know this looks like a problem with the makefile, but it works ok under
linux
> gcc, am i missing something ?, and why on earth does vpcc care about the
suffix ?

Because it uses the suffix to determine what to do with a file.
It only recognizes:
.c - standard C source
.cxx .cc .cpp .C - C++ source
.i - C preprocessor output
.ii - C++ preprocessor output
.h - C/C++ header file to pre-process
.s - unlinked assembler source
.asm - linked assembler source
.s .ism - unlinked library assembler source
.o - unlinked object code
.a - archive library (object code files)
.so - shared library description

vpcc is only a wrapper that helps to build executables by calling
vpcpp, vpcc1, vpas, vpld, and asm automatically depending on
what it determines it needs to do. Try inserting "-n -v" just after
"vpcc " to see what it's actually doing.

Jesse

Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html