The option should be ghdl -a -Wc,-m32 -Wa,--32 -Wl,--32 <file>
Although I am not sure if -Wl,--32 is necessary. On Mon, Oct 12, 2009 at 1:40 PM, R.Doss <[email protected]> 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
