public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Makefile question
@ 2001-11-16  7:55 kabir.patel
  2001-11-16 10:27 ` Rupert Wood
  2001-11-16 12:13 ` Claudio Bley
  0 siblings, 2 replies; 3+ messages in thread
From: kabir.patel @ 2001-11-16  7:55 UTC (permalink / raw)
  To: gcc-help




As you are probably aware I don't know much about C installation, so here's
another straightforward question:

I initially had a make.exe file in /usr/ccs/bin/ that must have come into
existence during my SUNWspro installation.

I want to generate a new make.exe file, using the gnu source files. I downloaded
them onto my Solaris machine.

Now, I was under the impression that if I ran the ./configure file a new
make.exe file would be generated. Is that right?

I have run the script and it doesn't generate a new make.exe file (though it
generates a Makefile in ..glob/.

How do I generate a make.exe file, if the above is not the right way.

Thanks
Kabir

*******************Internet Email Confidentiality Footer*******************


Privileged/Confidential Information may be contained in this message.  If you
are not the addressee indicated in this message (or responsible for delivery of
the message to such person), you may not copy or deliver this message to anyone.
In such case, you should destroy this message and kindly notify the sender by
reply email. Please advise immediately if you or your employer does not consent
to Internet email for messages of this kind.  Opinions, conclusions and other
information in this message that do not relate to the official business of my
firm shall be understood as neither given nor endorsed by it.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Makefile question
  2001-11-16  7:55 Makefile question kabir.patel
@ 2001-11-16 10:27 ` Rupert Wood
  2001-11-16 12:13 ` Claudio Bley
  1 sibling, 0 replies; 3+ messages in thread
From: Rupert Wood @ 2001-11-16 10:27 UTC (permalink / raw)
  To: kabir.patel; +Cc: gcc-help

Kabir Patel wrote:	

> I initially had a make.exe file in /usr/ccs/bin/ that must have come
> into existence during my SUNWspro installation.

I think it was from another package (it's on the system install media
not the compiler install) but yes.

> Now, I was under the impression that if I ran the ./configure file a
> new make.exe file would be generated. Is that right?

Sort of. configure usually generates makefiles; you need to run
/usr/ccs/bin/make on that makefile to build the GNU make. Go to the
directory with the makefile in it (should be the same one if you ran
'./configure') and type '/usr/ccs/bin/make'.

Once you've done that, you can either manually copy the new binary out
of that directory to somewhere in your path, or you can use './make
install' to automatically install the binary, support files and
documentation in /usr/local/bin, /usr/local/lib and /usr/local/man, etc.
If you want to install them somewhere else then you can use the
'--prefix' option on the configure line as before.

If building breaks mentioning 'i18n' then you need to reconfigure
'--disable-nls'. I don't think this is necessary on Solaris, though.

If you'd like to keep the Sun and GNU makes with separate names,
reconfigure '--program-prefix=g'. The GNU make will then install with
the name 'gmake'.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Makefile question
  2001-11-16  7:55 Makefile question kabir.patel
  2001-11-16 10:27 ` Rupert Wood
@ 2001-11-16 12:13 ` Claudio Bley
  1 sibling, 0 replies; 3+ messages in thread
From: Claudio Bley @ 2001-11-16 12:13 UTC (permalink / raw)
  To: kabir.patel; +Cc: gcc-help

>>>>> "kabir" == kabir patel <kabir.patel@uk.andersen.com> writes:

    kabir> As you are probably aware I don't know much about C
    kabir> installation, so here's another straightforward question:

    kabir> I initially had a make.exe file in /usr/ccs/bin/ that must
    kabir> have come into existence during my SUNWspro installation.

What do you mean by 'had' -- did you removed it?

    kabir> I want to generate a new make.exe file, using the gnu
    kabir> source files. I downloaded them onto my Solaris machine.

    kabir> Now, I was under the impression that if I ran the
    kabir> ./configure file a new make.exe file would be generated. Is
    kabir> that right?

No. configure configures the source tree - just as the name suggests.

    kabir> I have run the script and it doesn't generate a new
    kabir> make.exe file (though it generates a Makefile in ..glob/.

    kabir> How do I generate a make.exe file, if the above is not the
    kabir> right way.

PLEASE, read the installation instructions! They are indeed straight
forward and not hard to find. Usually every project has a INSTALL file
in the source tree, these are the installation instructions. Also, you
should find a README file in the top level source dir -- well, *read*
it as it may contain important information! 

The usual steps to configure, build and install a package are:

./configure
make
make install

You need a make program in order to build packages. Either your
installed version will do or you'll need to download a precompiled
(binary) version of make.

Btw, what OS are you using? Anyway, I'm pretty sure you'd find a
binary package for your host on the internet.

    kabir> Thanks Kabir

HTH
Claudio

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-23 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-16  7:55 Makefile question kabir.patel
2001-11-16 10:27 ` Rupert Wood
2001-11-16 12:13 ` Claudio Bley

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).