LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   building gcc under cygwins (https://www.linuxquestions.org/questions/linux-general-1/building-gcc-under-cygwins-115089/)

Laplace 11-12-2003 01:40 AM

building gcc under cygwins
 
cygwins -- building gcc
I have deleted all the untar files under /home/test/ and re-shuffled all *gz
files to /home/myname/

and untar them under cygwins in multiple sessions since their folders are
under different directories.

http://billgatliff.com/articles/gnu-cci/x53.html

after the three export stmts

export ....
export
export
I also set | grep prefix

and I also do the set grep and make sure
myself at the /home/myname/install at the prefix.

I then followed in page 3

cd build-binutils
../binutils2.14/configure --target=$TARGET --prefix=$PREFIX

see attached *.gif

I then read the configure file and readme under binutiles2.14

I discovered this lines in configure

# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'


and the setenv in the readme. I have tried every possible combition. I failed.

can u help?


All times are GMT -5. The time now is 04:11 PM.