Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* CCC compiler...
@ 1999-09-21 15:15 Tuff Guy
  1999-09-21 17:38 ` Chris Kloiber
  1999-09-21 21:04 ` CCC compiler... building shared libraries (Tcl 8.2.0) Michael J. Donahue
  0 siblings, 2 replies; 6+ messages in thread
From: Tuff Guy @ 1999-09-21 15:15 UTC (permalink / raw)
  To: axp-list@redhat.com

How has it performed for everyone. I have used it several times. Sometimes
success, sometimes not. I have compiled wmaker, and some others with it. I get
much progress compiling the latest gimp development release. But it eventually
will fail. I have successfully replaced the libm.a(so) with libcpml.a(so). I
even added an include in my math.h to get the fast entry points from
libcpml.h. 

The ccc has much stricter compile rules. So some of the bad practices of
coding is not accepted readily. But for the most part the compiler is
functional. 
-- 
---Tuff Guy....

I'm as Tuff as they come!!


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CCC compiler...
  1999-09-21 15:15 CCC compiler Tuff Guy
@ 1999-09-21 17:38 ` Chris Kloiber
  1999-09-21 17:59   ` Tuff Guy
  1999-09-21 21:04 ` CCC compiler... building shared libraries (Tcl 8.2.0) Michael J. Donahue
  1 sibling, 1 reply; 6+ messages in thread
From: Chris Kloiber @ 1999-09-21 17:38 UTC (permalink / raw)
  To: axp-list

Tuff Guy wrote:

> How has it performed for everyone. I have used it several times. Sometimes
> success, sometimes not. I have compiled wmaker, and some others with it. I get
> much progress compiling the latest gimp development release. But it eventually
> will fail. I have successfully replaced the libm.a(so) with libcpml.a(so). I
> even added an include in my math.h to get the fast entry points from
> libcpml.h.

I can't use it at all. I probably just don't know how. I tried replacing "gcc"
with "ccc" in the Makefile. Dies almost instantly.  On a similar note, using gcc,
how dows one enable optimizations for your specific machine (IE: I have a 164SX)
I tried commenting out the CONFIG_ALPHA_GENERIC=y and setting
CONFIG_ALPHA_SX164=y but it dies partway through with missing files...

Chris Kloiber



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CCC compiler...
  1999-09-21 17:38 ` Chris Kloiber
@ 1999-09-21 17:59   ` Tuff Guy
  0 siblings, 0 replies; 6+ messages in thread
From: Tuff Guy @ 1999-09-21 17:59 UTC (permalink / raw)
  To: axp-list

More information is needed. It might be the compile complaining about coding
style, and rules. Tru64 compilers are very pickey. Give me more insite.

-- 
---Tuff Guy....

I'm as Tuff as they come!!


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CCC compiler... building shared libraries (Tcl 8.2.0)
  1999-09-21 15:15 CCC compiler Tuff Guy
  1999-09-21 17:38 ` Chris Kloiber
@ 1999-09-21 21:04 ` Michael J. Donahue
  1 sibling, 0 replies; 6+ messages in thread
From: Michael J. Donahue @ 1999-09-21 21:04 UTC (permalink / raw)
  To: axp-list

Hi all,

I'm trying to build Tcl 8.2.0 using ccc.  All goes well until the final
link step, which croaks with the message "undefined reference to
`_fpdata'".  Here are the last couple of lines from the build:

########################################################################

ccc -shared -o libtcl8.2.so regcomp.o regexec.o regfree.o regerror.o tclAlloc.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o tclCompExpr.o tclCompile.o tclDate.o tclEncoding.o tclEnv.o tclEvent.o tclExecute.o tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o tclIOSock.o tclIOUtil.o tclLink.o tclListObj.o tclLiteral.o tclLoad.o tclMain.o tclNamesp.o tclNotify.o tclObj.o tclPanic.o tclParse.o tclParseExpr.o tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o tclResolve.o tclResult.o tclScan.o tclStringObj.o tclThread.o tclStubInit.o tclStubLib.o tclTimer.o tclUtf.o tclUtil.o tclVar.o tclMtherr.o tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o tclUnixFile.o tclUnixPipe.o tclUnixSock.o tclUnixTime.o tclUnixInit.o tclUnixThrd.o  tclUnixNotfy.o  tclLoadDl.o -ldl  -lieee -lm -lc
: libtcl8.2.so
ccc -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES  -fPIC -I./../generic -I. -mieee  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1         -DTCL_SHLIB_EXT=\".so\" ./../unix/tclAppInit.c
ccc -rdynamic tclAppInit.o -L/homecascade/donahue/ftp/tcl8.2.0/unix -ltcl8.2 -ldl  -lieee -lm -lc \
        -Wl,-rpath,/homecascade/donahue/tcl/tcl8.2.0/alpha-unknown-linux/lib -o tclsh
/homecascade/donahue/ftp/tcl8.2.0/unix/libtcl8.2.so: undefined reference to `_fpdata'
collect2: ld returned 1 exit status
make: *** [tclsh] Error 1

########################################################################

Any ideas?

TIA,

-mike

-- 
Michael J. Donahue
National Institute of Standards and Technology
Mathematical & Computational Sciences Division
100 Bureau Dr Stop 8910
Gaithersburg, MD 20899-8910
email: michael.donahue@nist.gov
voice: (301) 975-5424
  fax: (301) 990-4127
  web: http://math.nist.gov/mcsd/Staff/MDonahue/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CCC compiler... building shared libraries (Tcl 8.2.0)
@ 1999-09-22 14:38 Tuff Guy
  0 siblings, 0 replies; 6+ messages in thread
From: Tuff Guy @ 1999-09-22 14:38 UTC (permalink / raw)
  To: axp-list@redhat.com

I would grep through the c files that built libtcl.so for _fpdata. It is
possible that the definition was #ifdef out because of assumptions and
#defines made according the compiler being used. Locate where the reference is
then, try to find where it is defined. 

I actually have been making progess with the ccc, cpml.h and libcpml.a(so). I
have compiled WindowMaker, wterm, gimp, xscreensaver and a couple of other
apps with it. There are some trip ups along the way but they easy to overcome,
for the most part.

Gimp compiles and runs but the perl plug-ins all croak at initialization. I am
using the 1.9 development version. 

I am still trying to figure out xmame. One of the emulated cpu's have INLINE
functions that are not being handled right by ccc. The libs and headers are
fine with gcc though.

Any other experiences.
-- 
---Tuff Guy....

I'm as Tuff as they come!!


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CCC compiler... building shared libraries (Tcl 8.2.0)
@ 1999-09-23  4:11 Designer Seven
  0 siblings, 0 replies; 6+ messages in thread
From: Designer Seven @ 1999-09-23  4:11 UTC (permalink / raw)
  To: axp-list

Although I still haven't been able to get WindowMaker
0.60.0 to compile with ccc, ... just to add to the
list, I did get Mesa to compile and xscreensaver
too.... my OpenGL screensavers are noticeably
faster...

D.

--- Tuff Guy <wd@unx.dec.com> wrote:
> I would grep through the c files that built
> libtcl.so for _fpdata. It is
> possible that the definition was #ifdef out because
> of assumptions and
> #defines made according the compiler being used.
> Locate where the reference is
> then, try to find where it is defined. 
> 
> I actually have been making progess with the ccc,
> cpml.h and libcpml.a(so). I
> have compiled WindowMaker, wterm, gimp, xscreensaver
> and a couple of other
> apps with it. There are some trip ups along the way
> but they easy to overcome,
> for the most part.
> 
> Gimp compiles and runs but the perl plug-ins all
> croak at initialization. I am
> using the 1.9 development version. 
> 
> I am still trying to figure out xmame. One of the
> emulated cpu's have INLINE
> functions that are not being handled right by ccc.
> The libs and headers are
> fine with gcc though.
> 
> Any other experiences.
> -- 
> ---Tuff Guy....
> 
> I'm as Tuff as they come!!
> 
> -- 
> To unsubscribe: send e-mail to
> axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to
> axp-list@redhat.com
> 
> 

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-09-23  4:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-21 15:15 CCC compiler Tuff Guy
1999-09-21 17:38 ` Chris Kloiber
1999-09-21 17:59   ` Tuff Guy
1999-09-21 21:04 ` CCC compiler... building shared libraries (Tcl 8.2.0) Michael J. Donahue
  -- strict thread matches above, loose matches on Subject: below --
1999-09-22 14:38 Tuff Guy
1999-09-23  4:11 Designer Seven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox