A
ashish
Hi,
When I try to compile perl on Solaris 10, I get the following error
message :
Use which C compiler? [cc] /usr/sfw/bin/gcc
/usr/ccs/bin/as: error: unknown option '-'
/usr/ccs/bin/as: error: unknown option 't'
/usr/ccs/bin/as: error: unknown option 'aditional-format'
usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-q] [-s]
[-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
[-P [[-Yc,path] [-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
[-m [-Ym,path]] [-n] [-ul] [-xF]
[-xarch={v7,v8,v8a,v8plus,v8plusa,v8plusb,v9,v9a,v9b}]
[-xcode={pic13,pic32}] file.s...
Uh-oh, the C compiler '/usr/sfw/bin/gcc' doesn't seem to be working.
/usr/ccs/bin/as: error: unknown option '-'
/usr/ccs/bin/as: error: unknown option 't'
/usr/ccs/bin/as: error: unknown option 'aditional-format'
usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-q] [-s]
[-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
[-P [[-Yc,path] [-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
[-m [-Ym,path]] [-n] [-ul] [-xF]
[-xarch={v7,v8,v8a,v8plus,v8plusa,v8plusb,v9,v9a,v9b}]
[-xcode={pic13,pic32}] file.s...
Uh-oh, the C compiler '/usr/sfw/bin/gcc' doesn't seem to be working.
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS
vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
The PATH is set as follows :
..:/bin:/usr/bin:/sbin:/usr/sbin:/usr/sfw/bin:/opt/sfw/bin:/usr/ccs/bin:/demrx/product/sybase/12.5/OCS-12_5/bin:/demrx/product/sybase/12.5/RPL-12_5/bin:/demrx/product/sybase/12.5/JS-12_5/bin:/demrx/product/sybase/12.5/ASE-12_5/bin:/demrx/product/sybase/12.5/ASE-12_5/install:/usr/bin:/etc:/bin:/usr/sbin:/sbin:/usr/ucb
The LD_LIBRARY_PATH is set as follows:
/lib:/usr/sfw/lib:/usr/lib:/demrx/product/sybase/12.5/OCS-12_5/lib:/demrx/product/sybase/12.5/OCS-12_5/lib3p64:/demrx/product/sybase/12.5/OCS-12_5/lib3p:/demrx/product/sybase/12.5/ASE-12_5/lib:
Thanks a lot for your kind help.
Ashish
When I try to compile perl on Solaris 10, I get the following error
message :
Use which C compiler? [cc] /usr/sfw/bin/gcc
/usr/ccs/bin/as: error: unknown option '-'
/usr/ccs/bin/as: error: unknown option 't'
/usr/ccs/bin/as: error: unknown option 'aditional-format'
usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-q] [-s]
[-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
[-P [[-Yc,path] [-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
[-m [-Ym,path]] [-n] [-ul] [-xF]
[-xarch={v7,v8,v8a,v8plus,v8plusa,v8plusb,v9,v9a,v9b}]
[-xcode={pic13,pic32}] file.s...
Uh-oh, the C compiler '/usr/sfw/bin/gcc' doesn't seem to be working.
/usr/ccs/bin/as: error: unknown option '-'
/usr/ccs/bin/as: error: unknown option 't'
/usr/ccs/bin/as: error: unknown option 'aditional-format'
usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-q] [-s]
[-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
[-P [[-Yc,path] [-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
[-m [-Ym,path]] [-n] [-ul] [-xF]
[-xarch={v7,v8,v8a,v8plus,v8plusa,v8plusb,v9,v9a,v9b}]
[-xcode={pic13,pic32}] file.s...
Uh-oh, the C compiler '/usr/sfw/bin/gcc' doesn't seem to be working.
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS
vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
The PATH is set as follows :
..:/bin:/usr/bin:/sbin:/usr/sbin:/usr/sfw/bin:/opt/sfw/bin:/usr/ccs/bin:/demrx/product/sybase/12.5/OCS-12_5/bin:/demrx/product/sybase/12.5/RPL-12_5/bin:/demrx/product/sybase/12.5/JS-12_5/bin:/demrx/product/sybase/12.5/ASE-12_5/bin:/demrx/product/sybase/12.5/ASE-12_5/install:/usr/bin:/etc:/bin:/usr/sbin:/sbin:/usr/ucb
The LD_LIBRARY_PATH is set as follows:
/lib:/usr/sfw/lib:/usr/lib:/demrx/product/sybase/12.5/OCS-12_5/lib:/demrx/product/sybase/12.5/OCS-12_5/lib3p64:/demrx/product/sybase/12.5/OCS-12_5/lib3p:/demrx/product/sybase/12.5/ASE-12_5/lib:
Thanks a lot for your kind help.
Ashish