Finally got the problem. It was a trivial one. The partition that I was
working on was not mounted using exec!!! :(

So, with the exec permissions set, ghdl works perfectly :)

I sincerely thank you for all your help.

Thanks and Regards,
Neel Mehta
Fourth year Undergraduate student,
Electrical Engineering,
IIT Bombay


On Wed, Jan 26, 2011 at 1:09 AM, David G. Koontz <[email protected]>wrote:

> On 26/01/11 4:15 AM, Neel Mehta wrote:
> > Hi David,
> >
> > Thanks for your elaborate response. I got the following as an output with
> > ldd:
> > $ ldd -v hello_world
> > not a dynamic executable
> >
> > Can you please tell me what to now?
> >
>
> file *
> e~hello_world.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV),
> not stripped
> hello.o:         ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV),
> not stripped
> hello.vhdl:      ASCII English text
> hello_world:     ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
> dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
> work-obj93.cf:   ASCII text
>
> The string "not a dynamic executable" is emitted by ldd for files that
> aren't dynamically linked.  What does the file command say?
>
> ls -alFc *
> /mnt/share/foo
> total 464
> drwxr-xr-x 1 david_koontz david_koontz    238 2011-01-26 07:34 ./
> drwx------ 1 david_koontz david_koontz   1802 2011-01-26 01:57 ../
> -rw------- 1 david_koontz david_koontz   1896 2011-01-25 23:20
> e~hello_world.o
> -rw------- 1 david_koontz david_koontz   2844 2011-01-25 23:20 hello.o
> -rw-r--r-- 1 david_koontz david_koontz    467 2011-01-25 22:10 hello.vhdl
> -rwx--x--x 1 david_koontz david_koontz 457883 2011-01-25 23:20 hello_world*
> -rw------- 1 david_koontz david_koontz    171 2011-01-25 23:20
> work-obj93.cf
>
> File sizes might provide insight.
>
> While you're at it
>
> gcc --version
> gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
> Copyright (C) 2009 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> ghdl -v
> GHDL 0.28dev (20080721) [Sokcho edition]
>  Compiled with GNAT Version: 4.3.3
>  GCC back-end code generator
> Written by Tristan Gingold.
>
> Copyright (C) 2003 - 2008 Tristan Gingold.
> GHDL is free software, covered by the GNU General Public License.  There is
> NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> david_koontz@alum-kubuntu:
>
> (In other words your problem isn't so simple.)
>
> http://ns2.canonical.com/maverick/ghdl
>
> Is this the ghdl you have?
>
> Which architecture?
>
> You could also consider using ubuntu launchpad to post a question for the
> package they distribute.  It would be helpful if it was clear what was
> going
> on first.
>
>
>
>
> _______________________________________________
> 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

Reply via email to