Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2001 14:32:18 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Chris Casey <chriss@phys.ksu.edu>
Cc:        "David O'Brien" <obrien@FreeBSD.ORG>, alpha@FreeBSD.ORG
Subject:   Re: ccc
Message-ID:  <15134.30514.551414.300471@grasshopper.cs.duke.edu>
In-Reply-To: <Pine.SOL.3.96L.1010606130539.537F-100000@schottky.phys.ksu.edu>
References:  <20010606092327.C96129@dragon.nuxi.com> <Pine.SOL.3.96L.1010606130539.537F-100000@schottky.phys.ksu.edu>

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

Chris Casey writes:
 > 
 > Here is what I get with devtools in:
 > 
 > /usr/bin/ccc -c -O3 -I. -I../src/headers -I../src/language -I/usr/include
 > -o gp.o ../src/gp/gp.c
 > cc: Error: /usr/include/libio.h, line 363: Ill-formed parameter type list.
 > (parmtyplist)
 > extern int _IO_vfscanf __P ((_IO_FILE * __restrict, const char *
 > __restrict,
 > -----------------------^
 > cc: Error: /usr/include/libio.h, line 365: Ill-formed parameter type list.
 > (parmtyplist)
 > extern int _IO_vfprintf __P ((_IO_FILE *__restrict, const char
 > *__restrict,
 > ------------------------^
 > *snip*
 > 
 > All the errors are from *.h files in /compat/linux/usr/include

Naturally.  Since the compiler is running in linux mode, its going to
find the linux headers first.  And they won't work in FreeBSD, so
you loose.   You cannot have linux_devtools installed & still be
able to generate native binaries.

I think the compaq compilers are statically linked.  I could conceive
of a cheesy kernel hack to not search the /compat/linux hierarchy 
for static binaries of a certain brand, but it would be far better
to just freebsd-ify fortran.

Drew



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




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