Configure: Error: C Compiler Cannot Create Executables


Pleng

Well-Known Member
Joined
Dec 28, 2006
Messages
3,030
Ive installed the compiler & dev tools as per the instructions linked to in the sticky topic, but every time I try and compile anything I get the error message 'configure: error: C compiler cannot create executables. See config.log for more details'. Config log contains this...

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.64. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = plengdora
uname -m = armv7l
uname -r = 2.6.27.46-omap1
uname -s = Linux
uname -v = #1 Thu Aug 26 05:51:59 CEST 2010

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = armv7l
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2296: checking for wish
configure:2329: result: no
configure:2452: checking for gcc
configure:2468: found /usr/bin/gcc
configure:2479: result: gcc
configure:2708: checking for C compiler version
configure:2717: gcc --version >&5
gcc (GCC) 4.3.3
Copyright (C) 2008 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.

configure:2728: $? = 0
configure:2717: gcc -v >&5
Using built-in specs.
Target: arm-angstrom-linux-gnueabi
Configured with: /OE/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gcc-4.3.3-r19.1/gcc-4.3.3/configure --build=x86_64-linux --host=arm-angstrom-linux-gnueabi --target=arm-angstrom-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --with-gnu-ld --enable-shared --enable-languages=c,c++,objc,fortran --enable-threads=posix --disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-gnueabi- --enable-target-optspace --enable-cheaders=c_std --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap --with-local-prefix=/usr/local --with-gxx-include-dir=/usr/include/c++/4.3.3 --with-build-sysroot=/OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi --enable-__cxa_atexit
Thread model: posix
gcc version 4.3.3 (GCC)
configure:2728: $? = 0
configure:2717: gcc -V >&5
gcc: '-V' option must have argument
configure:2728: $? = 1
configure:2717: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:2728: $? = 1
configure:2750: checking for C compiler default output file name
configure:2772: gcc conftest.c >&5
gcc: error trying to exec 'cc1': execvp: No such file or directory
configure:2776: $? = 1
configure:2813: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <stdio.h>
| int
| main ()
| {
| FILE *f = fopen ("conftest.out", "w");
| return ferror (f) || fclose (f) != 0;
|
| ;
| return 0;
| }
configure:2819: error: in `/media/PART1/amsn-0.98.3':
configure:2823: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_FARSIGHT2_CFLAGS_set=
ac_cv_env_FARSIGHT2_CFLAGS_value=
ac_cv_env_FARSIGHT2_LIBS_set=
ac_cv_env_FARSIGHT2_LIBS_value=
ac_cv_env_GLIB_CFLAGS_set=
ac_cv_env_GLIB_CFLAGS_value=
ac_cv_env_GLIB_LIBS_set=
ac_cv_env_GLIB_LIBS_value=
ac_cv_env_GST_CFLAGS_set=
ac_cv_env_GST_CFLAGS_value=
ac_cv_env_GST_INTERFACES_CFLAGS_set=
ac_cv_env_GST_INTERFACES_CFLAGS_value=
ac_cv_env_GST_INTERFACES_LIBS_set=
ac_cv_env_GST_INTERFACES_LIBS_value=
ac_cv_env_GST_LIBS_set=
ac_cv_env_GST_LIBS_value=
ac_cv_env_GUPNP_CFLAGS_set=
ac_cv_env_GUPNP_CFLAGS_value=
ac_cv_env_GUPNP_LIBS_set=
ac_cv_env_GUPNP_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIBV4L_CFLAGS_set=
ac_cv_env_LIBV4L_CFLAGS_value=
ac_cv_env_LIBV4L_LIBS_set=
ac_cv_env_LIBV4L_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc

## ----------------- ##
## Output variables. ##
## ----------------- ##

APPNAME='amsn'
APPRELEASE='1'
APPSTABLE='yes'
APPVERSION='0.98.3'
BUILD_DIR='
CC='gcc'
CFLAGS='
CONFIGURE_ARGS='
CPP='
CPPFLAGS='
CXX='
CXXFLAGS='
CXX_LIB='
DEBUG='no'
DEFS='
ECHO_C='
ECHO_N='-n'
ECHO_T='
EGREP='
EXEEXT='
FARSIGHT2_CFLAGS='
FARSIGHT2_LIBS='
FOUND_OS='linux'
FOUND_X11='
GLIB_CFLAGS='
GLIB_LIBS='
GREP='
GST_CFLAGS='
GST_INTERFACES_CFLAGS='
GST_INTERFACES_LIBS='
GST_LIBS='
GUPNP_CFLAGS='
GUPNP_LIBS='
HAVE_FARSIGHT='
HAVE_GUPNP='
HAVE_LIBV4L='
HAVE_PKGCONFIG='
LDFLAGS='
LDLIBS='
LIBDIR='
LIBOBJS='
LIBPTHREAD='
LIBS='
LIBV4L_CFLAGS='
LIBV4L_LIBS='
LTLIBOBJS='
OBJEXT='
PACKAGE_BUGREPORT='
PACKAGE_NAME='
PACKAGE_STRING='
PACKAGE_TARNAME='
PACKAGE_URL='
PACKAGE_VERSION='
PATH_SEPARATOR=':'
PKG_CONFIG='
SHELL='/bin/bash'
STATIC='no'
TCLSH='
TCL_INC_SPEC='
TCL_LIB_DIR='
TCL_STUB_LIB_SPEC='
TCL_VERSION='
TK_INC_SPEC='
TK_LIB='
TK_LIBS='
TK_LIB_DIR='
TK_STUB_LIB_SPEC='
TK_VERSION='
TOP_DIR='
USE_MMX='
XMKMF='
X_CFLAGS='
X_EXTRA_LIBS='
X_LIBS='
X_PRE_LIBS='
ac_ct_CC='gcc'
ac_ct_CXX='
ac_prefix_program='
bindir='${exec_prefix}/bin'
build_alias='
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias='
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 77

any ideas what the problem is?
 
Last edited by a moderator:
Pleng said:
Ive installed the compiler & dev tools as per the instructions linked to in the sticky topic, but every time I try and compile anything I get the error message 'configure: error: C compiler cannot create executables. See config.log for more details'. Config log contains this...

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.64. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = plengdora
uname -m = armv7l
uname -r = 2.6.27.46-omap1
uname -s = Linux
uname -v = #1 Thu Aug 26 05:51:59 CEST 2010

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = armv7l
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2296: checking for wish
configure:2329: result: no
configure:2452: checking for gcc
configure:2468: found /usr/bin/gcc
configure:2479: result: gcc
configure:2708: checking for C compiler version
configure:2717: gcc --version >&5
gcc (GCC) 4.3.3
Copyright (C) 2008 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.

configure:2728: $? = 0
configure:2717: gcc -v >&5
Using built-in specs.
Target: arm-angstrom-linux-gnueabi
Configured with: /OE/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/gcc-4.3.3-r19.1/gcc-4.3.3/configure --build=x86_64-linux --host=arm-angstrom-linux-gnueabi --target=arm-angstrom-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --with-gnu-ld --enable-shared --enable-languages=c,c++,objc,fortran --enable-threads=posix --disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-gnueabi- --enable-target-optspace --enable-cheaders=c_std --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap --with-local-prefix=/usr/local --with-gxx-include-dir=/usr/include/c++/4.3.3 --with-build-sysroot=/OE/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi --enable-__cxa_atexit
Thread model: posix
gcc version 4.3.3 (GCC)
configure:2728: $? = 0
configure:2717: gcc -V >&5
gcc: '-V' option must have argument
configure:2728: $? = 1
configure:2717: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:2728: $? = 1
configure:2750: checking for C compiler default output file name
configure:2772: gcc conftest.c >&5
gcc: error trying to exec 'cc1': execvp: No such file or directory
configure:2776: $? = 1
configure:2813: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <stdio.h>
| int
| main ()
| {
| FILE *f = fopen ("conftest.out", "w");
| return ferror (f) || fclose (f) != 0;
|
| ;
| return 0;
| }
configure:2819: error: in `/media/PART1/amsn-0.98.3':
configure:2823: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_FARSIGHT2_CFLAGS_set=
ac_cv_env_FARSIGHT2_CFLAGS_value=
ac_cv_env_FARSIGHT2_LIBS_set=
ac_cv_env_FARSIGHT2_LIBS_value=
ac_cv_env_GLIB_CFLAGS_set=
ac_cv_env_GLIB_CFLAGS_value=
ac_cv_env_GLIB_LIBS_set=
ac_cv_env_GLIB_LIBS_value=
ac_cv_env_GST_CFLAGS_set=
ac_cv_env_GST_CFLAGS_value=
ac_cv_env_GST_INTERFACES_CFLAGS_set=
ac_cv_env_GST_INTERFACES_CFLAGS_value=
ac_cv_env_GST_INTERFACES_LIBS_set=
ac_cv_env_GST_INTERFACES_LIBS_value=
ac_cv_env_GST_LIBS_set=
ac_cv_env_GST_LIBS_value=
ac_cv_env_GUPNP_CFLAGS_set=
ac_cv_env_GUPNP_CFLAGS_value=
ac_cv_env_GUPNP_LIBS_set=
ac_cv_env_GUPNP_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIBV4L_CFLAGS_set=
ac_cv_env_LIBV4L_CFLAGS_value=
ac_cv_env_LIBV4L_LIBS_set=
ac_cv_env_LIBV4L_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc

## ----------------- ##
## Output variables. ##
## ----------------- ##

APPNAME='amsn'
APPRELEASE='1'
APPSTABLE='yes'
APPVERSION='0.98.3'
BUILD_DIR='
CC='gcc'
CFLAGS='
CONFIGURE_ARGS='
CPP='
CPPFLAGS='
CXX='
CXXFLAGS='
CXX_LIB='
DEBUG='no'
DEFS='
ECHO_C='
ECHO_N='-n'
ECHO_T='
EGREP='
EXEEXT='
FARSIGHT2_CFLAGS='
FARSIGHT2_LIBS='
FOUND_OS='linux'
FOUND_X11='
GLIB_CFLAGS='
GLIB_LIBS='
GREP='
GST_CFLAGS='
GST_INTERFACES_CFLAGS='
GST_INTERFACES_LIBS='
GST_LIBS='
GUPNP_CFLAGS='
GUPNP_LIBS='
HAVE_FARSIGHT='
HAVE_GUPNP='
HAVE_LIBV4L='
HAVE_PKGCONFIG='
LDFLAGS='
LDLIBS='
LIBDIR='
LIBOBJS='
LIBPTHREAD='
LIBS='
LIBV4L_CFLAGS='
LIBV4L_LIBS='
LTLIBOBJS='
OBJEXT='
PACKAGE_BUGREPORT='
PACKAGE_NAME='
PACKAGE_STRING='
PACKAGE_TARNAME='
PACKAGE_URL='
PACKAGE_VERSION='
PATH_SEPARATOR=':'
PKG_CONFIG='
SHELL='/bin/bash'
STATIC='no'
TCLSH='
TCL_INC_SPEC='
TCL_LIB_DIR='
TCL_STUB_LIB_SPEC='
TCL_VERSION='
TK_INC_SPEC='
TK_LIB='
TK_LIBS='
TK_LIB_DIR='
TK_STUB_LIB_SPEC='
TK_VERSION='
TOP_DIR='
USE_MMX='
XMKMF='
X_CFLAGS='
X_EXTRA_LIBS='
X_LIBS='
X_PRE_LIBS='
ac_ct_CC='gcc'
ac_ct_CXX='
ac_prefix_program='
bindir='${exec_prefix}/bin'
build_alias='
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias='
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 77

any ideas what the problem is?
You could try setting environment variables like CXX and friends... useful log that... exit 77 great!
 
Last edited by a moderator:
Um sorry I have no idea what CXX and friends are, and have no idea why exit code 77 is amusing :S
 
Pleng said:
configure:2772: gcc conftest.c >&5
gcc: error trying to exec 'cc1': execvp: No such file or directory
configure:2776: $? = 1
gcc is a front-end to many other binary. If my memory deserve, cc1 is the C compiler.

imho, if gcc can't find cc1 in the right directory, there is something damn wrong with your gcc install and you should re-install that.
 
Last edited by a moderator:
well I installed gcc with apt-get and removing it and reinstalling it gives the exact same result :(
 
Pickle said:
apt-get?? are you trying to build arm or x86 bins?
He is trying to build on his pandora as the log say :
uname -m = armv7l
uname -r = 2.6.27.46-omap1

But the apt-get part of his answer confuse me also as the sticky point to here where apt isn't involved.
 
Last edited by a moderator:
sorry forget apt-get. Im using opkg to install the dev tools onto my Pandora. dunno why I was thinking apt
 
Pleng said:
sorry forget apt-get. Im using opkg to install the dev tools onto my Pandora. dunno why I was thinking apt
well they are cousin, so I guess :p

Anyway, out of curiosity : df -h ?
 
Last edited by a moderator:
df -h ?

ok here goes

Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 455.2M 339.2M 116.0M 75% /
tmpfs 40.0K 0 40.0K 0% /mnt/.splash
none 121.5M 236.0K 121.3M 0% /dev
tmpfs 121.5M 2.8M 118.7M 2% /var/volatile
tmpfs 121.5M 0 121.5M 0% /dev/shm
tmpfs 121.5M 0 121.5M 0% /media/ram
ubi1:boot 6.8M 6.8M 0 100% /boot
/dev/mmcblk0p1 30.1G 21.4G 8.7G 71% /media/APPS
/dev/loop7 18.0M 18.0M 0 100% /mnt/pnd/firefox
none 30.1G 21.4G 8.7G 71% /mnt/utmp/firefox
/dev/loop8 18.3M 18.3M 0 100% /mnt/pnd/xfe
none 30.1G 21.4G 8.7G 71% /mnt/utmp/xfe
/dev/loop9 128.0K 128.0K 0 100% /mnt/pnd/op_wifi
none 455.2M 339.2M 116.0M 75% /mnt/utmp/op_wifi
/dev/loop10 15.0M 15.0M 0 100% /mnt/pnd/pidgin
none 30.1G 21.4G 8.7G 71% /mnt/utmp/pidgin
/dev/mmcblk1p3 499.8M 2.0K 474.8M 0% /media/PartLin
/dev/mmcblk1p2 511.8M 4.0K 511.8M 0% /media/PART2
/dev/mmcblk1p1 2.6G 34.2M 2.6G 1% /media/PART1

anything interesting there??
 
Pleng said:
anything interesting there??
Beside seeing that you are using 2 of my PNDs currently (which is very cool), nothing sadly :(
I was somehow thinking you'ld have fulled your nand doing so. But not at all.
I'm help-less. (i don't want to install any opkgs on my pandora so it will still be revelant as a test plateform)
 
Last edited by a moderator:
if you type arm and the command prompt and then do command completion (TAB key twice no space then TAB once more)

do you have a lot of applications starting

arm-angstrom-linux-gnueabi-XXX

where XXX is gcc ar as cpp etc ?

if so make a symbolic link for each one following this sort of example

ln -s /usr/bin/arm-angstrom-linux-gnueabi-gcc /usr/bin/gcc

possibly not the 100% "correct" way to do it but my pandora hasn't exploded (yet!) ;)

CXX and friends are a bunch of commonly used environment variables often use by config scripts (some will make brave attempts to fill them in if they are blank or if set use them as overrides)

I found exit 77 amusing because as some kind of an error message its not upto much!
 
chris_c said:
if you type arm and the command prompt and then do command completion (TAB key twice no space then TAB once more)

do you have a lot of applications starting

arm-angstrom-linux-gnueabi-XXX

where XXX is gcc ar as cpp etc ?

OK. Yes I do.

if so make a symbolic link for each one following this sort of example

ln -s /usr/bin/arm-angstrom-linux-gnueabi-gcc /usr/bin/gcc

possibly not the 100% "correct" way to do it but my pandora hasn't exploded (yet!) ;)

OK I can give that a try - should keep me busy for a while! :)

CXX and friends are a bunch of commonly used environment variables often use by config scripts (some will make brave attempts to fill them in if they are blank or if set use them as overrides)

So how do I go about setting them? (Or, rather, what are they and what do they need to be set to)?

I found exit 77 amusing because as some kind of an error message its not upto much!

Hmm everything I'm trying to compile gives the same return code.
 
Last edited by a moderator:
This is the way to do it:

http://www.gp32x.de/board/index.php?/topic/53964-cross-compiling-is-bollocks-toolchains-are-bollocks-use-your-pandora-to-build-apps/

EDIT: you probably don't have all the packages installed that you need, like g++, binutils, and so on ..
 
Last edited by a moderator:
torpor said:
This is the way to do it:

http://www.gp32x.de/board/index.php?/topic/53964-cross-compiling-is-bollocks-toolchains-are-bollocks-use-your-pandora-to-build-apps/

EDIT: you probably don't have all the packages installed that you need, like g++, binutils, and so on ..
I seemed to need a few more symlinks but you should be getting there..!

to set an environment variable (which you shouldn't need to with the symlinks)

export blah=hello
echo $(blah) <-- you don't need this just to show it works

where blah might be CXX for example, to make an environment variable set every boot and in every local terminal then google bash profiles

if you have a bunch of free time (like the whole weekend :-o ) and you want to really learn linux skills and developing I would recommend building LFS http://www.linuxfromscratch.org/ (on a desktop for speed and space reasons) 1hrs understanding is worth 10 hours of monkey see monkey do skills :D - even for just dipping into the base book without implementing it, it makes an interesting read
 
Last edited by a moderator:
chris_c said:
ln -s /usr/bin/arm-angstrom-linux-gnueabi-gcc /usr/bin/gcc

OK those links all existed. I forced replacement of them with -f, but still the result is the same :(

export blah=hello
echo $(blah) <-- you don't need this just to show it works

where blah might be CXX for example, to make an environment variable set every boot and in every local terminal then google bash profiles

I know how to set them. I just don't know what I'm supposed to be setting, and to what values!

torpor said:
This is the way to do it:

http://www.gp32x.de...-to-build-apps/

EDIT: you probably don't have all the packages installed that you need, like g++, binutils, and so on ..

I have all the packages specified here
 
Last edited by a moderator:
you might want to try deleting the project and unpacking it again it might be some cached setting that might be upsetting the configure script?

try compiling a very simple c source

void main() {

}

then

gcc test.c -o test

and just see that at least that is working....
 
I've given up to be honest. And I tried it with a few different things and always got the same error.
 
Thats a pity. Do me a favour, and just try the bollocks method. DJWillis wrote a nice how-to, but I think there are a few steps missing that the bollocks method already covers ..
 
Sorry, I'm concentrating on other things at the moment.
 
Back
Top