public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andi Hellmund <andi@andihellmund.com>
To: Greicy.Costa-Marques@imag.fr
Cc: Andi Hellmund <mail@andihellmund.com>,
	     "John (Eljay) Love-Jensen" <eljay@adobe.com>,
	     "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: How to include a front end to gcc ?
Date: Sat, 12 Dec 2009 02:15:00 -0000	[thread overview]
Message-ID: <alpine.DEB.2.00.0912120155300.3820@randazzo> (raw)
In-Reply-To: <20091211103140.15643vy5an53arng@webmail.imag.fr>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 3859 bytes --]



On Fri, 11 Dec 2009, Greicy.Costa-Marques@imag.fr wrote:

>
> Hi Andi,
>
> No, I didn't try to build GMP and MPFR as part of gcc, I built each one 
> separately. Unfortunately do not have a machine with linux on place.
> I'll send my front-end code for your in attached.
>
> Best regards,
> greicy
>
>
>
>
>
>
> Citando "Andi Hellmund" <mail@andihellmund.com>:
>
>> Hey Greicy,
>> 
>> have you already tried to build GMP and MPFR as part of gcc just like
>> John suggested? Have you already tried to build your front-end in a
>> Linux environment to check if there's something wrong with MINGW?
>> 
>> For the case you don't have a Linux environment in place, you could send
>> me your frond-end code (not the complete gcc source tree) and I'll try
>> it ...
>> 
>> Best regards,
>> Andi
>> 
>> Greicy.Costa-Marques@imag.fr wrote:
>>> Hi John,
>>> I don't know if the problem is the GMP end MPFR, sincerely I'm lost..
>>> end).
>>> 
>>> Any tip?
>>> 
>>> sincerely,
>>> greicy
>>> 
>>> 
>>> Makefile:1156: .././../gcc-4.2.4/gcc/hello-world/Make-lang.in: No
>>>>> such file or directory
>>>> 
>>>> It appears that gcc-4.2.4/gcc/hello-world/Make-lang.in is missing.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Citando "John (Eljay) Love-Jensen" <eljay@adobe.com>:
>>> 
>>>> Hi Greicy,
>>>> 
>>>>> I installed the GMP end MPFR. The versions are shown below and as
>>>>> well the result the configure and the make booststrap:
>>>> 
>>>> Although this may not be relevant to your issue at hand, have you
>>>> tried to let GMP and MPFR be built by GCC?
>>>> 
>>>> As per the alternative having them built together with GCC:
>>>> http://gcc.gnu.org/install/prerequisites.html
>>>> 
>>>> GMP...
>>>> """
>>>> Alternatively, if a GMP source distribution is found in a
>>>> subdirectory of your GCC sources named gmp, it will be built together
>>>> with GCC.
>>>> """
>>>> 
>>>> MPFR...
>>>> """
>>>> Alternatively, if a MPFR source distribution is found in a
>>>> subdirectory of your GCC sources named mpfr, it will be built
>>>> together with GCC.
>>>> """
>>>> 
>>>> In general, I've found this alternative to be better (more reliable)
>>>> than having GMP and MPFR pre-built.
>>>> 
>>>>> I work with the windows xp (then I used msys and mingw)
>>>> 
>>>> You may want to consider also asking your GCC configuration questions
>>>> on the MSYS and MinGW forum(s).  Not that this forum is an
>>>> inappropriate forum, but there are probably GCC particulars that
>>>> require special understanding to build and use GCC in the MSYS and/or
>>>> MinGW situation.
>>>> 
>>>> I do not use MSYS or MinGW*, so I do not have specialized knowledge
>>>> for that situation.
>>>> 
>>>> * I have nothing against them, and would definitely use them if I had
>>>> a need for them.
>>>> 
>>>>> $ ./../gcc-4.2.4/configure --enable-languages=hello-world
>>>> 
>>>> Okay.
>>>> 
>>>>> Makefile:1156: .././../gcc-4.2.4/gcc/hello-world/Make-lang.in: No
>>>>> such file or directory
>>>> 
>>>> It appears that gcc-4.2.4/gcc/hello-world/Make-lang.in is missing.
>>>> 
>>>> Sincerely,
>>>> --Eljay
>>>> 
>>> 
>>> 
>> 
>

Hey Greicy,

I haven't yet tried to build your front-end on Linux, but I possibly
discovered your root cause ...

After extracting your archive, I got this content

andi@randazzo:~/Documents/hello-world$ ls -l
total 32
[... omitting some output ...]
-rw-r--r-- 1 andi andi 2694 2010-01-11 06:22 Make-lang.in.txt    <-- !!!

>>> And the file Make-lang.in is there in /hello-world (this is my front

Apparently not ... it seems that you got tricked by Windows and it's fancy 
feature to hide commonly known file extensions like e.g. *.txt.

IIRC, you could change this setting via the directory settings (or at 
least ask your favourite search engine)

I would suggest you first try changing the file name to Make-lang.in 
before I try to reproduce your error on Linux ...

Cheers,
Andi

[-- Attachment #2: Type: APPLICATION/X-RAR, Size: 6571 bytes --]

  reply	other threads:[~2009-12-12  1:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-10 11:00 Greicy.Costa-Marques
2009-11-10 14:56 ` Ian Lance Taylor
2009-11-10 15:56   ` Greicy.Costa-Marques
2009-11-10 15:58     ` Ian Lance Taylor
2009-11-10 19:23       ` Andi Hellmund
2009-11-18 13:34         ` Greicy.Costa-Marques
2009-11-18 14:06           ` John Graham
2009-11-18 14:24             ` John (Eljay) Love-Jensen
2009-11-18 14:56               ` Greicy.Costa-Marques
2009-11-18 15:53                 ` John (Eljay) Love-Jensen
2009-12-03 17:44               ` Greicy.Costa-Marques
2009-12-07 15:53                 ` Greicy.Costa-Marques
2009-12-07 15:54                   ` John (Eljay) Love-Jensen
2009-12-10 20:55                     ` Greicy.Costa-Marques
2009-12-11  0:23                       ` Andi Hellmund
2009-12-11  9:51                         ` Greicy.Costa-Marques
2009-12-12  2:15                           ` Andi Hellmund [this message]
2009-12-14 20:11                             ` Greicy.Costa-Marques
2009-12-16 16:50                             ` Greicy.Costa-Marques
2009-12-16 22:40                               ` Cedric Roux
     [not found]                               ` <alpine.DEB.2.00.0912232132210.23563@randazzo>
     [not found]                                 ` <20100118171613.37323adazx3nmf65@webmail.imag.fr>
     [not found]                                   ` <19bb413aeea8173be0119dc84a99254c-EhVcXl1CTQJeRwgeDAw3AF9BdAJSS1xcXV9EBF41WEVGVFENQV5+BEtdXzBeQ0MGX1taRV1T-webmailer2@server02.webmailer.hosteurope.de>
     [not found]                                     ` <20100121110544.618273k2lhw1t054@webmail.imag.fr>
     [not found]                                       ` <alpine.DEB.2.00.1001231718010.2115@randazzo>
     [not found]                                         ` <20100129160405.10512mrjmwx0n10l@webmail.imag.fr>
     [not found]                                           ` <4B65ABE6.8070109@andihellmund.com>
     [not found]                                             ` <20100204184027.126147yistgbwjnv@webmail.imag.fr>
     [not found]                                               ` <4B6B4CC5.50406@andihellmund.com>
2010-03-05 15:36                                                 ` Greicy.Costa-Marques
2010-03-05 22:43                                                   ` Andi Hellmund
2010-03-08 17:30                                                     ` Greicy.Costa-Marques
2010-03-12 16:41                                                       ` Greicy.Costa-Marques

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.00.0912120155300.3820@randazzo \
    --to=andi@andihellmund.com \
    --cc=Greicy.Costa-Marques@imag.fr \
    --cc=eljay@adobe.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=mail@andihellmund.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).