did try the -Wl option ?? On Mon, Oct 12, 2009 at 2:35 PM, R.Doss <[email protected]> wrote:
> For the first. This sound good. > > ghdl -a -Wc,-m32 -Wa,--32 hallo.vhdl > r...@x1-6-00-1d-92-05-7d-7a:~/fpga/VHDL/ghdl> ls > adder_tb.vhdl adder.vhdl adder.vhdl~ hallo.o hallo.vhdl work-obj93.cf > > how is the next step? > > ghdl -e hello_world > e~hello_world.s: Assembler messages: > e~hello_world.s:38: Error: suffix or operands invalid for `push' > e~hello_world.s:40: Error: suffix or operands invalid for `pop' > e~hello_world.s:54: Error: suffix or operands invalid for `push' > e~hello_world.s:66: Error: suffix or operands invalid for `push' > e~hello_world.s:120: Error: suffix or operands invalid for `push' > ghdl: compilation error > > I remember me. > Now I use the same options. > > ghdl -e -Wc,-m32 -Wa,--32 hello_world > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: > i386 > architecture of input file `e~hello_world.o' is incompatible with > i386:x86-64 ou > tput > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: > i386 > architecture of input file > `/usr/local/lib/gcc/i686-pc-linux-gnu/4.3.4/vhdl/lib/ > v93/std/std_standard.o' is incompatible with i386:x86-64 output > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: > i386 > architecture of input file > `/usr/local/lib/gcc/i686-pc-linux-gnu/4.3.4/vhdl/lib/ > /v93/std/textio.o' is incompatible with i386:x86-64 output > > An so on, along list of incompatible outpus. > > > > > Karthik Baddam schrieb: > > 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] > > <mailto:[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] <mailto:[email protected]> > > > https://mail.gna.org/listinfo/ghdl-discuss > > > > > > > > > > > > _______________________________________________ > > Ghdl-discuss mailing list > > [email protected] <mailto:[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 >
_______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
