2008-01-25 05:12:19 increase stack with bfin-linux-uclibc
Piggebu Piggebu (ANDORRA)
Message: 50129 Hi all
I am facing the following problem:
I have precompiled libraries, compiled with the bfin-linux-uclibc toolchain.
Now I am trying to compile my own programme which uses these libraries. A sample worked fine while compiling with the bfin-linux-uclibc, however, the full programme needs more memory on the stack.
If the precompiled libraries were compiled with the bfin-uclinux toolchain this would work with:
bfin-uclinux-gcc -Wl,-elf2flt="-s 8192" application.c
(from http://docs.blackfin.uclinux.org/doku.php?id=debuging_applications)
how do I increase now the stack with the bfin-linux-uclibc toolchain?
Regards
Piggebu
PS: namely I would need the libusb library in the bfin-linux-uclibc format... however to compile it myself standalone without the dist-config tools would be a challenge for me :-/
QuoteReplyEditDelete
2008-01-25 06:39:39 Re: increase stack with bfin-linux-uclibc
Mike Frysinger (UNITED STATES)
Message: 50140 the document you quoted already says how to change the stack size for FDPIC ELF ... just scroll down to the next section right after the FLAT one you've read
QuoteReplyEditDelete
2008-01-25 11:09:05 Re: increase stack with bfin-linux-uclibc
Piggebu Piggebu (ANDORRA)
Message: 50153 Hi Mike,
sorry about my lazy investigations... your hint solved the problem, the programme works fine.
Thanks
Piggebu