From: "W Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: error logs RE: compiling X with ccc
Date: Mon, 11 Mar 2002 19:30:49 -0600 [thread overview]
Message-ID: <3C8D5A49.16CB31E0@paralleldata.com> (raw)
In-Reply-To: ODEEIIAMNNHHFAMGOBAPEEOLCAAA.voodoo@alphadriven.org
Peter Petrakis wrote:
>
> > u'd probably get a better idea at why alloca is missing ( from the ccc
> > libraries? maybe ) is there was a -v to list out all the options passed
>
> I don't know honestly. I'm not that familiar with ccc nevermind the linker.
>
> > to the various ccc phases. In particular the /bin/ld switches that ccc
> > may/maynot know about. an then the possible solution would be to add
> > -lmalloc to this build
>
> There doesnt seem to be a -lmalloc on this system, Thats what ld claims. I
> thought that functionality as in -lc?
>
> voodoo@asterix:~/Xfree/build/config/imake > ccc -o
> imake -O0 -g -mcpu=ev6 -ansi -Wall -Wpointer-arith -Wstrict-prototypes -Wmis
> sing-prototypes -Wmissing-declarations -Wnested-externs -pipe -g
> imake.o -Wl,-rpath-link,../../exports/lib -lmalloc -lc
> /usr/bin/ld: cannot find -lmalloc
> collect2: ld returned 1 exit status
>
It's not there because it's a builtin compiler function, meaning
the compiler just sticks a couple lines if asm code in place of the
call. Which makes sense considering it's just manipulating the stack
pointer. If you look at alloca.h, it shows alloca() is redefined when
__GNUC__ is defined. So, you need to figure out how ccc does the same
thing.
Wes
next prev parent reply other threads:[~2002-03-12 1:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-11 19:43 compiling X with ccc Peter Petrakis
2002-03-11 22:24 ` error logs " Peter Petrakis
2002-03-11 23:30 ` Uncle George
2002-03-12 0:24 ` Peter Petrakis
2002-03-12 1:25 ` Uncle George
2002-03-12 1:36 ` Peter Petrakis
2002-03-12 2:42 ` Uncle George
2002-03-12 1:30 ` W Bauske [this message]
2002-03-12 1:50 ` Uncle George
2002-03-12 1:56 ` Uncle George
2002-03-12 0:23 ` W Bauske
2002-03-12 0:49 ` Michal Jaegermann
2002-03-12 1:33 ` yeah baby :-) " Peter Petrakis
2002-03-12 2:06 ` Uncle George
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox