Hi! You missed the comma in the commandline: -Wa,-m32. This way the option gets passed to the linker instead of the compiler.
regards, Stephan R.Doss wrote: > Hallo Tristian, > > also no success. > > ghdl -a -Wa hallo.vhdl > ghdl: unknown option '-Wa' for command '-a' > > ghdl -Wa -ms32 hallo.vhdl > ghdl: unknown command '-Wa', try --help > > > I use SUSE 11.0. > I have intalled again. > The libs are in the correct path. > > r...@x1-6-00-1d-92-05-7d-7a:/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.4/vhdl/src> > ls > ieee mentor std synopsys vital2000 vital95 > r...@x1-6-00-1d-92-05-7d-7a:/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.4/vhdl/src> > cd std > r...@x1-6-00-1d-92-05-7d-7a:/usr/local/lib/gcc/i686-pc-linux-gnu/4.2.4/vhdl/src/std> > ls > textio_body.v87 textio_body.v93 textio.v87 textio.v93 > > Tristan Gingold schrieb: >> On Fri, Oct 09, 2009 at 09:39:19AM +0200, R.Doss wrote: >> >>> Tristan Gingold schrieb: >>> >>>> On Thu, Oct 08, 2009 at 09:05:46PM +0200, R.Doss wrote: >>>> >>>> >>>>> Stupid Question,I am new at ghdl. My fist crash is a your first example >>>>> at. >>>>> >>>>> >>>>> >>>>>> http://ghdl.free.fr/ghdl/The-hello-word-program.html#The-hello-word-program >>>>>> >>>>>> >>>> Yes, you are using an x86_64 machine. Try to use -m32. >>>> >>>> >>>> Tristan. >>>> >>>> >>>> >>> Yes you are right. I use a x86_64 machine. Now I get an other error. It >>> looks like a library is needed. >>> Have I set a Path? Or install a Library? >>> I have Xilinix ISE 10.3 on my system. >>> >>> ghdl -a -m32 hallo.vhdl >>> /usr/local/libexec/gcc/i686-pc-linux-gnu/4.2.4/ghdl1:*command-line*: >>> cannot find "std" library >>> ghdl: compilation error >>> >> Ok. Try to use -Wa,-m32 instead. >> >> Tristan. >> >> _______________________________________________ >> Ghdl-discuss mailing list >> [email protected] >> https://mail.gna.org/listinfo/ghdl-discuss >> >> > > > _______________________________________________ > Ghdl-discuss mailing list > [email protected] > https://mail.gna.org/listinfo/ghdl-discuss _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
