Article View: gnu.gcc.help
Article #46517invalid Khoros-Makefiles madde by cpp (?)
From: Bjoern Dietz
Date: Fri, 11 Nov 1994 14:40
Date: Fri, 11 Nov 1994 14:40
53 lines
2811 bytes
2811 bytes
During installation of Khoros (already implemented on several platforms)
the Makefiles (installed by imake) got somehow scrambled because of cpp
(as we suspect). Does anyone experienced this behavior before, and how
did he cope with it.
We tried to compile another package (pcb-1.1.1) with almost the same
behavior during pre-building.
Our sys: Linux Slackware 2.0.0 / 486 etc.. / Khoros 1.2 / gcc 2.5.8 / ..
Here is a sample of a Makefile being scambled (by cpp ?):
# Makefile generated by imake - do not edit!
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space. Imake tries to compensate
# for this, but is not always successful.
#
SHELL = /bin/sh
---------^[TAB!]
TOP = /home/dietz/khoros /src
------------------------^
CURRENT_DIR = .
AR = ar cq
BOOTSTRAPCFLAGS =
CC = gcc -bsd -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return
LIBCC = gcc -bsd -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return
...
INCROOT = /home/dietz/khoros /include
-----------------------^
KLIBDIR = /home/dietz/khoros /lib
------------------------^
FORLIBDIR = FortranLibDir
XLIBDIR = XLibDir
EXTRALIBDIR = ExtraLibDir
CONFIGDIR = /home/dietz/khoros /repos/config/imake_conf
------------------------^
MANDIR = /home/dietz/khoros /man/man1
LIBMANDIR = /home/dietz/khoros /man/man3
------------------------------^
...
Positions signed with a "--^" seem to be spaces and in the line specifying the
SHELL we found a TAB. These could be one reason why the compile failed.
Our question is now how we can get a valid Makefile ?
Thanks for any help in advance
Bjoern Dietz, FH-Reutlingen, Germany
email: dietz@bv2.at.fh-reutlingen.de / u193036@uebung3.rz.fh-reutlingen.de
Technical Details
Message-ID:
<39vvp4$p7k@news.belwue.de>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!unibwh.unibw-hamburg.de!news.rrz.uni-hamburg.de!news.dkrz.de!news.dfn.de!news.belwue.de!uebung3.rz.fh-reutlingen.de!u193036Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,4d041991503fa261,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-11-11 06:40:36 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!unibwh.unibw-hamburg.de!news.rrz.uni-hamburg.de!news.dkrz.de!news.dfn.de!news.belwue.de!uebung3.rz.fh-reutlingen.de!u193036 From: u193036@uebung3.rz.fh-reutlingen.de (Bjoern Dietz) Newsgroups: gnu.gcc.help Subject: invalid Khoros-Makefiles madde by cpp (?) Date: 11 Nov 1994 14:40:36 GMT Organization: Fachhochschule fuer Technik und Wirtschaft, Reutlingen, Germany Lines: 53 Sender: Bjoern Dietz, FH-Reutlingen, Germany (dietz@bv2.at.fh-reutlingen.de) Distribution: world Message-ID: <39vvp4$p7k@news.belwue.de> NNTP-Posting-Host: uebung3.rz.fh-reutlingen.de