This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd: problem


My computer is a Power Macintosh 8600/300 and I have no access to an IBM 
machine.

>From my unix shell (find is not installed) I have the following from 
information.

-----ls-----

# ls / /bin /dev /etc /sbin /usr/bin /usr/sbin /usr/libexec /usr/local/bin
/:
WebTen_Folder   dev             home            sbin            var
bin             etc             lost+found      tmp
bootvol         hfs             mnt             usr

/bin:
[                       export_storage.sh       ps
cat                     hostid                  pwd
check_usage.sh          hostname                rm
chmod                   import_storage.sh       rmdir
cp                      kill                    sh
csh                     ln                      sleep
date                    ls                      stty
df                      mkdir                   sync
domainname              mv                      test
echo                    new_storage.sh

/dev:
cm.in           display2.0      em_tty03        fsf0            supercache
cm.out          display2.1      em_tty04        klog            tty
console         display2.2      em_tty05        kmem            ttya
display0.0      display2.3      em_tty06        mem             ttyb
display0.1      display2.4      em_tty07        null            ttycfa
display0.2      display3.0      em_tty08        preferences     ttycfb
display0.3      display3.1      em_tty09        ptoth_dev       ttyfa
display0.4      display3.2      em_tty0a        ptyp0           ttyfb
display1.0      display3.3      em_tty0b        ptyp1           ttyp0
display1.1      display3.4      em_tty0c        ptyp2           ttyp1
display1.2      em_tty00        em_tty0d        ptyp3           ttyp2
display1.3      em_tty01        em_tty0e        startup         ttyp3
display1.4      em_tty02        em_tty0f        startup_signal

/etc:
Controls                inetd.conf              rc.WebTen
aliases                 license.info            rc.conf
aliases.db              license.info.WT         resolv.conf
changelist              localtime               security
conf                    mail                    sendmail.cf
crontab                 master.passwd           sendmail.cw
crontab.local           master.passwd-          services
fstab                   named                   shells
ftpgroups               net_search_rules        spwd.db
ftpusers                networks                ssl
gettytab                passwd                  startup_complete
group                   posixrules              syslog.conf
hosts                   protocols               ttys
hosts.equiv             pwd.db
httpd                   rc

/sbin:
chkfsf          halt            mount           ping            shutdown
disklabel       ifconfig        newfs           reboot          tzset
dmesg           init            newfsf          reboot.program  umount
fsck            mknod           nologin         route

/usr/bin:
addr                    hoststat                sed
awk                     invisible               setstackspace
chcreat                 login                   sort
chtype                  mactext                 suidperl
cmp                     mail                    tail
console_text_alert      mailq                   tar
console_text_input      netstat                 tee
diff                    newaliases              thermo
diff3                   nice                    touch
du                      nslookup                tr
egrep                   nvi                     true
expr                    perl                    unixtext
false                   pod2man                 vi
fgrep                   printenv                visible
gawk                    printf                  wc
grep                    purgestat               yes
gzip                    sdiff

/usr/libexec:
execmgr         ipop3d          smrsh           start_webten.sh
httpd           mail.local      start.admin     stop.admin
imapd           named-xfer      start.httpd     stop.httpd

/usr/local/bin:
perl    perl5

/usr/sbin:
adduser         chown           getpwdir        modpwent        renameuser
assert_lib      cron            inetd           moduser         sendmail
chklicense      delpwent        mailstats       named           sysctl
chkuser         deluser         makemap         praliases       testlib
chnglicense     getmaildir      mkpwent         pwd_mkdb        zic
#

-----PATH-----

# echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/libexec
#

--------------------------------------------------------------------
does this help???

Dale
--- Begin Message ---
Dale wrote:

> I require a working gcc and after downloading it from your site it
> I am very disappointed in that it must be compiled to install and
> my problem is my environment lacks a compiler to do this.

You can find links to precompiled GCC binaries on the GCC site:

    http://gcc.gnu.org/install/binaries.html

> Since I cannot say exactly what my environment is, since it is a
> stripped MachTen derivative, several programs are missing that
> stop me from upgrading or midifying my environment since every
> time I issue the command './configure' I get the following.

I haven't heard of MachTen, but if you run a copy of the GNU
config.guess script (in most free software source distributions, or
available for download from the 'config' directory of a GNU mirror) then
you'll obtain a 'target triple' that describes your machine. You could
use that to guess which binary may be suitable (although your output
fragment suggests PPC and I don't see any PPC binaries on the page).

If it comes to it, you can use another system to cross-compile GCC.
You'll need a system with working GCC (you could use a free OS such as
GNU/Linux temporarily on a PC, for example), source for GCC and binutils
and the contents of /usr/include from your MachTen, plus /lib and
/usr/lib but not their subdirectories. Then combine the binutils and GCC
source trees at the top level (untar to the same place or use find and
cpio to link them) and build them

    --target=<machten triple from config.guess>
    --with-libs=<path to /lib copy>
    --with-libs=<path to /usr/lib copy>
    --with-headers=<path to /usr/include copy>
    --enable-languages=c

Then make and install that compiler and use it to build a native
compiler for your machten:

    --build=<build host triple>
    --host=<machten triple>
    --target=<machten triple>

I find it easiest to then NFS-mount the build machine from your MachTen
and 'make install' the native compiler across NFS.

Good luck,
Rup.

--- End Message ---

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]