Re: getpagesize() problems

Michele Alberti <[email protected]>
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
> Like I told you before, use diet with the -v option to see what compile
> and link options it uses:
>
> $ diet -v cc *.o
> cc -nostdlib -static -L/opt/diet/lib-i386 /opt/diet/lib-i386/start.o *.o
> -isystem /opt/diet/include -D__dietlibc__ /opt/diet/lib-i386/libc.a -lgcc

Ah, I see!

> But it's better to just use the wrapper instead, as it may do other things
> as well or change in the future. What is wrong with doing e.g. CC=diet cc
> in your Makefile? Is it that it hardcodes the paths what makes it unsuitable
> for your use? Then use the non-install version ./bin-i386/diet in the source
> tree and distribute that together with at least diet's include files and libs.

In general, I don't want to include all dietlibc directory into the
project and makes it
when make the project. But I'll investigate.
Thanks,

michele
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.