Saluton!
Rugxulo <
rug...@gmail.com> wrote:
> On Jan 6, 7:42 pm, Jürgen Lerch <
jyn...@gmx.de> wrote:
>> I, too, have problems with gm2. I'm on Ubuntu 11.10 (64 bit).
>> Synaptic tells me I have gm2 1.0.4, gm2 --version says 1.0.3
>> (20110930). I installed gm2 using the .debs.
> So you're using an official Ubuntu package? For whatever reason, I
Oh, no, sorry! I added the gm2 site to my sources.list and used
their .debs. I think there are no official Ubuntu gm2 packages.
>> When I try to compile (and link) (even) a simple Hello World,
>> (/usr/bin/) ld complains that it can't find crt1.o and/or
>> crti.o. A filesearch results in finding them in
>> /usr/lib/x86_64-linux-gnu/. Is ld not seeing them a bug or
>> is Debian different from Ubuntu with respect to their
>> location?
> Didn't Debian implement some changes recently for (better) multiarch
> support?
I have no idea.
>> And how do I get the thing to find these files?
> You could probably use -I. -L. etc., but that's kludgy.
-I is, I understand, only for .defs and .mods. -L isn't
mentioned on the website-docs ... (-fobject-path seems to be
for something different, too - at least pointing it to the
aforementioned directory doesn't work either.)
Hm. Invoking gm2 --help gives entirely different options
to the ones on the website (
http://www.nongnu.org/gm2/compiler_options.html); I see no
-L there either, but I could try other library or linker
options.
(Kludgy would be ok for now, as long as it works. ;-))
> Or try "gm2 -
> print-search-dirs" to see where it's looking (which, for me, shows
> "install:", "programs:", "libraries:").
Hm... Thanks, did't see that one (only looked on the website
before). Bewildering output ... Could be a problem with it only
looking into /4.1.2/ subdirectories or something like that ...
>> (It wasn't always a problem, I did successfully compile
>> several self-written programs with previous versions of
>> the compiler and Ubuntu (and Debian).)
> Hmmm, that sounds like something new has broken. Does Ubuntu have a
> maintainer for this package? (Doubt it, but you could try contacting
> that person.)
Doesn't seem so.
Ad Astra!
JuL
--
jyn...@gmx.de / Work like you don't need the money. Dance like
Jürgen ,,JuL'' Lerch / nobody's watching. Love like you've never
/ been hurt. - ?