OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: darin3200 on February 15, 2004, 04:11:57 pm

Title: Help with c compiler
Post by: darin3200 on February 15, 2004, 04:11:57 pm
I am trying to install the zgcc c compiler on my sl-5500. So far I have followed the instructions in this document
http://s91215199.onlinehome.us/zaurus/zgcc...cc2install.html (http://s91215199.onlinehome.us/zaurus/zgcc2install.html)
and I can not get anything to complie. I also run ./configure files in programs I am trying to build from source and I get

# ./configure
loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

I am running OZ 3.3.5 if that would make a difference.

Any help would be greatly appreciated.
Thanks,
Title: Help with c compiler
Post by: Mickeyl on February 15, 2004, 07:23:13 pm
see config.log for more details
Title: Help with c compiler
Post by: Anonymous on February 15, 2004, 07:36:25 pm
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistak

configure:765: checking for gcc
configure:795: checking for cc
Title: Help with c compiler
Post by: lardman on February 16, 2004, 06:47:15 am
Quote
configure: error: no acceptable cc found in $PATH

Is gcc in your PATH? (type export at the terminal)
Title: Help with c compiler
Post by: pgas on February 16, 2004, 06:59:11 am
Also try to compile and run the foo.c example  on the page you mention.
Title: Help with c compiler
Post by: darin3200 on February 16, 2004, 10:25:29 pm
Ok, I reinstalled the entire thing  and it still didn\'t work. The problem was the file that contains all the export and symlink commands would run but no actually do the commands. I went in and typed the entire file in line by line (over ssh though, or else I wouldn\'t have any thumbs   ) and it works! Once I checked more export paths and relized gcc wasn\'t in there I knew I had to add it by hand. Thanks for all the help
Title: Help with c compiler
Post by: darin3200 on February 16, 2004, 11:53:39 pm
I have restarted my zaurus and now none of the paths are there. I have also put all of the path into my /etc/profile and I restart and nothing. The paths are there in export put I can\'t run gcc with a simple gcc command anymore. Any ideas?
thanks
Title: Help with c compiler
Post by: lardman on February 17, 2004, 07:01:27 am
You could create a shell script which you source before you start development (stick it in ~/). If you want them to always be available look at /opt/QtPalmtop/qpe.sh (I think that\'s where it lives) and change the PATH and (possibly) LD_LIBRARY_PATH there.


Si