Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  5 Apr 1999 11:54:26 -0700 (PDT)
From:      jef53313@bayou.uh.edu
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/10965: lcc-3.6 unable to compile anything
Message-ID:  <19990405185426.EA438154BB@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         10965
>Category:       ports
>Synopsis:       lcc-3.6 unable to compile anything
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr  5 12:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Fosburgh
>Release:        3.1-STABLE
>Organization:
>Environment:
FreeBSD fosburgh.dyndns.org 3.1-STABLE FreeBSD 3.1-STABLE #15: Thu Mar 25 12:15:31 CST 1
999     root@dorm-36314.rh.uh.edu:/usr/src/sys/compile/31R1  i386      
>Description:
The port of lcc 3.6 does fails to compile any programs because 'long long' is not understood.
>How-To-Repeat:
cd /usr/ports/lang/lcc && make install

Attempt to compile any C program:

#include <stdlib.h>
int main(void)
{  
  printf("Hello, world!\n");
  return(0);
}

lcc hello.c

The compile will fail with:

hello.c: /usr/include/machine/ansi.h:106: invalid use of `long'
hello.c: /usr/include/machine/ansi.h:107: invalid use of `long'                         
>Fix:
Upgrade to 4.1.  I have been working on this but so far have not successfully gotten the program to build.  Require new driver.
The driver for the current version resides in files/FreeBSD.c.in
May also need a new md file (files/FreeBSD.md.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990405185426.EA438154BB>