Hello!
I’m currently trying to get GCC to work on my Zeroshell box.
I have unlocked/moved the /usr and /sbin directories on /Database/rootfs/, and followed the procedure in this document http://comm7777.t35.com/developer.kit.pdf
But when I try to compile, ./configure stops and returns this:
Target OS "linux-gnulibc1" OK
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Here’s the content of my /etc/profile (I keep gcc and the librairies on /Database/mybin/)
PS1="u@h W> "
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/ssl/bin:$PATH"
alias rm="rm -i"
alias cp="cp -i"
alias mv="mv -i"
alias ll="ls -l"
cd
alias la="ls -la"
PATH="/Database/mybin/jdk1.6.0_20/bin:/Database/mybin/gcc4.3.2/bin:$PATH"
JAVA_HOME="/Database/mybin/jdk1.6.0_20/bin:$JAVA_HOME"
PATH="/Database/mybin/gcc4.3.2/bin:$PATH"
The alias doesn’t seem to be the problem
root@serveur1 myadmin> echo $PATH
/Database/mybin/gcc4.3.2/bin:/Database/mybin/jdk1.6.0_20/bin:/Database/mybin/gcc4.3.2/bin:/usr/local/bin:/usr/local/sbin:/usr/local/ssl/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Can you tell me what have I done wrong?
Thanks