[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Are BSD partitions not supported?
From: |
C. P. Ghost |
Subject: |
Re: Are BSD partitions not supported? |
Date: |
Wed, 19 May 2010 20:33:15 +0200 |
2010/5/19 Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden>:
> Mailer. Now I attach it
Ah, thanks. Patches fine now. I get a compile error:
gcc -nostdlib -static-libgcc -m32 -Wl,-r,-d -o pre-regexp.o
regexp_mod-gnulib_regex.o regexp_mod-commands_regexp.o
nm -g --defined-only -P -p pre-regexp.o | sed 's/^\([^ ]*\).*/\1
regexp/' > def-regexp.lst
gcc -Icommands -I./commands -I./include -I. -I./include -Wall -W
-ffreestanding -Os -DGRUB_MACHINE_PCBIOS=1 -DMACHINE=I386_PC -Wall -W
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef
-Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1
-falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -m32
-fno-stack-protector -mno-stack-arg-probe -Werror -mrtd -mregparm=3
-DGRUB_FILE=\"commands/terminal.c\" -MD -c -o
terminal_mod-commands_terminal.o commands/terminal.c
cc1: warnings being treated as errors
commands/terminal.c: In function 'grub_cmd_terminal_input':
commands/terminal.c:204: warning: dereferencing type-punned pointer
will break strict-aliasing rules
commands/terminal.c:205: warning: dereferencing type-punned pointer
will break strict-aliasing rules
commands/terminal.c: In function 'grub_cmd_terminal_output':
commands/terminal.c:219: warning: dereferencing type-punned pointer
will break strict-aliasing rules
commands/terminal.c:220: warning: dereferencing type-punned pointer
will break strict-aliasing rules
gmake: *** [terminal_mod-commands_terminal.o] Error 1
Maybe because FreeBSD's system gcc is older?
$ gcc --version
gcc (GCC) 4.2.1 20070719 [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I can try to compile it with a newer gcc, but it'll take some time
to compile gcc first...
Thanks,
-cpghost.
--
Cordula's Web. http://www.cordula.ws/
- Are BSD partitions not supported?, C. P. Ghost, 2010/05/16
- Re: Are BSD partitions not supported?, C. P. Ghost, 2010/05/18
- Re: Are BSD partitions not supported?, Vladimir 'φ-coder/phcoder' Serbinenko, 2010/05/18
- Re: Are BSD partitions not supported?, C. P. Ghost, 2010/05/18
- Re: Are BSD partitions not supported?, Vladimir 'φ-coder/phcoder' Serbinenko, 2010/05/18
- Re: Are BSD partitions not supported?, C. P. Ghost, 2010/05/18
- Re: Are BSD partitions not supported?, C. P. Ghost, 2010/05/19
- Re: Are BSD partitions not supported?, Vladimir 'φ-coder/phcoder' Serbinenko, 2010/05/19
- Re: Are BSD partitions not supported?,
C. P. Ghost <=
- Re: Are BSD partitions not supported?, C. P. Ghost, 2010/05/19
- Re: Are BSD partitions not supported?, Vladimir 'φ-coder/phcoder' Serbinenko, 2010/05/19
- Re: Are BSD partitions not supported?, Navdeep Parhar, 2010/05/19
- Re: Are BSD partitions not supported?, C. P. Ghost, 2010/05/19
- Re: Are BSD partitions not supported?, C. P. Ghost, 2010/05/19
- Re: Are BSD partitions not supported?, Vladimir 'φ-coder/phcoder' Serbinenko, 2010/05/19
- Re: Are BSD partitions not supported?, C. P. Ghost, 2010/05/19
- Re: Are BSD partitions not supported?, C. P. Ghost, 2010/05/20
- Re: Are BSD partitions not supported?, Grégoire Sutre, 2010/05/23
- Re: Are BSD partitions not supported?, C. P. Ghost, 2010/05/23