[BRLTTY] BRLTTY in GRUB2

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Tue Apr 3 16:49:43 EDT 2012


On 03.04.2012 22:44, Dave Mielke wrote:
> [quoted lines by Vladimir 'φ-coder/phcoder' Serbinenko on 2012/04/03 at 22:35 +0200]
>
>>> -ffreestanding, -nostdinc, and -nostdlib are all being passed to gcc. This is 
>>> working for includes - only grub's headers are beinbg checked. For linking, 
>>> however, it's still using the libraries on my system. Do I need more options 
>>> than just -nostdlib?
>> Make sure that -nostdlib is passed in linking stage.
> Yes, they indeed are. :-(
I mean on make time.
> configure:17154: checking for fork
> configure:17210: gcc -o conftest -g -O2  -DGRUB_RUNTIME -DGRUB_FILE=__FILE__ -DNESTED_FUNC_ATTR= -D_WCHAR_T_DECLARED=1 -isystem /usr/lib/gcc/i686-redhat-linux/4.4.4/include -I/home/dave/brltty/projects/grub/grub-root -I/home/dave/brltty/projects/grub/grub-root/grub-core/lib/posix_wrap/include -I/home/dave/brltty/projects/grub/grub-root/include -std=gnu99 -Wall -ffreestanding -nostdinc -nostdlib   conftest.c -lgpm -lnsl -lsupc++  >&5
> /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000008048270
> configure:17217: $? = 0
> configure:17237: result: yes
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://mielke.cc/pipermail/brltty/attachments/20120403/c975f3af/attachment.sig>


More information about the BRLTTY mailing list