[EMAIL PROTECTED] wrote: > What do you mean by twice ? > > When I package binaries for Linux, I remove non-ghdl stuff (cpp, gccbug...). > In fact you can't build gcc without the C compiler.
Dear Tristan, I build ghdl 0.26 from sources, following https://mail.gna.org/public/ghdl-discuss/2007-05/msg00006.html Thus in short ... untar ... cd gcc-4.1.2 ./configure --prefix=$HOME/usr/local/gcc-4.1.2 \ --enable-languages=c,c++,ada make make install ... remove gcc-4.1.2 directory tree ... ... untar again ... ... cp ghdl-0.26/vhdl/ gcc-4.1.2/gcc/ ... cd gcc-4.1.2 ./configure --prefix=$HOME/usr/local/ghdl --enable-languages=vhdl make make install The first 'make; make install' will put, among many other executables, a 4.1.2 gcc under the path $HOME/usr/local/gcc-4.1.2. The second 'make; make install' will put ghdl, but also again a cpp, gcc, gcov under the path $HOME/usr/local/ghdl. The second make is to build ghdl, with the gcc, gnat ect build in the first make. Why this second make again also builds a gcc is what I wondered about, after all --enable-languages is "vhdl" and nothing else. With best regards, Walter -- Dr. Walter F.J. Müller Mail: [EMAIL PROTECTED] GSI, Abteilung KP3 Phone: +49-6159-71-2766 Planckstr. 1 FAX: +49-6159-71-3762 D-64291 Darmstadt URL: http://www-linux.gsi.de/~mueller/ _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
