* Compilation problem
@ 2003-09-26 13:16 David Maquenne
0 siblings, 0 replies; 4+ messages in thread
From: David Maquenne @ 2003-09-26 13:16 UTC (permalink / raw)
To: gcc-help
Hi!
I am having trouble compiling on AIX5.2 using gcc version 2.95.3
gcc -c -g -O2 -U__STR__ -D_THREAD_SAFE -D_USE_IRS conftest.c >&5
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/2.95.3/include/sys/signal.h:340,
from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/2.95.3/include/sys/wait.h:53,
from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/2.95.3/include/stdlib.h:227,
from configure:4906:
/usr/include/sys/context.h:169: parse error before `sigset64_t'
/usr/include/sys/context.h:169: warning: no semicolon at end of struct or union
/usr/include/sys/context.h:172: parse error before `}'
Any help would be appreciated.
Best regards,
David.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compilation problem
2006-01-31 9:42 James HAUXWELL
@ 2006-01-31 9:53 ` Brian Dessent
0 siblings, 0 replies; 4+ messages in thread
From: Brian Dessent @ 2006-01-31 9:53 UTC (permalink / raw)
To: gcc-help
James HAUXWELL wrote:
> $ ./configure '--enable-languages=c' --enable-threads=posix
You're building inside the source directory. That's not supported and
may break in strange ways. You should build in a completely separate
build directory that is not a subdirectory of the source tree. And give
the full path to configure when configuring. This is explained in the
installation directions.
> $ gcc pestoes.c -mno-cygwin -v pestoes.exe
You built a Cygwin compiler but now you're asking it to use the mingw
compiler...
> gcc: error trying to exec 'cc1': execvp: No such file or directory
...which does not exist. If you want to use a mingw compiler you will
have to build one (--target=mingw32). If you want a Cygwin compiler
that has a working -mno-cygwin you will have to build both a Cygwin gcc
and a mingw gcc and install them in the same tree. You may have to
tweak the specs file as well. If your end goal is a mingw compiler then
just build one and call it directly, instead of trying to use
-mno-cygwin.
Brian
^ permalink raw reply [flat|nested] 4+ messages in thread
* compilation problem
@ 2006-01-31 9:42 James HAUXWELL
2006-01-31 9:53 ` Brian Dessent
0 siblings, 1 reply; 4+ messages in thread
From: James HAUXWELL @ 2006-01-31 9:42 UTC (permalink / raw)
To: gcc-help
Hi,
I've gone through the installation instructions and read quit a lot, but
I am still unable to get a correct compile/installation.
I'm using
CYGWIN_NT-5.1 bri0203 1.5.19(0.150/4/2) 2006-01-18 11:15 i686 Cygwin
with gcc-4.2-20060121
I went to the test results mailing list and pulled the configure line
from a successful build, so I did the following
$ ./configure '--enable-languages=c' --enable-threads=posix
--enable-sjlj-exceptions --disable-libmudflap --disable-shared
--prefix=/usr/local/gcc42 --enable-bootstrap --disable-libgomp
--enable-languages=c
$ make bootstrap
wait 3 hours...
$ make install
everything seemed to succeed, apart from a message
make[3]: Leaving directory `/cygdrive/c/sources/gcc4.2/gcc-4.2-20060121'
/bin/sh: line 0: cd: stage3-gcc: No such file or directory
when I test the build after the install
$ gcc pestoes.c -mno-cygwin -v pestoes.exe
Using built-in specs.
Target: i686-pc-mingw32
Configured with: ./configure --enable-languages=c --enable-threads=posix
--enable-sjlj-exceptions --disable-libmudflap -
-disable-shared --prefix=/usr/local/gcc42 --enable-bootstrap
--disable-libgomp --enable-languages=c
Thread model: posix
gcc version 4.2.0 20060121 (experimental)
cc1 -quiet -v -D__MSVCRT__ -D__MINGW32__ -DWIN32 -D_WIN32 -D__WIN32
-D__WIN32__ -DWINNT -idirafter /usr/lib/../include/
w32api -idirafter ../../include/w32api pestoes.c -quiet -dumpbase
pestoes.c -mno-cygwin -mtune=generic -auxbase pestoes
-version -o /cygdrive/c/DOCUME~1/JAMESH~1/LOCALS~1/Temp/cc8TR2Uv.s
gcc: error trying to exec 'cc1': execvp: No such file or directory
and it looks like cc1.exe was not copied into the correct place (as well
as some more files). copying cc1.exe did not resolve this.
Anyone with some cygwin/gcc experience know what is going wrong, or if
my procedure is correct then do you have a build number that you have
tested and know works (by works I mean allows compilation at the end of
the process)
Cheers
Jim
^ permalink raw reply [flat|nested] 4+ messages in thread
* compilation problem
@ 2005-02-14 22:56 Boaz Lowenstein
0 siblings, 0 replies; 4+ messages in thread
From: Boaz Lowenstein @ 2005-02-14 22:56 UTC (permalink / raw)
To: gcc-help
Hi all,
i am trying to compile gcc 3.4.3 on solaris 10 (sparc)
SunOS uv 5.10 s10_72 sun4u sparc SUNW,Sun-Fire-V240
and getting the folloeing error :
./xgcc -B./ -B/usr/local/sparc-sun-solaris2.10/bin/ -
isystem /usr/local/sparc-sun-solaris2.10/include -
isystem /usr/local/sparc-sun-solaris2.10/sys-include -
L/usr/imriz/gccobj/gcc/../ld -O2 -DIN_GCC -W -Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-
style-definition -isystem ./include -fPIC -g -
DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -
shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--
version-script=libgcc/sparcv9/libgcc.map -o sparcv9
/libgcc_s.so.1.tmp -m64 libgcc/sparcv9/_muldi3.o
libgcc/sparcv9/_negdi2.o libgcc/sparcv9/_lshrdi3.o
libgcc/sparcv9/_ashldi3.o libgcc/sparcv9/_ashrdi3.o
libgcc/sparcv9/_cmpdi2.o libgcc/sparcv9/_ucmpdi2.o
libgcc/sparcv9/_floatdidf.o libgcc/sparcv9/_floatdisf.o
libgcc/sparcv9/_fixunsdfsi.o libgcc/sparcv9/_fixunssfsi.o
libgcc/sparcv9/_fixunsdfdi.o libgcc/sparcv9/_fixdfdi.o
libgcc/sparcv9/_fixunssfdi.o libgcc/sparcv9/_fixsfdi.o
libgcc/sparcv9/_fixxfdi.o libgcc/sparcv9/_fixunsxfdi.o
libgcc/sparcv9/_floatdixf.o libgcc/sparcv9/_fixunsxfsi.o
libgcc/sparcv9/_fixtfdi.o libgcc/sparcv9/_fixunstfdi.o
libgcc/sparcv9/_floatditf.o libgcc/sparcv9/_clear_cache.o
libgcc/sparcv9/_enable_execute_stack.o libgcc/sparcv9
/_trampoline.o libgcc/sparcv9/__main.o libgcc/sparcv9/_absvsi2
.o libgcc/sparcv9/_absvdi2.o libgcc/sparcv9/_addvsi3.o
libgcc/sparcv9/_addvdi3.o libgcc/sparcv9/_subvsi3.o
libgcc/sparcv9/_subvdi3.o libgcc/sparcv9/_mulvsi3.o
libgcc/sparcv9/_mulvdi3.o libgcc/sparcv9/_negvsi2.o
libgcc/sparcv9/_negvdi2.o libgcc/sparcv9/_ctors.o
libgcc/sparcv9/_ffssi2.o libgcc/sparcv9/_ffsdi2.o
libgcc/sparcv9/_clz.o libgcc/sparcv9/_clzsi2.o libgcc/sparcv9
/_clzdi2.o libgcc/sparcv9/_ctzsi2.o libgcc/sparcv9/_ctzdi2.o
libgcc/sparcv9/_popcount_tab.o libgcc/sparcv9/_popcountsi2.o
libgcc/sparcv9/_popcountdi2.o libgcc/sparcv9/_paritysi2.o
libgcc/sparcv9/_paritydi2.o libgcc/sparcv9/_divdi3.o
libgcc/sparcv9/_moddi3.o libgcc/sparcv9/_udivdi3.o
libgcc/sparcv9/_umoddi3.o libgcc/sparcv9/_udiv_w_sdiv.o
libgcc/sparcv9/_udivmoddi4.o libgcc/sparcv9/unwind-dw2.o
libgcc/sparcv9/unwind-dw2-fde.o libgcc/sparcv9/unwind-sjlj.o
libgcc/sparcv9/gthr-gnat.o libgcc/sparcv9/unwind-c.o -lc &&
rm -f libgcc_s_sparcv9.so && if [ -f sparcv9/libgcc_s.so.1 ];
then mv -f sparcv9/libgcc_s.so.1 sparcv9/libgcc_s.so.1
.`basename `; else true; fi && mv sparcv9/libgcc_s.so.1.tmp
sparcv9/libgcc_s.so.1 && ln -s sparcv9/libgcc_s.so.1
libgcc_s_sparcv9.so
libgcc/sparcv9/libgcc.map:76 / by zero
collect2: ld returned 1 exit status
make[2]: *** [sparcv9/libgcc_s_sparcv9.so] Error 1
make[2]: Leaving directory `/usr/imriz/gccobj/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/usr/imriz/gccobj/gcc'
make: *** [all-gcc] Error 2
i am using gnu tools :
as
GNU assembler version 2.15 (sparc-sun-solaris2.10) using BFD
version 2.15
ld
GNU ld version 2.15
i would appreciate any help
Cheers,
odin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-31 9:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-26 13:16 Compilation problem David Maquenne
2005-02-14 22:56 compilation problem Boaz Lowenstein
2006-01-31 9:42 James HAUXWELL
2006-01-31 9:53 ` Brian Dessent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).