Bug 88565 - C program compiled as C++
Summary: C program compiled as C++
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: vconfig
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2003-04-10 22:28 UTC by Trent Piepho
Modified: 2015-03-05 01:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-08-04 14:29:35 UTC

Attachments (Terms of Use)

Description Trent Piepho 2003-04-10 22:28:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021203

Description of problem:
The vconfig utility is a simple program written in C, but the non-automake build
system compiles it with g++ (for no reason).  This gives the program a
dependency on the libstdc++, one that it doesn't need.  It also makes it hard to
run the program from a thin-client or rescue mode situation where the c++
runtime might not be available or the correct version. Fixing this is as simple
as adding CC=gcc to the make command in the %build section of the spec file.  Or
editing the MakeInclues file to specify the correct compiler.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. uhh, build rpm?

Comment 1 Phil Knirsch 2004-08-04 14:29:35 UTC
I've just checked, it already compiles correctly in FC1 and later.

I'm therefore closing it as fixed in currentrelease.

Read ya, Phil

Note You need to log in before you can comment on or make changes to this bug.